]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blame - gnome-shell-extensions.spec
Update to 3.12.0
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
CommitLineData
e86c85b4 1%define major_version 3.12
902bacda 2# Minimum GNOME Shell version supported
e86c85b4 3%define global min_gs_version %{major_version}.0
902bacda
JR
4
5Summary: Modify and extend GNOME Shell functionality and behavior
6Name: gnome-shell-extensions
e86c85b4 7Version: %{major_version}.0
a1e4294b 8Release: 1
902bacda
JR
9Group: X11/Applications
10# The entire source code is GPLv2+ except lib/convenience.js which is BSD
11License: GPLv2+ and BSD
e86c85b4
MB
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.12/%{name}-%{version}.tar.xz
13# Source0-md5: e8eb9b66352c0810c633b1689d7c04d8
902bacda 14URL: http://live.gnome.org/GnomeShell/Extensions
59f7bf9e
MB
15BuildRequires: autoconf >= 2.63
16BuildRequires: automake >= 1:1.10
902bacda 17BuildRequires: gnome-common
902bacda 18BuildRequires: gnome-desktop-devel
86f5e0d7 19BuildRequires: intltool
59f7bf9e
MB
20BuildRequires: libgtop-devel >= 2.28.3
21BuildRequires: pkgconfig >= 1:0.22
902bacda 22Requires: gnome-shell >= %{min_gs_version}
902bacda
JR
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
86f5e0d7
MB
25%define ext_prefix gnome-shell-extension
26
902bacda
JR
27%description
28GNOME Shell Extensions is a collection of extensions providing
29additional and optional functionality to GNOME Shell.
30
31Enabled extensions:
32 - alternate-tab
902bacda
JR
33 - apps-menu
34 - auto-move-windows
902bacda 35 - drive-menu
ea8eb261 36 - launch-new-instance
902bacda
JR
37 - native-window-placement
38 - places-menu
39 - systemMonitor
40 - user-theme
ea8eb261 41 - window-list
902bacda
JR
42 - windowsNavigator
43 - workspace-indicator
902bacda
JR
44
45%package common
46Summary: Files common to GNOME Shell Extensions
47License: GPL v2+
48Group: X11/Applications
49Requires: gnome-shell >= %{min_gs_version}
59f7bf9e 50Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
2c661f56 51Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
86f5e0d7
MB
52Obsoletes: gnome-shell-extension-dock < 3.8.0
53Obsoletes: gnome-shell-extension-gajim < 3.8.0
2c661f56 54Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
59f7bf9e 55Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
902bacda 56
86f5e0d7 57%description common
902bacda
JR
58GNOME Shell Extensions is a collection of extensions providing
59additional and optional functionality to GNOME Shell. Common files and
60directories needed by extensions are provided here.
61
86f5e0d7
MB
62%package -n gnome-classic-session
63Summary: GNOME "classic" mode session
64License: GPL v2+
65Group: X11/Applications
2c661f56 66Requires(post,postun): glib2 >= 1:2.26.0
86f5e0d7
MB
67Requires: %{ext_prefix}-alternate-tab = %{version}-%{release}
68Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
86f5e0d7
MB
69Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
70Requires: %{ext_prefix}-places-menu = %{version}-%{release}
86f5e0d7 71Requires: %{ext_prefix}-window-list = %{version}-%{release}
e86c85b4 72Requires: gnome-session >= 1:3.12.0
86f5e0d7
MB
73
74%description -n gnome-classic-session
75This package contains the required components for the GNOME Shell
76"classic" mode, which aims to provide a GNOME 2-like user interface.
77
78%package -n %{ext_prefix}-alternate-tab
902bacda
JR
79Summary: Classic Alt+Tab behavior. Window based instead of app based
80License: GPL v2+
81Group: X11/Applications
86f5e0d7 82Requires: %{name}-common = %{version}-%{release}
902bacda 83
86f5e0d7 84%description -n %{ext_prefix}-alternate-tab
902bacda
JR
85Lets you use classic Alt+Tab (window-based instead of app-based) in
86GNOME Shell. GNOME Shell groups multiple instances of the same
87application together. This extension disables grouping.
88
86f5e0d7 89%package -n %{ext_prefix}-apps-menu
902bacda
JR
90Summary: Application menu for GNOME Shell
91License: GPL v2+
92Group: X11/Applications
86f5e0d7 93Requires: %{name}-common = %{version}-%{release}
902bacda 94
86f5e0d7 95%description -n %{ext_prefix}-apps-menu
902bacda
JR
96Add a GNOME 2.x style menu for applications.
97
86f5e0d7 98%package -n %{ext_prefix}-auto-move-windows
902bacda
JR
99Summary: Assign specific workspaces to applications
100License: GPL v2+
101Group: X11/Applications
86f5e0d7 102Requires: %{name}-common = %{version}-%{release}
902bacda 103
86f5e0d7 104%description -n %{ext_prefix}-auto-move-windows
902bacda
JR
105Lets you manage your workspaces more easily, assigning a specific
106workspace to each application as soon as it creates a window, in a
107manner configurable with a GSettings key.
108
86f5e0d7 109%package -n %{ext_prefix}-drive-menu
902bacda
JR
110Summary: Disk device manager in the system status area
111License: GPL v2+
112Group: X11/Applications
86f5e0d7 113Requires: %{name}-common = %{version}-%{release}
902bacda 114
86f5e0d7 115%description -n %{ext_prefix}-drive-menu
902bacda
JR
116Adds a menu in the system status area that tracks removable disk
117devices attached and offers to browse them and eject/unmount them.
118
86f5e0d7
MB
119%package -n %{ext_prefix}-launch-new-instance
120Summary: Always launch a new application instance for GNOME Shell
902bacda
JR
121License: GPL v2+
122Group: X11/Applications
86f5e0d7 123Requires: %{name}-common = %{version}-%{release}
902bacda 124
86f5e0d7
MB
125%description -n %{ext_prefix}-launch-new-instance
126This GNOME Shell extension modifies the behavior of clicking in the
127dash and app launcher to always launch a new application instance.
902bacda 128
86f5e0d7 129%package -n %{ext_prefix}-native-window-placement
902bacda
JR
130Summary: Arrange windows in overview in a more native way
131License: GPL v2+
132Group: X11/Applications
86f5e0d7 133Requires: %{name}-common = %{version}-%{release}
902bacda 134
86f5e0d7 135%description -n %{ext_prefix}-native-window-placement
902bacda
JR
136This extension employs an algorithm (taken from KDE) for layouting the
137thumbnails in the overview that more closely reflects the positions
138and relative sizes of the actual windows, instead of using a fixed
139grid.
140
86f5e0d7 141%package -n %{ext_prefix}-places-menu
902bacda
JR
142Summary: Places menu indicator in the system status area
143License: GPL v2+
144Group: X11/Applications
86f5e0d7 145Requires: %{name}-common = %{version}-%{release}
902bacda 146
86f5e0d7 147%description -n %{ext_prefix}-places-menu
902bacda
JR
148Adds a menu in the system status area that resembles the Places menu
149from GNOME 2.x
150
86f5e0d7 151%package -n %{ext_prefix}-systemMonitor
902bacda
JR
152Summary: Monitor your system status
153License: GPL v2+
154Group: X11/Applications
86f5e0d7 155Requires: %{name}-common = %{version}-%{release}
902bacda
JR
156Requires: libgtop
157
86f5e0d7 158%description -n %{ext_prefix}-systemMonitor
902bacda
JR
159Monitor your system status
160
86f5e0d7 161%package -n %{ext_prefix}-user-theme
902bacda
JR
162Summary: Lets the user select a custom theme for the shell
163License: GPL v2+
164Group: X11/Applications
86f5e0d7 165Requires: %{name}-common = %{version}-%{release}
902bacda 166
86f5e0d7 167%description -n %{ext_prefix}-user-theme
902bacda
JR
168Lets the user select a custom theme for the Gnome shell. It will allow
169you to apply a style from
170/.themes/[themeName]/gnome-shell/gnome-shell.css
171
86f5e0d7
MB
172%package -n %{ext_prefix}-window-list
173Summary: Display a window list at the bottom of the screen in GNOME Shell
174License: GPL v2+
175Group: X11/Applications
176Requires: %{name}-common = %{version}-%{release}
177
178%description -n %{ext_prefix}-window-list
179This GNOME Shell extension displays a window list at the bottom of the
180screen.
181
182%package -n %{ext_prefix}-windowsNavigator
902bacda
JR
183Summary: Keyboard selection of windows and work-spaces in overlay mode
184License: GPL v2+
185Group: X11/Applications
86f5e0d7 186Requires: %{name}-common = %{version}-%{release}
902bacda 187
86f5e0d7 188%description -n %{ext_prefix}-windowsNavigator
902bacda
JR
189Allow keyboard selection of windows and work-spaces in overlay mode in
190GNOME Shell. Switch to overview mode (press the windows or alt+f1 key)
191and press the alt key to show numbers over windows. Press any number
192to switch to the corresponding window.
193
86f5e0d7 194%package -n %{ext_prefix}-workspace-indicator
902bacda
JR
195Summary: Workspace Indicator
196License: GPL v2+
197Group: X11/Applications
86f5e0d7 198Requires: %{name}-common = %{version}-%{release}
902bacda 199
86f5e0d7 200%description -n %{ext_prefix}-workspace-indicator
902bacda
JR
201Put an indicator on the panel signaling in which workspace you are,
202and give you the possibility of switching to another one.
203
902bacda
JR
204%prep
205%setup -q
86f5e0d7
MB
206
207%build
902bacda
JR
208%{__glib_gettextize}
209%{__intltoolize}
210%{__libtoolize}
211%{__aclocal}
212%{__autoconf}
213%{__automake}
902bacda 214%configure \
86f5e0d7 215 --enable-extensions="all"
902bacda
JR
216
217%{__make}
218
219%install
220rm -rf $RPM_BUILD_ROOT
221
222%{__make} install \
223 DESTDIR=$RPM_BUILD_ROOT
224
86f5e0d7
MB
225# Drop useless example extension
226%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*
227%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
228
902bacda
JR
229%find_lang %{name}
230
231%clean
232rm -rf $RPM_BUILD_ROOT
233
2c661f56
MB
234%post -n gnome-classic-session
235%glib_compile_schemas
236
237%postun -n gnome-classic-session
238%glib_compile_schemas
239
86f5e0d7 240%post -n %{ext_prefix}-auto-move-windows
902bacda
JR
241%glib_compile_schemas
242
86f5e0d7 243%postun -n %{ext_prefix}-auto-move-windows
902bacda
JR
244%glib_compile_schemas
245
86f5e0d7 246%post -n %{ext_prefix}-native-window-placement
902bacda
JR
247%glib_compile_schemas
248
86f5e0d7 249%postun -n %{ext_prefix}-native-window-placement
902bacda
JR
250%glib_compile_schemas
251
86f5e0d7 252%post -n %{ext_prefix}-user-theme
902bacda
JR
253%glib_compile_schemas
254
86f5e0d7 255%postun -n %{ext_prefix}-user-theme
902bacda
JR
256%glib_compile_schemas
257
86f5e0d7 258%post -n %{ext_prefix}-window-list
902bacda
JR
259%glib_compile_schemas
260
86f5e0d7 261%postun -n %{ext_prefix}-window-list
902bacda
JR
262%glib_compile_schemas
263
264%files common -f %{name}.lang
265%defattr(644,root,root,755)
266%doc COPYING NEWS README
267%dir %{_datadir}/gnome-shell/extensions
268
86f5e0d7
MB
269%files -n gnome-classic-session
270%defattr(644,root,root,755)
271%{_desktopdir}/gnome-shell-classic.desktop
2c661f56 272%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
86f5e0d7
MB
273%{_datadir}/gnome-session/sessions/gnome-classic.session
274%dir %{_datadir}/gnome-shell/modes
275%{_datadir}/gnome-shell/modes/classic.json
276%{_datadir}/gnome-shell/theme/*.svg
277%{_datadir}/gnome-shell/theme/gnome-classic.css
278%{_datadir}/xsessions/gnome-classic.desktop
279
280%files -n %{ext_prefix}-alternate-tab
902bacda 281%defattr(644,root,root,755)
902bacda
JR
282%{_datadir}/gnome-shell/extensions/alternate-tab*
283
86f5e0d7 284%files -n %{ext_prefix}-apps-menu
902bacda
JR
285%defattr(644,root,root,755)
286%{_datadir}/gnome-shell/extensions/apps-menu*
287
86f5e0d7 288%files -n %{ext_prefix}-auto-move-windows
902bacda
JR
289%defattr(644,root,root,755)
290%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
291%{_datadir}/gnome-shell/extensions/auto-move-windows*
292
86f5e0d7 293%files -n %{ext_prefix}-drive-menu
902bacda
JR
294%defattr(644,root,root,755)
295%{_datadir}/gnome-shell/extensions/drive-menu*
296
86f5e0d7 297%files -n %{ext_prefix}-launch-new-instance
902bacda 298%defattr(644,root,root,755)
86f5e0d7 299%{_datadir}/gnome-shell/extensions/launch-new-instance*
902bacda 300
86f5e0d7 301%files -n %{ext_prefix}-native-window-placement
902bacda
JR
302%defattr(644,root,root,755)
303%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
304%{_datadir}/gnome-shell/extensions/native-window-placement*
305
86f5e0d7 306%files -n %{ext_prefix}-places-menu
902bacda
JR
307%defattr(644,root,root,755)
308%{_datadir}/gnome-shell/extensions/places-menu*
309
86f5e0d7 310%files -n %{ext_prefix}-systemMonitor
902bacda
JR
311%defattr(644,root,root,755)
312%{_datadir}/gnome-shell/extensions/systemMonitor*
313
86f5e0d7 314%files -n %{ext_prefix}-user-theme
902bacda
JR
315%defattr(644,root,root,755)
316%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
317%{_datadir}/gnome-shell/extensions/user-theme*
318
86f5e0d7
MB
319%files -n %{ext_prefix}-window-list
320%defattr(644,root,root,755)
321%{_datadir}/gnome-shell/extensions/window-list*
322%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
323
324%files -n %{ext_prefix}-windowsNavigator
902bacda
JR
325%defattr(644,root,root,755)
326%{_datadir}/gnome-shell/extensions/windowsNavigator*
327
86f5e0d7 328%files -n %{ext_prefix}-workspace-indicator
902bacda
JR
329%defattr(644,root,root,755)
330%{_datadir}/gnome-shell/extensions/workspace-indicator*
This page took 0.160984 seconds and 4 git commands to generate.