gnome-shell-extensions-vl.spec 12 KB

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