gnome-shell-extensions-vl.spec 15 KB

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