gnome-shell-extensions-vl.spec 10 KB

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