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