gnome-shell-extensions-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. Name: gnome-shell-extensions
  2. Version: 3.12.0
  3. Release: 1%{?_dist_release}
  4. Summary: Modify and extend GNOME Shell functionality and behavior
  5. Summary(ja): GNOME Shell の機能や振る舞いを変更・拡張する
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://live.gnome.org/GnomeShell/Extensions
  9. # git archive --format=tar --prefix=gnome-shell-extensions-%{version}/ %{version} | xz > ../gnome-shell-extensions-%{version}.tar.xz
  10. Source0: gnome-shell-extensions-%{version}.tar.xz
  11. BuildRequires: gnome-common
  12. BuildRequires: intltool
  13. BuildRequires: glib2-devel
  14. BuildRequires: gnome-desktop3-devel
  15. BuildRequires: libgtop2-devel
  16. BuildRequires: desktop-file-utils
  17. Requires: gnome-shell >= 3.12.0
  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. * apps-menu
  28. * auto-move-windows
  29. * drive-menu
  30. * launch-new-instance
  31. * native-window-placement
  32. * places-menu
  33. * systemMonitor
  34. * user-theme
  35. * window-list
  36. * windowsNavigator
  37. * workspace-indicator
  38. %package common
  39. Summary: Files common to GNOME Shell Extensions
  40. Group: User Interface/Desktops
  41. License: GPLv2+
  42. Obsoletes: %{name}-dock < 3.8.0
  43. Obsoletes: %{name}-alternative-status-menu < 3.10.0
  44. Obsoletes: %{name}-xrandr-indicator < 3.10.0
  45. %description common
  46. GNOME Shell Extensions is a collection of extensions providing additional
  47. and optional functionality to GNOME Shell. Common files and directories
  48. needed by extensions are provided here.
  49. %package -n gnome-classic-session
  50. Summary: GNOME "classic" mode session
  51. Summary(ja): GNOME クラシックモードセッション
  52. Group: User Interface/Desktops
  53. License: GPLv2+
  54. Requires: %{name}-alternate-tab = %{version}-%{release}
  55. Requires: %{name}-apps-menu = %{version}-%{release}
  56. Requires: %{name}-launch-new-instance = %{version}-%{release}
  57. Requires: %{name}-places-menu = %{version}-%{release}
  58. Requires: %{name}-window-list = %{version}-%{release}
  59. # Obsolete fallback mode components
  60. Obsoletes: gnome-applets < 3.5.93
  61. %global gnome_panel_obsolete_ver 3.6.3
  62. Obsoletes: gnome-panel < %{gnome_panel_obsolete_ver}
  63. Obsoletes: gnome-panel-devel < %{gnome_panel_obsolete_ver}
  64. Obsoletes: gnome-panel-libs < %{gnome_panel_obsolete_ver}
  65. Obsoletes: %{name}-default-min-max < 3.8.3
  66. Obsoletes: %{name}-static-workspaces < 3.8.3
  67. %description -n gnome-classic-session
  68. This package contains the required components for the GNOME Shell
  69. "classic" mode, which aims to provide a GNOME 2-like user interface.
  70. %package alternate-tab
  71. Summary: Classic Alt+Tab behavior. Window based instead of app based
  72. Group: User Interface/Desktops
  73. License: GPLv2+
  74. Requires: %{name}-common = %{version}-%{release}
  75. %description alternate-tab
  76. Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell.
  77. GNOME Shell groups multiple instances of the same application together.
  78. This extension disables grouping.
  79. %package windowsNavigator
  80. Summary: Keyboard selection of windows and work-spaces in overlay mode
  81. Group: User Interface/Desktops
  82. License: GPLv2+
  83. Requires: %{name}-common = %{version}-%{release}
  84. %description windowsNavigator
  85. Allow keyboard selection of windows and work-spaces in overlay mode in
  86. GNOME Shell. Switch to overview mode (press the windows or alt+f1 key) and
  87. press the alt key to show numbers over windows. Press any number to switch
  88. to the corresponding window.
  89. %package user-theme
  90. Summary: Lets the user select a custom theme for the shell
  91. Group: User Interface/Desktops
  92. License: GPLv2+
  93. Requires: %{name}-common = %{version}-%{release}
  94. %description user-theme
  95. Lets the user select a custom theme for the Gnome shell. It will allow you to
  96. apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
  97. %package window-list
  98. Summary: Display a window list at the bottom of the screen in GNOME Shell
  99. Group: User Interface/Desktops
  100. License: GPLv2+
  101. Requires: %{name}-common = %{version}-%{release}
  102. %description window-list
  103. This GNOME Shell extension displays a window list at the bottom of the
  104. screen.
  105. %package auto-move-windows
  106. Summary: Assign specific workspaces to applications
  107. Group: User Interface/Desktops
  108. License: GPLv2+
  109. Requires: %{name}-common = %{version}-%{release}
  110. %description auto-move-windows
  111. Lets you manage your workspaces more easily, assigning a specific workspace to
  112. each application as soon as it creates a window, in a manner configurable with a
  113. GSettings key.
  114. %package drive-menu
  115. Summary: Disk device manager in the system status area
  116. Group: User Interface/Desktops
  117. License: GPLv2+
  118. Requires: %{name}-common = %{version}-%{release}
  119. %description drive-menu
  120. Adds a menu in the system status area that tracks removable disk devices
  121. attached and offers to browse them and eject/unmount them.
  122. %package launch-new-instance
  123. Summary: Always launch a new application instance for GNOME Shell
  124. Group: User Interface/Desktops
  125. License: GPLv2+
  126. Requires: %{name}-common = %{version}-%{release}
  127. %description launch-new-instance
  128. This GNOME Shell extension modifies the behavior of clicking in the
  129. dash and app launcher to always launch a new application instance.
  130. %package places-menu
  131. Summary: Places menu indicator in the system status area
  132. Group: User Interface/Desktops
  133. License: GPLv2+
  134. Requires: %{name}-common = %{version}-%{release}
  135. %description places-menu
  136. Adds a menu in the system status area that resembles the Places menu from
  137. GNOME 2.x
  138. %package native-window-placement
  139. Summary: Arrange windows in overview in a more native way
  140. Group: User Interface/Desktops
  141. License: GPLv2+
  142. Requires: %{name}-common = %{version}-%{release}
  143. %description native-window-placement
  144. This extension employs an algorithm (taken from KDE) for layouting the
  145. thumbnails in the overview that more closely reflects the positions and relative
  146. sizes of the actual windows, instead of using a fixed grid.
  147. %package workspace-indicator
  148. Summary: Workspace indicator in the system status area
  149. Group: User Interface/Desktops
  150. License: GPLv2+
  151. Requires: %{name}-common = %{version}-%{release}
  152. %description workspace-indicator
  153. Adds a workspace indicator in the system status area.
  154. %package apps-menu
  155. Summary: Application menu in the system status area
  156. Group: User Interface/Desktops
  157. License: GPLv2+
  158. Requires: %{name}-common = %{version}-%{release}
  159. %description apps-menu
  160. Adds an application menu in top bar
  161. %package systemMonitor
  162. Summary: Monitor your system status
  163. Group: User Interface/Desktops
  164. License: GPLv2+
  165. Requires: %{name}-common = %{version}-%{release}
  166. %description systemMonitor
  167. An message tray indicator showing CPU and memory loads.
  168. %prep
  169. %setup -q
  170. ## make g-s-e work with g-s 3.6.x
  171. #sed -i "s|3.5.91|3.6|g" configure.ac
  172. %build
  173. # since we build from a git checkout
  174. [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
  175. %configure --enable-extensions="all"
  176. make %{?_smp_mflags}
  177. %install
  178. rm -rf $RPM_BUILD_ROOT
  179. make install DESTDIR=$RPM_BUILD_ROOT
  180. # Drop useless example extension
  181. rm -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*/
  182. rm $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
  183. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-shell-classic.desktop
  184. %find_lang %{name}
  185. %files common -f %{name}.lang
  186. %defattr(-,root,root,-)
  187. %doc README
  188. %dir %{_datadir}/gnome-shell/extensions/
  189. %files -n gnome-classic-session
  190. %{_datadir}/applications/gnome-shell-classic.desktop
  191. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
  192. %{_datadir}/gnome-session/sessions/gnome-classic.session
  193. %{_datadir}/gnome-shell/modes/classic.json
  194. %{_datadir}/gnome-shell/theme/*.svg
  195. %{_datadir}/gnome-shell/theme/gnome-classic.css
  196. %{_datadir}/xsessions/gnome-classic.desktop
  197. %files alternate-tab
  198. %defattr(-,root,root,-)
  199. %{_datadir}/gnome-shell/extensions/alternate-tab*
  200. %files windowsNavigator
  201. %defattr(-,root,root,-)
  202. %{_datadir}/gnome-shell/extensions/windowsNavigator*
  203. %files user-theme
  204. %defattr(-,root,root,-)
  205. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
  206. %{_datadir}/gnome-shell/extensions/user-theme*
  207. %files drive-menu
  208. %defattr(-,root,root,-)
  209. %{_datadir}/gnome-shell/extensions/drive-menu*
  210. %files launch-new-instance
  211. %{_datadir}/gnome-shell/extensions/launch-new-instance*/
  212. %files places-menu
  213. %defattr(-,root,root,-)
  214. %{_datadir}/gnome-shell/extensions/places-menu*
  215. %files window-list
  216. %{_datadir}/gnome-shell/extensions/window-list*/
  217. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
  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 systemMonitor
  233. %defattr(-,root,root,-)
  234. %{_datadir}/gnome-shell/extensions/systemMonitor*
  235. %posttrans user-theme
  236. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  237. %posttrans alternate-tab
  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. %posttrans window-list
  244. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  245. %posttrans -n gnome-classic-session
  246. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  247. %postun user-theme
  248. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  249. %postun alternate-tab
  250. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  251. %postun auto-move-windows
  252. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  253. %postun native-window-placement
  254. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  255. %postun window-list
  256. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  257. %postun -n gnome-classic-session
  258. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  259. %changelog
  260. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  261. - new upstream release
  262. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  263. - rebuild with VineSeed environment
  264. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  265. - new upstream release
  266. - remove alternative-status-menu,xrandr-indicator subpackages
  267. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3.1-1
  268. - new upstream release
  269. * Mon Jun 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  270. - new upstream release
  271. - remove defualt-min-max and static-workspaces
  272. * Mon Jun 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.2-2
  273. - add gnome-classic-session, default-min-max, static-workspaces
  274. and window-list.
  275. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  276. - new upstream release
  277. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  278. - new upstream release
  279. - remove Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
  280. - remove %%{Name}-dock subpackage
  281. * Thu Nov 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  282. - new upstream release
  283. - add Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
  284. * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.91-1
  285. - new upstream release
  286. - remove Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
  287. * Wed May 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
  288. - add Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
  289. * Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  290. - new upstream release
  291. - remove Patch0,1
  292. - remove Source1
  293. * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  294. - update to 3.2.3
  295. - remove old Patches
  296. - add Patch0 (gnome-shell-extensions-3.2.3-dock.patch)
  297. - add Patch1 (gnome-shell-extensions-3.2.3-revert-reference-to-localedir.patch)
  298. - add Source1 (gnome-shell-extensions.gnome-3-2.20111216.ja.po)
  299. * Sat Nov 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  300. - update to 3.2.1
  301. - add Patch0 (gnome-shell-extensions-git20111119.patch)
  302. - add Patch1 (gnome-shell-extensions-3.2.1-alternative-status-menu.patch)
  303. * Tue Oct 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
  304. - update to 3.2.0
  305. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-5
  306. - rebuild with gnome-shell-3.2.0
  307. * Mon Sep 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-4
  308. - update Patch0 (gnome-shell-extensions-3.1.4-git20110908.patch)
  309. - add BuildRequires: gnome-desktop3-devel, libgtop2-devel
  310. * Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
  311. - update to 3.1.90 from git master (patch0)
  312. - add xrandr-indicator, systemMonitor
  313. - R: gnome-shell >= 3.1.90
  314. * Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
  315. - add Patch0 to update git master
  316. - add workspace-indicator, apps-menu
  317. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  318. - initial build for Vine Linux