source: projects/specs/trunk/g/gnome-shell-extensions/gnome-shell-extensions-vl.spec @ 9988

Revision 9988, 14.9 KB checked in by Takemikaduchi, 8 years ago (diff)

mate-utils: add usermode (use consolehelper)
others: new upstream release

Line 
1Name:           gnome-shell-extensions
2Version:        3.18.3
3Release:        1%{?_dist_release}
4Summary:        Modify and extend GNOME Shell functionality and behavior
5Summary(ja):    GNOME Shell の機能や振る舞いを変更・拡張する
6Group:          User Interface/Desktops
7License:        GPLv2+
8URL:            http://live.gnome.org/GnomeShell/Extensions
9
10# git archive --format=tar --prefix=gnome-shell-extensions-%{version}/ %{version} | xz > ../gnome-shell-extensions-%{version}.tar.xz
11Source0:        gnome-shell-extensions-%{version}.tar.xz
12
13
14BuildRequires:  gnome-common
15BuildRequires:  intltool
16BuildRequires:  glib2-devel
17BuildRequires:  gnome-desktop3-devel
18BuildRequires:  libgtop2-devel
19BuildRequires:  desktop-file-utils
20
21Requires:       gnome-shell >= 3.12.0
22BuildArch:      noarch
23
24Vendor: Project Vine
25Distribution: Vine Linux
26Packager: Takemikaduchi
27
28
29%description
30GNOME Shell Extensions is a collection of extensions providing additional
31and optional functionality to GNOME Shell.
32
33Enabled extensions:
34
35  * alternate-tab
36  * apps-menu
37  * auto-move-windows
38  * drive-menu
39  * launch-new-instance
40  * native-window-placement
41  * places-menu
42  * user-theme
43  * window-list
44  * windowsNavigator
45  * workspace-indicator
46
47%package        common
48Summary:        Files common to GNOME Shell Extensions
49Group:          User Interface/Desktops
50License:        GPLv2+
51
52Obsoletes:              %{name}-dock < 3.8.0
53Obsoletes:              %{name}-alternative-status-menu < 3.10.0
54Obsoletes:      %{name}-xrandr-indicator < 3.10.0
55Obsoletes:      %{name}-systemMonitor < 3.16.0
56
57%description    common
58GNOME Shell Extensions is a collection of extensions providing additional
59and optional functionality to GNOME Shell. Common files and directories
60needed by extensions are provided here.
61
62%package -n gnome-classic-session
63Summary:        GNOME "classic" mode session
64Summary(ja):    GNOME クラシックモードセッション
65Group:          User Interface/Desktops
66License:        GPLv2+
67Requires:       %{name}-alternate-tab = %{version}-%{release}
68Requires:       %{name}-apps-menu = %{version}-%{release}
69Requires:       %{name}-launch-new-instance = %{version}-%{release}
70Requires:       %{name}-places-menu = %{version}-%{release}
71Requires:       %{name}-window-list = %{version}-%{release}
72# Obsolete fallback mode components
73Obsoletes:      gnome-applets < 3.5.93
74%global gnome_panel_obsolete_ver 3.6.3
75Obsoletes:      gnome-panel < %{gnome_panel_obsolete_ver}
76Obsoletes:      gnome-panel-devel < %{gnome_panel_obsolete_ver}
77Obsoletes:      gnome-panel-libs < %{gnome_panel_obsolete_ver}
78Obsoletes:       %{name}-default-min-max < 3.8.3
79Obsoletes:       %{name}-static-workspaces < 3.8.3
80
81%description -n gnome-classic-session
82This package contains the required components for the GNOME Shell
83"classic" mode, which aims to provide a GNOME 2-like user interface.
84
85%package        alternate-tab
86Summary:        Classic Alt+Tab behavior. Window based instead of app based
87Group:          User Interface/Desktops
88License:        GPLv2+
89Requires:       %{name}-common = %{version}-%{release}
90
91%description    alternate-tab
92Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell. 
93GNOME Shell groups multiple instances of the same application together.
94This extension disables grouping. 
95
96%package        windowsNavigator
97Summary:        Keyboard selection of windows and work-spaces in overlay mode
98Group:          User Interface/Desktops
99License:        GPLv2+
100Requires:       %{name}-common = %{version}-%{release}
101
102%description    windowsNavigator
103Allow keyboard selection of windows and work-spaces in overlay mode in
104GNOME Shell.  Switch to overview mode (press the windows or alt+f1 key) and
105press the alt key to show numbers over windows.  Press any number to switch
106to the corresponding window.
107
108%package        user-theme
109Summary:        Lets the user select a custom theme for the shell
110Group:          User Interface/Desktops
111License:        GPLv2+
112Requires:       %{name}-common = %{version}-%{release}
113
114%description    user-theme
115Lets the user select a custom theme for the Gnome shell. It will allow you to
116apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
117
118%package        window-list
119Summary:        Display a window list at the bottom of the screen in GNOME Shell
120Group:          User Interface/Desktops
121License:        GPLv2+
122Requires:       %{name}-common = %{version}-%{release}
123
124%description    window-list
125This GNOME Shell extension displays a window list at the bottom of the
126screen.
127
128%package        auto-move-windows
129Summary:        Assign specific workspaces to applications
130Group:          User Interface/Desktops
131License:        GPLv2+
132Requires:       %{name}-common = %{version}-%{release}
133
134%description    auto-move-windows
135Lets you manage your workspaces more easily, assigning a specific workspace to
136each application as soon as it creates a window, in a manner configurable with a
137GSettings key.
138
139%package        drive-menu
140Summary:        Disk device manager in the system status area
141Group:          User Interface/Desktops
142License:        GPLv2+
143Requires:       %{name}-common = %{version}-%{release}
144
145%description    drive-menu
146Adds a menu in the system status area that tracks removable disk devices
147attached and offers to browse them and eject/unmount them.
148
149%package        launch-new-instance
150Summary:        Always launch a new application instance for GNOME Shell
151Group:          User Interface/Desktops
152License:        GPLv2+
153Requires:       %{name}-common = %{version}-%{release}
154
155%description    launch-new-instance
156This GNOME Shell extension modifies the behavior of clicking in the
157dash and app launcher to always launch a new application instance.
158
159%package        places-menu
160Summary:        Places menu indicator in the system status area
161Group:          User Interface/Desktops
162License:        GPLv2+
163Requires:       %{name}-common = %{version}-%{release}
164
165%description    places-menu
166Adds a menu in the system status area that resembles the Places menu from
167GNOME 2.x
168
169%package        native-window-placement
170Summary:        Arrange windows in overview in a more native way
171Group:          User Interface/Desktops
172License:        GPLv2+
173Requires:       %{name}-common = %{version}-%{release}
174
175%description    native-window-placement
176This extension employs an algorithm (taken from KDE) for layouting the
177thumbnails in the overview that more closely reflects the positions and relative
178sizes of the actual windows, instead of using a fixed grid.
179
180%package        workspace-indicator
181Summary:        Workspace indicator in the system status area
182Group:          User Interface/Desktops
183License:        GPLv2+
184Requires:       %{name}-common = %{version}-%{release}
185
186%description    workspace-indicator
187Adds a workspace indicator in the system status area.
188
189%package        apps-menu
190Summary:        Application menu in the system status area
191Group:          User Interface/Desktops
192License:        GPLv2+
193Requires:       %{name}-common = %{version}-%{release}
194
195%description    apps-menu
196Adds an application menu in top bar
197
198%package                screenshot-window-sizer
199Summary:                Resize windows for GNOME Software screenshots
200Group:          User Interface/Desktops
201License:        GPLv2+
202Requires:       %{name}-common = %{version}-%{release}
203
204%description    screenshot-window-sizer
205%{summary}
206
207%prep
208%setup -q
209
210## make g-s-e work with g-s 3.6.x
211#sed -i "s|3.5.91|3.6|g" configure.ac
212
213%build
214# since we build from a git checkout
215[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
216
217%configure --enable-extensions="all"
218
219make %{?_smp_mflags}
220
221%install
222rm -rf $RPM_BUILD_ROOT
223make install DESTDIR=$RPM_BUILD_ROOT
224
225# Drop useless example extension
226rm -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*/
227rm $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
228
229%find_lang %{name}
230
231%files common -f %{name}.lang
232%defattr(-,root,root,-)
233%doc README
234%dir %{_datadir}/gnome-shell/extensions/
235
236%files -n gnome-classic-session
237%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
238%{_datadir}/gnome-session/sessions/gnome-classic.session
239%{_datadir}/gnome-shell/modes/classic.json
240%{_datadir}/gnome-shell/theme/*.svg
241%{_datadir}/gnome-shell/theme/gnome-classic.css
242%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
243%{_datadir}/xsessions/gnome-classic.desktop
244
245%files alternate-tab
246%defattr(-,root,root,-)
247%{_datadir}/gnome-shell/extensions/alternate-tab*
248
249%files windowsNavigator
250%defattr(-,root,root,-)
251%{_datadir}/gnome-shell/extensions/windowsNavigator*
252
253%files user-theme
254%defattr(-,root,root,-)
255%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
256%{_datadir}/gnome-shell/extensions/user-theme*
257
258%files drive-menu
259%defattr(-,root,root,-)
260%{_datadir}/gnome-shell/extensions/drive-menu*
261
262%files launch-new-instance
263%{_datadir}/gnome-shell/extensions/launch-new-instance*/
264
265%files places-menu
266%defattr(-,root,root,-)
267%{_datadir}/gnome-shell/extensions/places-menu*
268
269%files window-list
270%{_datadir}/gnome-shell/extensions/window-list*/
271%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
272
273%files auto-move-windows
274%defattr(-,root,root,-)
275%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
276%{_datadir}/gnome-shell/extensions/auto-move-windows*
277
278%files native-window-placement
279%defattr(-,root,root,-)
280%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
281%{_datadir}/gnome-shell/extensions/native-window-placement*
282
283%files workspace-indicator
284%defattr(-,root,root,-)
285%{_datadir}/gnome-shell/extensions/workspace-indicator*
286
287%files apps-menu
288%defattr(-,root,root,-)
289%{_datadir}/gnome-shell/extensions/apps-menu*
290
291%files screenshot-window-sizer
292%defattr(-,root,root,-)
293%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
294%{_datadir}/gnome-shell/extensions/screenshot-window-sizer*
295
296%posttrans user-theme
297glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
298
299%posttrans alternate-tab
300glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
301
302%posttrans auto-move-windows
303glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
304
305%posttrans native-window-placement
306glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
307
308%posttrans window-list
309glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
310
311%posttrans -n gnome-classic-session
312glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
313
314%posttrans screenshot-window-sizer
315glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
316
317%postun user-theme
318glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
319
320%postun alternate-tab
321glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
322
323%postun auto-move-windows
324glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
325
326%postun native-window-placement
327glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
328
329%postun window-list
330glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
331
332%postun -n gnome-classic-session
333glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
334
335%postun screenshot-window-sizer
336glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
337
338
339%changelog
340* Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.3-1
341- new upstream release
342
343* Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
344- new upstream release
345
346* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
347- new upstream release
348
349* Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
350- new upstream release
351
352* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
353- new upstream release
354
355* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
356- new upstream release
357- remove systemMonitor subpackage
358
359* Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
360- new upstream release
361
362* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
363- new upstream release
364
365* Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
366- new upstream release
367- add screenshot-window-sizer
368
369* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
370- new upstream release
371
372* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
373- new upstream release
374
375* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
376- rebuild with VineSeed environment
377
378* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
379- new upstream release
380- remove alternative-status-menu,xrandr-indicator subpackages
381
382* Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3.1-1
383- new upstream release
384
385* Mon Jun 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
386- new upstream release
387- remove defualt-min-max and static-workspaces
388
389* Mon Jun 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.2-2
390- add gnome-classic-session, default-min-max, static-workspaces
391  and window-list.
392
393* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
394- new upstream release
395
396* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
397- new upstream release
398- remove Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
399- remove %%{Name}-dock subpackage
400
401* Thu Nov 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
402- new upstream release
403- add Patch0 (gnome-shell-extensions-3.6.0-git20121015.patch)
404
405* Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.91-1
406- new upstream release
407- remove Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
408
409* Wed May 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
410- add Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
411
412* Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
413- new upstream release
414- remove Patch0,1
415- remove Source1
416
417* Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
418- update to 3.2.3
419- remove old Patches
420- add Patch0 (gnome-shell-extensions-3.2.3-dock.patch)
421- add Patch1 (gnome-shell-extensions-3.2.3-revert-reference-to-localedir.patch)
422- add Source1 (gnome-shell-extensions.gnome-3-2.20111216.ja.po)
423
424* Sat Nov 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
425- update to 3.2.1
426- add Patch0 (gnome-shell-extensions-git20111119.patch)
427- add Patch1 (gnome-shell-extensions-3.2.1-alternative-status-menu.patch)
428
429* Tue Oct 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
430- update to 3.2.0
431
432* Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-5
433- rebuild with gnome-shell-3.2.0
434
435* Mon Sep 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-4
436- update Patch0 (gnome-shell-extensions-3.1.4-git20110908.patch)
437- add BuildRequires:  gnome-desktop3-devel, libgtop2-devel
438
439* Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
440- update to 3.1.90 from git master (patch0)
441- add xrandr-indicator, systemMonitor
442- R: gnome-shell >= 3.1.90
443
444* Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
445- add Patch0 to update git master
446- add workspace-indicator, apps-menu
447
448* Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
449- initial build for Vine Linux
450
Note: See TracBrowser for help on using the repository browser.