gnome-shell-extensions-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. Name: gnome-shell-extensions
  2. Version: 3.8.3.1
  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.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. * drive-menu
  31. * launch-new-instance
  32. * native-window-placement
  33. * places-menu
  34. * systemMonitor
  35. * user-theme
  36. * window-list
  37. * windowsNavigator
  38. * workspace-indicator
  39. * xrandr-indicator
  40. %package common
  41. Summary: Files common to GNOME Shell Extensions
  42. Group: User Interface/Desktops
  43. License: GPLv2+
  44. Obsoletes: %{name}-dock < 3.8.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 alternative-status-menu
  80. Summary: For those who want a power off item visible at all the time
  81. Group: User Interface/Desktops
  82. License: GPLv2+
  83. Requires: %{name}-common = %{version}-%{release}
  84. %description alternative-status-menu
  85. For those who want a power off item visible at all the time, replaces
  86. GNOME Shell status menu with one featuring separate Suspend and Power Off.
  87. Adds the ability to hibernate as well.
  88. %package windowsNavigator
  89. Summary: Keyboard selection of windows and work-spaces in overlay mode
  90. Group: User Interface/Desktops
  91. License: GPLv2+
  92. Requires: %{name}-common = %{version}-%{release}
  93. %description windowsNavigator
  94. Allow keyboard selection of windows and work-spaces in overlay mode in
  95. GNOME Shell. Switch to overview mode (press the windows or alt+f1 key) and
  96. press the alt key to show numbers over windows. Press any number to switch
  97. to the corresponding window.
  98. %package user-theme
  99. Summary: Lets the user select a custom theme for the shell
  100. Group: User Interface/Desktops
  101. License: GPLv2+
  102. Requires: %{name}-common = %{version}-%{release}
  103. %description user-theme
  104. Lets the user select a custom theme for the Gnome shell. It will allow you to
  105. apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
  106. %package window-list
  107. Summary: Display a window list at the bottom of the screen in GNOME Shell
  108. Group: User Interface/Desktops
  109. License: GPLv2+
  110. Requires: %{name}-common = %{version}-%{release}
  111. %description window-list
  112. This GNOME Shell extension displays a window list at the bottom of the
  113. screen.
  114. %package auto-move-windows
  115. Summary: Assign specific workspaces to applications
  116. Group: User Interface/Desktops
  117. License: GPLv2+
  118. Requires: %{name}-common = %{version}-%{release}
  119. %description auto-move-windows
  120. Lets you manage your workspaces more easily, assigning a specific workspace to
  121. each application as soon as it creates a window, in a manner configurable with a
  122. GSettings key.
  123. %package drive-menu
  124. Summary: Disk device manager in the system status area
  125. Group: User Interface/Desktops
  126. License: GPLv2+
  127. Requires: %{name}-common = %{version}-%{release}
  128. %description drive-menu
  129. Adds a menu in the system status area that tracks removable disk devices
  130. attached and offers to browse them and eject/unmount them.
  131. %package launch-new-instance
  132. Summary: Always launch a new application instance for GNOME Shell
  133. Group: User Interface/Desktops
  134. License: GPLv2+
  135. Requires: %{name}-common = %{version}-%{release}
  136. %description launch-new-instance
  137. This GNOME Shell extension modifies the behavior of clicking in the
  138. dash and app launcher to always launch a new application instance.
  139. %package places-menu
  140. Summary: Places menu indicator in the system status area
  141. Group: User Interface/Desktops
  142. License: GPLv2+
  143. Requires: %{name}-common = %{version}-%{release}
  144. %description places-menu
  145. Adds a menu in the system status area that resembles the Places menu from
  146. GNOME 2.x
  147. %package native-window-placement
  148. Summary: Arrange windows in overview in a more native way
  149. Group: User Interface/Desktops
  150. License: GPLv2+
  151. Requires: %{name}-common = %{version}-%{release}
  152. %description native-window-placement
  153. This extension employs an algorithm (taken from KDE) for layouting the
  154. thumbnails in the overview that more closely reflects the positions and relative
  155. sizes of the actual windows, instead of using a fixed grid.
  156. %package workspace-indicator
  157. Summary: Workspace indicator in the system status area
  158. Group: User Interface/Desktops
  159. License: GPLv2+
  160. Requires: %{name}-common = %{version}-%{release}
  161. %description workspace-indicator
  162. Adds a workspace indicator in the system status area.
  163. %package apps-menu
  164. Summary: Application menu in the system status area
  165. Group: User Interface/Desktops
  166. License: GPLv2+
  167. Requires: %{name}-common = %{version}-%{release}
  168. %description apps-menu
  169. Adds an application menu in top bar
  170. %package xrandr-indicator
  171. Summary: Xrandr indicator in the system statys area
  172. Group: User Interface/Desktops
  173. License: GPLv2+
  174. Requires: %{name}-common = %{version}-%{release}
  175. %description xrandr-indicator
  176. Replace the GTK+ based indicator from gnome-settings-daemon with
  177. a native one. Lets the user rotate the laptop monitor and open
  178. display preferences quickly.
  179. %package systemMonitor
  180. Summary: Monitor your system status
  181. Group: User Interface/Desktops
  182. License: GPLv2+
  183. Requires: %{name}-common = %{version}-%{release}
  184. %description systemMonitor
  185. An message tray indicator showing CPU and memory loads.
  186. %prep
  187. %setup -q
  188. ## make g-s-e work with g-s 3.6.x
  189. #sed -i "s|3.5.91|3.6|g" configure.ac
  190. %build
  191. # since we build from a git checkout
  192. [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
  193. %configure --enable-extensions="all"
  194. make %{?_smp_mflags}
  195. %install
  196. rm -rf $RPM_BUILD_ROOT
  197. make install DESTDIR=$RPM_BUILD_ROOT
  198. # Drop useless example extension
  199. rm -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*/
  200. rm $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
  201. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-shell-classic.desktop
  202. %find_lang %{name}
  203. %files common -f %{name}.lang
  204. %defattr(-,root,root,-)
  205. %doc README
  206. %dir %{_datadir}/gnome-shell/extensions/
  207. %files -n gnome-classic-session
  208. %{_datadir}/applications/gnome-shell-classic.desktop
  209. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
  210. %{_datadir}/gnome-session/sessions/gnome-classic.session
  211. %{_datadir}/gnome-shell/modes/classic.json
  212. %{_datadir}/gnome-shell/theme/*.svg
  213. %{_datadir}/gnome-shell/theme/gnome-classic.css
  214. %{_datadir}/xsessions/gnome-classic.desktop
  215. %files alternate-tab
  216. %defattr(-,root,root,-)
  217. %{_datadir}/gnome-shell/extensions/alternate-tab*
  218. %files alternative-status-menu
  219. %defattr(-,root,root,-)
  220. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.xml
  221. %{_datadir}/gnome-shell/extensions/alternative-status-menu*
  222. %files windowsNavigator
  223. %defattr(-,root,root,-)
  224. %{_datadir}/gnome-shell/extensions/windowsNavigator*
  225. %files user-theme
  226. %defattr(-,root,root,-)
  227. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
  228. %{_datadir}/gnome-shell/extensions/user-theme*
  229. %files drive-menu
  230. %defattr(-,root,root,-)
  231. %{_datadir}/gnome-shell/extensions/drive-menu*
  232. %files launch-new-instance
  233. %{_datadir}/gnome-shell/extensions/launch-new-instance*/
  234. %files places-menu
  235. %defattr(-,root,root,-)
  236. %{_datadir}/gnome-shell/extensions/places-menu*
  237. %files window-list
  238. %{_datadir}/gnome-shell/extensions/window-list*/
  239. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
  240. %files auto-move-windows
  241. %defattr(-,root,root,-)
  242. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
  243. %{_datadir}/gnome-shell/extensions/auto-move-windows*
  244. %files native-window-placement
  245. %defattr(-,root,root,-)
  246. %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
  247. %{_datadir}/gnome-shell/extensions/native-window-placement*
  248. %files workspace-indicator
  249. %defattr(-,root,root,-)
  250. %{_datadir}/gnome-shell/extensions/workspace-indicator*
  251. %files apps-menu
  252. %defattr(-,root,root,-)
  253. %{_datadir}/gnome-shell/extensions/apps-menu*
  254. %files xrandr-indicator
  255. %defattr(-,root,root,-)
  256. %{_datadir}/gnome-shell/extensions/xrandr-indicator*
  257. %files systemMonitor
  258. %defattr(-,root,root,-)
  259. %{_datadir}/gnome-shell/extensions/systemMonitor*
  260. %posttrans user-theme
  261. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  262. %posttrans alternate-tab
  263. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  264. %posttrans alternative-status-menu
  265. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  266. %posttrans auto-move-windows
  267. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  268. %posttrans native-window-placement
  269. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  270. %posttrans window-list
  271. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  272. %posttrans -n gnome-classic-session
  273. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  274. %postun user-theme
  275. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  276. %postun alternate-tab
  277. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  278. %postun alternative-status-menu
  279. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  280. %postun auto-move-windows
  281. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  282. %postun native-window-placement
  283. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  284. %postun window-list
  285. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  286. %postun -n gnome-classic-session
  287. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  288. %changelog
  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