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