gnome-shell-extensions-vl.spec 11 KB

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