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