gnome-shell-extensions-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. Name: gnome-shell-extensions
  2. Version: 3.14.2
  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. %package screenshot-window-sizer
  169. Summary: Resize windows for GNOME Software screenshots
  170. Group: User Interface/Desktops
  171. License: GPLv2+
  172. Requires: %{name}-common = %{version}-%{release}
  173. %description screenshot-window-sizer
  174. %{summary}
  175. %prep
  176. %setup -q
  177. ## make g-s-e work with g-s 3.6.x
  178. #sed -i "s|3.5.91|3.6|g" configure.ac
  179. %build
  180. # since we build from a git checkout
  181. [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
  182. %configure --enable-extensions="all"
  183. make %{?_smp_mflags}
  184. %install
  185. rm -rf $RPM_BUILD_ROOT
  186. make install DESTDIR=$RPM_BUILD_ROOT
  187. # Drop useless example extension
  188. rm -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*/
  189. rm $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
  190. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-shell-classic.desktop
  191. %find_lang %{name}
  192. %files common -f %{name}.lang
  193. %defattr(-,root,root,-)
  194. %doc README
  195. %dir %{_datadir}/gnome-shell/extensions/
  196. %files -n gnome-classic-session
  197. %{_datadir}/applications/gnome-shell-classic.desktop
  198. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
  199. %{_datadir}/gnome-session/sessions/gnome-classic.session
  200. %{_datadir}/gnome-shell/modes/classic.json
  201. %{_datadir}/gnome-shell/theme/*.svg
  202. %{_datadir}/gnome-shell/theme/gnome-classic.css
  203. %{_datadir}/xsessions/gnome-classic.desktop
  204. %files alternate-tab
  205. %defattr(-,root,root,-)
  206. %{_datadir}/gnome-shell/extensions/alternate-tab*
  207. %files windowsNavigator
  208. %defattr(-,root,root,-)
  209. %{_datadir}/gnome-shell/extensions/windowsNavigator*
  210. %files user-theme
  211. %defattr(-,root,root,-)
  212. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
  213. %{_datadir}/gnome-shell/extensions/user-theme*
  214. %files drive-menu
  215. %defattr(-,root,root,-)
  216. %{_datadir}/gnome-shell/extensions/drive-menu*
  217. %files launch-new-instance
  218. %{_datadir}/gnome-shell/extensions/launch-new-instance*/
  219. %files places-menu
  220. %defattr(-,root,root,-)
  221. %{_datadir}/gnome-shell/extensions/places-menu*
  222. %files window-list
  223. %{_datadir}/gnome-shell/extensions/window-list*/
  224. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
  225. %files auto-move-windows
  226. %defattr(-,root,root,-)
  227. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  228. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  229. %files native-window-placement
  230. %defattr(-,root,root,-)
  231. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
  232. %{_datadir}/gnome-shell/extensions/native-window-placement*
  233. %files workspace-indicator
  234. %defattr(-,root,root,-)
  235. %{_datadir}/gnome-shell/extensions/workspace-indicator*
  236. %files apps-menu
  237. %defattr(-,root,root,-)
  238. %{_datadir}/gnome-shell/extensions/apps-menu*
  239. %files systemMonitor
  240. %defattr(-,root,root,-)
  241. %{_datadir}/gnome-shell/extensions/systemMonitor*
  242. %files screenshot-window-sizer
  243. %defattr(-,root,root,-)
  244. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
  245. %{_datadir}/gnome-shell/extensions/screenshot-window-sizer*
  246. %posttrans user-theme
  247. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  248. %posttrans alternate-tab
  249. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  250. %posttrans auto-move-windows
  251. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  252. %posttrans native-window-placement
  253. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  254. %posttrans window-list
  255. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  256. %posttrans -n gnome-classic-session
  257. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  258. %posttrans screenshot-window-sizer
  259. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  260. %postun user-theme
  261. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  262. %postun alternate-tab
  263. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  264. %postun auto-move-windows
  265. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  266. %postun native-window-placement
  267. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  268. %postun window-list
  269. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  270. %postun -n gnome-classic-session
  271. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  272. %postun screenshot-window-sizer
  273. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  274. %changelog
  275. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  276. - new upstream release
  277. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  278. - new upstream release
  279. - add screenshot-window-sizer
  280. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  281. - new upstream release
  282. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  283. - new upstream release
  284. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  285. - rebuild with VineSeed environment
  286. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  287. - new upstream release
  288. - remove alternative-status-menu,xrandr-indicator subpackages
  289. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3.1-1
  290. - new upstream release
  291. * Mon Jun 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  292. - new upstream release
  293. - remove defualt-min-max and static-workspaces
  294. * Mon Jun 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.2-2
  295. - add gnome-classic-session, default-min-max, static-workspaces
  296. and window-list.
  297. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  298. - new upstream release
  299. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  300. - new upstream release
  301. - remove Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
  302. - remove %%{Name}-dock subpackage
  303. * Thu Nov 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  304. - new upstream release
  305. - add Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
  306. * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.91-1
  307. - new upstream release
  308. - remove Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
  309. * Wed May 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
  310. - add Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
  311. * Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  312. - new upstream release
  313. - remove Patch0,1
  314. - remove Source1
  315. * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  316. - update to 3.2.3
  317. - remove old Patches
  318. - add Patch0 (gnome-shell-extensions-3.2.3-dock.patch)
  319. - add Patch1 (gnome-shell-extensions-3.2.3-revert-reference-to-localedir.patch)
  320. - add Source1 (gnome-shell-extensions.gnome-3-2.20111216.ja.po)
  321. * Sat Nov 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  322. - update to 3.2.1
  323. - add Patch0 (gnome-shell-extensions-git20111119.patch)
  324. - add Patch1 (gnome-shell-extensions-3.2.1-alternative-status-menu.patch)
  325. * Tue Oct 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
  326. - update to 3.2.0
  327. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-5
  328. - rebuild with gnome-shell-3.2.0
  329. * Mon Sep 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-4
  330. - update Patch0 (gnome-shell-extensions-3.1.4-git20110908.patch)
  331. - add BuildRequires: gnome-desktop3-devel, libgtop2-devel
  332. * Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
  333. - update to 3.1.90 from git master (patch0)
  334. - add xrandr-indicator, systemMonitor
  335. - R: gnome-shell >= 3.1.90
  336. * Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
  337. - add Patch0 to update git master
  338. - add workspace-indicator, apps-menu
  339. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  340. - initial build for Vine Linux