gnome-shell-extensions-vl.spec 10 KB

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