gnome-shell-extensions-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. Name: gnome-shell-extensions
  2. Version: 3.1.4
  3. Release: 4%{?_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-git20110908.patch
  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.1.91
  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. * dock
  27. * windowsNavigator
  28. * user-theme
  29. * auto-move-windows
  30. * drive-menu
  31. * places-menu
  32. * native-window-placement
  33. * workspace-indicator
  34. * xrandr-indicator
  35. * apps-menu
  36. * systemMonitor
  37. %package common
  38. Summary: Files common to GNOME Shell Extensions
  39. Group: User Interface/Desktops
  40. License: GPLv2+
  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 dock
  64. Summary: Shows a dock-style task switcher permanently
  65. Group: User Interface/Desktops
  66. License: GPLv2+
  67. Requires: %{name}-common = %{version}-%{release}
  68. %description dock
  69. Shows a dock-style task switcher on the right side of the screen permanently.
  70. %package windowsNavigator
  71. Summary: Keyboard selection of windows and work-spaces in overlay mode
  72. Group: User Interface/Desktops
  73. License: GPLv2+
  74. Requires: %{name}-common = %{version}-%{release}
  75. %description windowsNavigator
  76. Allow keyboard selection of windows and work-spaces in overlay mode in
  77. GNOME Shell. Switch to overview mode (press the windows or alt+f1 key) and
  78. press the alt key to show numbers over windows. Press any number to switch
  79. to the corresponding window.
  80. %package user-theme
  81. Summary: Lets the user select a custom theme for the shell
  82. Group: User Interface/Desktops
  83. License: GPLv2+
  84. Requires: %{name}-common = %{version}-%{release}
  85. %description user-theme
  86. Lets the user select a custom theme for the Gnome shell. It will allow you to
  87. apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
  88. %package auto-move-windows
  89. Summary: Assign specific workspaces to applications
  90. Group: User Interface/Desktops
  91. License: GPLv2+
  92. Requires: %{name}-common = %{version}-%{release}
  93. %description auto-move-windows
  94. Lets you manage your workspaces more easily, assigning a specific workspace to
  95. each application as soon as it creates a window, in a manner configurable with a
  96. GSettings key.
  97. %package drive-menu
  98. Summary: Disk device manager in the system status area
  99. Group: User Interface/Desktops
  100. License: GPLv2+
  101. Requires: %{name}-common = %{version}-%{release}
  102. %description drive-menu
  103. Adds a menu in the system status area that tracks removable disk devices
  104. attached and offers to browse them and eject/unmount them.
  105. %package places-menu
  106. Summary: Places menu indicator in the system status area
  107. Group: User Interface/Desktops
  108. License: GPLv2+
  109. Requires: %{name}-common = %{version}-%{release}
  110. %description places-menu
  111. Adds a menu in the system status area that resembles the Places menu from
  112. GNOME 2.x
  113. %package native-window-placement
  114. Summary: Arrange windows in overview in a more native way
  115. Group: User Interface/Desktops
  116. License: GPLv2+
  117. Requires: %{name}-common = %{version}-%{release}
  118. %description native-window-placement
  119. This extension employs an algorithm (taken from KDE) for layouting the
  120. thumbnails in the overview that more closely reflects the positions and relative
  121. sizes of the actual windows, instead of using a fixed grid.
  122. %package workspace-indicator
  123. Summary: Workspace indicator in the system status area
  124. Group: User Interface/Desktops
  125. License: GPLv2+
  126. Requires: %{name}-common = %{version}-%{release}
  127. %description workspace-indicator
  128. Adds a workspace indicator in the system status area.
  129. %package apps-menu
  130. Summary: Application menu in the system status area
  131. Group: User Interface/Desktops
  132. License: GPLv2+
  133. Requires: %{name}-common = %{version}-%{release}
  134. %description apps-menu
  135. Adds an application menu in top bar
  136. %package xrandr-indicator
  137. Summary: Xrandr indicator in the system statys area
  138. Group: User Interface/Desktops
  139. License: GPLv2+
  140. Requires: %{name}-common = %{version}-%{release}
  141. %description xrandr-indicator
  142. Replace the GTK+ based indicator from gnome-settings-daemon with
  143. a native one. Lets the user rotate the laptop monitor and open
  144. display preferences quickly.
  145. %package systemMonitor
  146. Summary: Monitor your system status
  147. Group: User Interface/Desktops
  148. License: GPLv2+
  149. Requires: %{name}-common = %{version}-%{release}
  150. %description systemMonitor
  151. An message tray indicator showing CPU and memory loads.
  152. %prep
  153. %setup -q
  154. %patch0 -p1
  155. # make g-s-e work with g-s 3.1.91.1
  156. sed -i "s|3.1.91|3.1.92|g" configure.ac
  157. %build
  158. # since we build from a git checkout
  159. [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
  160. # TODO: once libgtop2 >= 2.28.4 is available, enable systemMonitor extension
  161. # TODO: once gjs >= 0.7.15 is available, enable xrand-indicator extension
  162. %configure \
  163. --enable-extensions="alternate-tab \
  164. alternative-status-menu \
  165. apps-menu \
  166. dock \
  167. windowsNavigator \
  168. user-theme \
  169. auto-move-windows \
  170. drive-menu \
  171. places-menu \
  172. native-window-placement \
  173. workspace-indicator \
  174. xrandr-indicator
  175. systemMonitor"
  176. make %{?_smp_mflags}
  177. %install
  178. rm -rf $RPM_BUILD_ROOT
  179. make install DESTDIR=$RPM_BUILD_ROOT
  180. %find_lang %{name}
  181. %files common -f %{name}.lang
  182. %defattr(-,root,root,-)
  183. %doc README
  184. %dir %{_datadir}/gnome-shell/extensions/
  185. %files alternate-tab
  186. %defattr(-,root,root,-)
  187. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternate-tab.gschema.xml
  188. %{_datadir}/gnome-shell/extensions/alternate-tab*
  189. %files alternative-status-menu
  190. %defattr(-,root,root,-)
  191. %{_datadir}/gnome-shell/extensions/alternative-status-menu*
  192. %files dock
  193. %defattr(-,root,root,-)
  194. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml
  195. %{_datadir}/gnome-shell/extensions/dock*
  196. %files windowsNavigator
  197. %defattr(-,root,root,-)
  198. %{_datadir}/gnome-shell/extensions/windowsNavigator*
  199. %files user-theme
  200. %defattr(-,root,root,-)
  201. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
  202. %{_datadir}/gnome-shell/extensions/user-theme*
  203. %files auto-move-windows
  204. %defattr(-,root,root,-)
  205. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  206. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  207. %files drive-menu
  208. %defattr(-,root,root,-)
  209. %{_datadir}/gnome-shell/extensions/drive-menu*
  210. %files places-menu
  211. %defattr(-,root,root,-)
  212. %{_datadir}/gnome-shell/extensions/places-menu*
  213. %files places-menu
  214. %defattr(-,root,root,-)
  215. %{_datadir}/gnome-shell/extensions/places-menu*
  216. %files auto-move-windows
  217. %defattr(-,root,root,-)
  218. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  219. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  220. %files native-window-placement
  221. %defattr(-,root,root,-)
  222. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
  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. %posttrans auto-move-windows
  241. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  242. %postun auto-move-windows
  243. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  244. %posttrans native-window-placement
  245. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  246. %postun native-window-placement
  247. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  248. %posttrans dock
  249. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  250. %postun dock
  251. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  252. %posttrans alternate-tab
  253. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  254. %postun alternate-tab
  255. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  256. %changelog
  257. * Mon Sep 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-4
  258. - update Patch0 (gnome-shell-extensions-3.1.4-git20110908.patch)
  259. - add BuildRequires: gnome-desktop3-devel, libgtop2-devel
  260. * Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
  261. - update patch0 to udpate to 3.1.90
  262. - add xrandr-indicator, systemMonitor
  263. - R: gnome-shell >= 3.1.90
  264. * Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
  265. - add Patch0 to update git master
  266. - add workspace-indicator, apps-menu
  267. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  268. - initial build for Vine Linux