gnome-shell-extensions-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. Name: gnome-shell-extensions
  2. Version: 3.1.4
  3. Release: 1%{?_dist_release}
  4. Summary: Modify and extend GNOME Shell functionality and behavior
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://live.gnome.org/GnomeShell/Extensions
  8. Source0: gnome-shell-extensions-%{version}.tar.xz
  9. BuildRequires: gnome-common
  10. BuildRequires: intltool
  11. BuildRequires: glib2-devel
  12. Requires: gnome-shell >= 3.1.4
  13. BuildArch: noarch
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. GNOME Shell Extensions is a collection of extensions providing additional
  19. and optional functionality to GNOME Shell.
  20. Enabled extensions:
  21. * alternate-tab
  22. * alternative-status-menu
  23. * dock
  24. * windowsNavigator
  25. * user-theme
  26. * auto-move-windows
  27. * drive-menu
  28. * places-menu
  29. * native-window-placement
  30. # TODO: uncomment when enabling systemMonitor
  31. # * systemMonitor
  32. %package common
  33. Summary: Files common to GNOME Shell Extensions
  34. Group: User Interface/Desktops
  35. License: GPLv2+
  36. %description common
  37. GNOME Shell Extensions is a collection of extensions providing additional
  38. and optional functionality to GNOME Shell. Common files and directories
  39. needed by extensions are provided here.
  40. %package alternate-tab
  41. Summary: Classic Alt+Tab behavior. Window based instead of app based
  42. Group: User Interface/Desktops
  43. License: GPLv2+
  44. Requires: %{name}-common = %{version}-%{release}
  45. %description alternate-tab
  46. Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell.
  47. GNOME Shell groups multiple instances of the same application together.
  48. This extension disables grouping.
  49. %package alternative-status-menu
  50. Summary: For those who want a power off item visible at all the time
  51. Group: User Interface/Desktops
  52. License: GPLv2+
  53. Requires: %{name}-common = %{version}-%{release}
  54. %description alternative-status-menu
  55. For those who want a power off item visible at all the time, replaces
  56. GNOME Shell status menu with one featuring separate Suspend and Power Off.
  57. Adds the ability to hibernate as well.
  58. %package dock
  59. Summary: Shows a dock-style task switcher permanently
  60. Group: User Interface/Desktops
  61. License: GPLv2+
  62. Requires: %{name}-common = %{version}-%{release}
  63. %description dock
  64. Shows a dock-style task switcher on the right side of the screen permanently.
  65. %package windowsNavigator
  66. Summary: Keyboard selection of windows and work-spaces in overlay mode
  67. Group: User Interface/Desktops
  68. License: GPLv2+
  69. Requires: %{name}-common = %{version}-%{release}
  70. %description windowsNavigator
  71. Allow keyboard selection of windows and work-spaces in overlay mode in
  72. GNOME Shell. Switch to overview mode (press the windows or alt+f1 key) and
  73. press the alt key to show numbers over windows. Press any number to switch
  74. to the corresponding window.
  75. %package user-theme
  76. Summary: Lets the user select a custom theme for the shell
  77. Group: User Interface/Desktops
  78. License: GPLv2+
  79. Requires: %{name}-common = %{version}-%{release}
  80. %description user-theme
  81. Lets the user select a custom theme for the Gnome shell. It will allow you to
  82. apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
  83. %package auto-move-windows
  84. Summary: Assign specific workspaces to applications
  85. Group: User Interface/Desktops
  86. License: GPLv2+
  87. Requires: %{name}-common = %{version}-%{release}
  88. %description auto-move-windows
  89. Lets you manage your workspaces more easily, assigning a specific workspace to
  90. each application as soon as it creates a window, in a manner configurable with a
  91. GSettings key.
  92. %package drive-menu
  93. Summary: Disk device manager in the system status area
  94. Group: User Interface/Desktops
  95. License: GPLv2+
  96. Requires: %{name}-common = %{version}-%{release}
  97. %description drive-menu
  98. Adds a menu in the system status area that tracks removable disk devices
  99. attached and offers to browse them and eject/unmount them.
  100. %package places-menu
  101. Summary: Places menu indicator in the system status area
  102. Group: User Interface/Desktops
  103. License: GPLv2+
  104. Requires: %{name}-common = %{version}-%{release}
  105. %description places-menu
  106. Adds a menu in the system status area that resembles the Places menu from
  107. GNOME 2.x
  108. %package native-window-placement
  109. Summary: Arrange windows in overview in a more native way
  110. Group: User Interface/Desktops
  111. License: GPLv2+
  112. Requires: %{name}-common = %{version}-%{release}
  113. %description native-window-placement
  114. This extension employs an algorithm (taken from KDE) for layouting the
  115. thumbnails in the overview that more closely reflects the positions and relative
  116. sizes of the actual windows, instead of using a fixed grid.
  117. # TODO: uncomment when enabling systemMonitor
  118. #%package systemMonitor
  119. #Summary: Monitor your system status
  120. #Group: User Interface/Desktops
  121. #License: GPLv2+
  122. #Requires: %{name}-common = %{version}-%{release}
  123. #
  124. #%description systemMonitor
  125. #Monitor your system status
  126. %prep
  127. %setup -q
  128. %build
  129. # since we build from a git checkout
  130. [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
  131. # TODO: once libgtop2 >= 2.28.4 is available, enable systemMonitor extension
  132. # TODO: once gjs >= 0.7.15 is available, enable xrand-indicator extension
  133. %configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu places-menu native-window-placement"
  134. make %{?_smp_mflags}
  135. %install
  136. rm -rf $RPM_BUILD_ROOT
  137. make install DESTDIR=$RPM_BUILD_ROOT
  138. %find_lang %{name}
  139. %files common -f %{name}.lang
  140. %defattr(-,root,root,-)
  141. %doc README
  142. %dir %{_datadir}/gnome-shell/extensions/
  143. %files alternate-tab
  144. %defattr(-,root,root,-)
  145. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternate-tab.gschema.xml
  146. %{_datadir}/gnome-shell/extensions/alternate-tab*
  147. %files alternative-status-menu
  148. %defattr(-,root,root,-)
  149. %{_datadir}/gnome-shell/extensions/alternative-status-menu*
  150. %files dock
  151. %defattr(-,root,root,-)
  152. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml
  153. %{_datadir}/gnome-shell/extensions/dock*
  154. %files windowsNavigator
  155. %defattr(-,root,root,-)
  156. %{_datadir}/gnome-shell/extensions/windowsNavigator*
  157. %files user-theme
  158. %defattr(-,root,root,-)
  159. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
  160. %{_datadir}/gnome-shell/extensions/user-theme*
  161. %files auto-move-windows
  162. %defattr(-,root,root,-)
  163. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  164. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  165. %files drive-menu
  166. %defattr(-,root,root,-)
  167. %{_datadir}/gnome-shell/extensions/drive-menu*
  168. %files places-menu
  169. %defattr(-,root,root,-)
  170. %{_datadir}/gnome-shell/extensions/places-menu*
  171. %files places-menu
  172. %defattr(-,root,root,-)
  173. %{_datadir}/gnome-shell/extensions/places-menu*
  174. %files auto-move-windows
  175. %defattr(-,root,root,-)
  176. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  177. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  178. %files native-window-placement
  179. %defattr(-,root,root,-)
  180. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
  181. %{_datadir}/gnome-shell/extensions/native-window-placement*
  182. # TODO: uncomment when enabling systemMonitor
  183. #%files systemMonitor
  184. #%defattr(-,root,root,-)
  185. #%{_datadir}/gnome-shell/extensions/systemMonitor*
  186. %posttrans user-theme
  187. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  188. %postun user-theme
  189. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  190. %posttrans auto-move-windows
  191. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  192. %postun auto-move-windows
  193. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  194. %posttrans native-window-placement
  195. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  196. %postun native-window-placement
  197. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  198. %posttrans dock
  199. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  200. %postun dock
  201. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  202. %posttrans alternate-tab
  203. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  204. %postun alternate-tab
  205. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  206. %changelog
  207. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  208. - initial build for Vine Linux