gnome-shell-extensions-vl.spec 11 KB

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