gnome-shell-extensions-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. Name: gnome-shell-extensions
  2. Version: 3.18.3
  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. * user-theme
  34. * window-list
  35. * windowsNavigator
  36. * workspace-indicator
  37. %package common
  38. Summary: Files common to GNOME Shell Extensions
  39. Group: User Interface/Desktops
  40. License: GPLv2+
  41. Obsoletes: %{name}-dock < 3.8.0
  42. Obsoletes: %{name}-alternative-status-menu < 3.10.0
  43. Obsoletes: %{name}-xrandr-indicator < 3.10.0
  44. Obsoletes: %{name}-systemMonitor < 3.16.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 screenshot-window-sizer
  162. Summary: Resize windows for GNOME Software screenshots
  163. Group: User Interface/Desktops
  164. License: GPLv2+
  165. Requires: %{name}-common = %{version}-%{release}
  166. %description screenshot-window-sizer
  167. %{summary}
  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. %find_lang %{name}
  184. %files common -f %{name}.lang
  185. %defattr(-,root,root,-)
  186. %doc README
  187. %dir %{_datadir}/gnome-shell/extensions/
  188. %files -n gnome-classic-session
  189. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
  190. %{_datadir}/gnome-session/sessions/gnome-classic.session
  191. %{_datadir}/gnome-shell/modes/classic.json
  192. %{_datadir}/gnome-shell/theme/*.svg
  193. %{_datadir}/gnome-shell/theme/gnome-classic.css
  194. %{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
  195. %{_datadir}/xsessions/gnome-classic.desktop
  196. %files alternate-tab
  197. %defattr(-,root,root,-)
  198. %{_datadir}/gnome-shell/extensions/alternate-tab*
  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 drive-menu
  207. %defattr(-,root,root,-)
  208. %{_datadir}/gnome-shell/extensions/drive-menu*
  209. %files launch-new-instance
  210. %{_datadir}/gnome-shell/extensions/launch-new-instance*/
  211. %files places-menu
  212. %defattr(-,root,root,-)
  213. %{_datadir}/gnome-shell/extensions/places-menu*
  214. %files window-list
  215. %{_datadir}/gnome-shell/extensions/window-list*/
  216. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
  217. %files auto-move-windows
  218. %defattr(-,root,root,-)
  219. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  220. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  221. %files native-window-placement
  222. %defattr(-,root,root,-)
  223. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
  224. %{_datadir}/gnome-shell/extensions/native-window-placement*
  225. %files workspace-indicator
  226. %defattr(-,root,root,-)
  227. %{_datadir}/gnome-shell/extensions/workspace-indicator*
  228. %files apps-menu
  229. %defattr(-,root,root,-)
  230. %{_datadir}/gnome-shell/extensions/apps-menu*
  231. %files screenshot-window-sizer
  232. %defattr(-,root,root,-)
  233. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
  234. %{_datadir}/gnome-shell/extensions/screenshot-window-sizer*
  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. %posttrans screenshot-window-sizer
  248. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  249. %postun user-theme
  250. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  251. %postun alternate-tab
  252. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  253. %postun auto-move-windows
  254. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  255. %postun native-window-placement
  256. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  257. %postun window-list
  258. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  259. %postun -n gnome-classic-session
  260. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  261. %postun screenshot-window-sizer
  262. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  263. %changelog
  264. * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.3-1
  265. - new upstream release
  266. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  267. - new upstream release
  268. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  269. - new upstream release
  270. * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  271. - new upstream release
  272. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  273. - new upstream release
  274. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  275. - new upstream release
  276. - remove systemMonitor subpackage
  277. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  278. - new upstream release
  279. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  280. - new upstream release
  281. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  282. - new upstream release
  283. - add screenshot-window-sizer
  284. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  285. - new upstream release
  286. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  287. - new upstream release
  288. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  289. - rebuild with VineSeed environment
  290. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  291. - new upstream release
  292. - remove alternative-status-menu,xrandr-indicator subpackages
  293. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3.1-1
  294. - new upstream release
  295. * Mon Jun 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  296. - new upstream release
  297. - remove defualt-min-max and static-workspaces
  298. * Mon Jun 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.2-2
  299. - add gnome-classic-session, default-min-max, static-workspaces
  300. and window-list.
  301. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  302. - new upstream release
  303. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  304. - new upstream release
  305. - remove Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
  306. - remove %%{Name}-dock subpackage
  307. * Thu Nov 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  308. - new upstream release
  309. - add Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
  310. * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.91-1
  311. - new upstream release
  312. - remove Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
  313. * Wed May 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
  314. - add Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
  315. * Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  316. - new upstream release
  317. - remove Patch0,1
  318. - remove Source1
  319. * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  320. - update to 3.2.3
  321. - remove old Patches
  322. - add Patch0 (gnome-shell-extensions-3.2.3-dock.patch)
  323. - add Patch1 (gnome-shell-extensions-3.2.3-revert-reference-to-localedir.patch)
  324. - add Source1 (gnome-shell-extensions.gnome-3-2.20111216.ja.po)
  325. * Sat Nov 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  326. - update to 3.2.1
  327. - add Patch0 (gnome-shell-extensions-git20111119.patch)
  328. - add Patch1 (gnome-shell-extensions-3.2.1-alternative-status-menu.patch)
  329. * Tue Oct 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
  330. - update to 3.2.0
  331. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-5
  332. - rebuild with gnome-shell-3.2.0
  333. * Mon Sep 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-4
  334. - update Patch0 (gnome-shell-extensions-3.1.4-git20110908.patch)
  335. - add BuildRequires: gnome-desktop3-devel, libgtop2-devel
  336. * Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
  337. - update to 3.1.90 from git master (patch0)
  338. - add xrandr-indicator, systemMonitor
  339. - R: gnome-shell >= 3.1.90
  340. * Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
  341. - add Patch0 to update git master
  342. - add workspace-indicator, apps-menu
  343. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  344. - initial build for Vine Linux