]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blame_incremental - gnome-shell-extensions.spec
Update to 3.18.3
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
... / ...
CommitLineData
1%define major_version 3.18
2# Minimum GNOME Shell version supported
3%define global min_gs_version %{major_version}.0
4
5Summary: Modify and extend GNOME Shell functionality and behavior
6Name: gnome-shell-extensions
7Version: %{major_version}.3
8Release: 1
9Group: X11/Applications
10# The entire source code is GPLv2+ except lib/convenience.js which is BSD
11License: GPLv2+ and BSD
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.18/%{name}-%{version}.tar.xz
13# Source0-md5: c7c154cf5f419c4b9e77337e433cf8d2
14URL: http://live.gnome.org/GnomeShell/Extensions
15BuildRequires: autoconf >= 2.63
16BuildRequires: automake >= 1:1.10
17BuildRequires: gnome-common
18BuildRequires: gnome-desktop-devel
19BuildRequires: intltool
20BuildRequires: libgtop-devel >= 2.28.3
21BuildRequires: pkgconfig >= 1:0.22
22Requires: gnome-shell >= %{min_gs_version}
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%define ext_prefix gnome-shell-extension
26
27%description
28GNOME Shell Extensions is a collection of extensions providing
29additional and optional functionality to GNOME Shell.
30
31Enabled extensions:
32 - alternate-tab
33 - apps-menu
34 - auto-move-windows
35 - drive-menu
36 - launch-new-instance
37 - native-window-placement
38 - places-menu
39 - screenshot-window-sizer
40 - user-theme
41 - window-list
42 - windowsNavigator
43 - workspace-indicator
44
45%package common
46Summary: Files common to GNOME Shell Extensions
47License: GPL v2+
48Group: X11/Applications
49Requires: gnome-shell >= %{min_gs_version}
50Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
51Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
52Obsoletes: gnome-shell-extension-dock < 3.8.0
53Obsoletes: gnome-shell-extension-gajim < 3.8.0
54Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
55Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
56Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
57
58%description common
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
63%package -n gnome-classic-session
64Summary: GNOME "classic" mode session
65License: GPL v2+
66Group: X11/Applications
67Requires(post,postun): glib2 >= 1:2.26.0
68Requires: %{ext_prefix}-alternate-tab = %{version}-%{release}
69Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
70Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
71Requires: %{ext_prefix}-places-menu = %{version}-%{release}
72Requires: %{ext_prefix}-window-list = %{version}-%{release}
73Requires: gnome-session >= 1:3.14.0
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
80Summary: Classic Alt+Tab behavior. Window based instead of app based
81License: GPL v2+
82Group: X11/Applications
83Requires: %{name}-common = %{version}-%{release}
84
85%description -n %{ext_prefix}-alternate-tab
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
90%package -n %{ext_prefix}-apps-menu
91Summary: Application menu for GNOME Shell
92License: GPL v2+
93Group: X11/Applications
94Requires: %{name}-common = %{version}-%{release}
95
96%description -n %{ext_prefix}-apps-menu
97Add a GNOME 2.x style menu for applications.
98
99%package -n %{ext_prefix}-auto-move-windows
100Summary: Assign specific workspaces to applications
101License: GPL v2+
102Group: X11/Applications
103Requires: %{name}-common = %{version}-%{release}
104
105%description -n %{ext_prefix}-auto-move-windows
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
110%package -n %{ext_prefix}-drive-menu
111Summary: Disk device manager in the system status area
112License: GPL v2+
113Group: X11/Applications
114Requires: %{name}-common = %{version}-%{release}
115
116%description -n %{ext_prefix}-drive-menu
117Adds a menu in the system status area that tracks removable disk
118devices attached and offers to browse them and eject/unmount them.
119
120%package -n %{ext_prefix}-launch-new-instance
121Summary: Always launch a new application instance for GNOME Shell
122License: GPL v2+
123Group: X11/Applications
124Requires: %{name}-common = %{version}-%{release}
125
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.
129
130%package -n %{ext_prefix}-native-window-placement
131Summary: Arrange windows in overview in a more native way
132License: GPL v2+
133Group: X11/Applications
134Requires: %{name}-common = %{version}-%{release}
135
136%description -n %{ext_prefix}-native-window-placement
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
142%package -n %{ext_prefix}-places-menu
143Summary: Places menu indicator in the system status area
144License: GPL v2+
145Group: X11/Applications
146Requires: %{name}-common = %{version}-%{release}
147
148%description -n %{ext_prefix}-places-menu
149Adds a menu in the system status area that resembles the Places menu
150from GNOME 2.x
151
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
162%package -n %{ext_prefix}-user-theme
163Summary: Lets the user select a custom theme for the shell
164License: GPL v2+
165Group: X11/Applications
166Requires: %{name}-common = %{version}-%{release}
167
168%description -n %{ext_prefix}-user-theme
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
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
184Summary: Keyboard selection of windows and work-spaces in overlay mode
185License: GPL v2+
186Group: X11/Applications
187Requires: %{name}-common = %{version}-%{release}
188
189%description -n %{ext_prefix}-windowsNavigator
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
195%package -n %{ext_prefix}-workspace-indicator
196Summary: Workspace Indicator
197License: GPL v2+
198Group: X11/Applications
199Requires: %{name}-common = %{version}-%{release}
200
201%description -n %{ext_prefix}-workspace-indicator
202Put an indicator on the panel signaling in which workspace you are,
203and give you the possibility of switching to another one.
204
205%prep
206%setup -q
207
208%build
209%{__glib_gettextize}
210%{__intltoolize}
211%{__libtoolize}
212%{__aclocal}
213%{__autoconf}
214%{__automake}
215%configure \
216 --enable-extensions="all"
217
218%{__make}
219
220%install
221rm -rf $RPM_BUILD_ROOT
222
223%{__make} install \
224 DESTDIR=$RPM_BUILD_ROOT
225
226# Drop useless example extension
227%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*
228%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
229
230%find_lang %{name}
231
232%clean
233rm -rf $RPM_BUILD_ROOT
234
235%post -n gnome-classic-session
236%glib_compile_schemas
237
238%postun -n gnome-classic-session
239%glib_compile_schemas
240
241%post -n %{ext_prefix}-auto-move-windows
242%glib_compile_schemas
243
244%postun -n %{ext_prefix}-auto-move-windows
245%glib_compile_schemas
246
247%post -n %{ext_prefix}-native-window-placement
248%glib_compile_schemas
249
250%postun -n %{ext_prefix}-native-window-placement
251%glib_compile_schemas
252
253%post -n %{ext_prefix}-screenshot-window-sizer
254%glib_compile_schemas
255
256%postun -n %{ext_prefix}-screenshot-window-sizer
257%glib_compile_schemas
258
259%post -n %{ext_prefix}-user-theme
260%glib_compile_schemas
261
262%postun -n %{ext_prefix}-user-theme
263%glib_compile_schemas
264
265%post -n %{ext_prefix}-window-list
266%glib_compile_schemas
267
268%postun -n %{ext_prefix}-window-list
269%glib_compile_schemas
270
271%files common -f %{name}.lang
272%defattr(644,root,root,755)
273%doc COPYING NEWS README
274%dir %{_datadir}/gnome-shell/extensions
275
276%files -n gnome-classic-session
277%defattr(644,root,root,755)
278%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
279%{_datadir}/gnome-session/sessions/gnome-classic.session
280%dir %{_datadir}/gnome-shell/modes
281%{_datadir}/gnome-shell/modes/classic.json
282%dir %{_datadir}/gnome-shell/theme
283%{_datadir}/gnome-shell/theme/*.svg
284%{_datadir}/gnome-shell/theme/gnome-classic.css
285%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
286%{_datadir}/xsessions/gnome-classic.desktop
287
288%files -n %{ext_prefix}-alternate-tab
289%defattr(644,root,root,755)
290%{_datadir}/gnome-shell/extensions/alternate-tab*
291
292%files -n %{ext_prefix}-apps-menu
293%defattr(644,root,root,755)
294%{_datadir}/gnome-shell/extensions/apps-menu*
295
296%files -n %{ext_prefix}-auto-move-windows
297%defattr(644,root,root,755)
298%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
299%{_datadir}/gnome-shell/extensions/auto-move-windows*
300
301%files -n %{ext_prefix}-drive-menu
302%defattr(644,root,root,755)
303%{_datadir}/gnome-shell/extensions/drive-menu*
304
305%files -n %{ext_prefix}-launch-new-instance
306%defattr(644,root,root,755)
307%{_datadir}/gnome-shell/extensions/launch-new-instance*
308
309%files -n %{ext_prefix}-native-window-placement
310%defattr(644,root,root,755)
311%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
312%{_datadir}/gnome-shell/extensions/native-window-placement*
313
314%files -n %{ext_prefix}-places-menu
315%defattr(644,root,root,755)
316%{_datadir}/gnome-shell/extensions/places-menu*
317
318%files -n %{ext_prefix}-screenshot-window-sizer
319%defattr(644,root,root,755)
320%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
321%{_datadir}/gnome-shell/extensions/screenshot-window-sizer*
322
323%files -n %{ext_prefix}-user-theme
324%defattr(644,root,root,755)
325%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
326%{_datadir}/gnome-shell/extensions/user-theme*
327
328%files -n %{ext_prefix}-window-list
329%defattr(644,root,root,755)
330%{_datadir}/gnome-shell/extensions/window-list*
331%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
332
333%files -n %{ext_prefix}-windowsNavigator
334%defattr(644,root,root,755)
335%{_datadir}/gnome-shell/extensions/windowsNavigator*
336
337%files -n %{ext_prefix}-workspace-indicator
338%defattr(644,root,root,755)
339%{_datadir}/gnome-shell/extensions/workspace-indicator*
This page took 0.045452 seconds and 4 git commands to generate.