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