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

Revision 6111, 11.5 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Name:           gnome-shell-extensions
2Version:        3.4.0
3Release:        2%{?_dist_release}
4Summary:        Modify and extend GNOME Shell functionality and behavior
5Group:          User Interface/Desktops
6License:        GPLv2+
7URL:            http://live.gnome.org/GnomeShell/Extensions
8
9Source0:        gnome-shell-extensions-%{version}.tar.xz
10
11Patch0:         gnome-shell-extensions-3.4.0-git20120430.patch
12
13BuildRequires:  gnome-common
14BuildRequires:  intltool
15BuildRequires:  glib2-devel
16BuildRequires:  gnome-desktop3-devel
17BuildRequires:  libgtop2-devel
18
19Requires:       gnome-shell >= 3.1.91
20BuildArch:      noarch
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: Takemikaduchi
25
26%description
27GNOME Shell Extensions is a collection of extensions providing additional
28and optional functionality to GNOME Shell.
29
30Enabled extensions:
31
32  * alternate-tab
33  * alternative-status-menu
34  * dock
35  * windowsNavigator
36  * user-theme
37  * auto-move-windows
38  * drive-menu
39  * places-menu
40  * native-window-placement
41  * workspace-indicator
42  * xrandr-indicator
43  * apps-menu
44  * systemMonitor
45
46%package        common
47Summary:        Files common to GNOME Shell Extensions
48Group:          User Interface/Desktops
49License:        GPLv2+
50%description    common
51GNOME Shell Extensions is a collection of extensions providing additional
52and optional functionality to GNOME Shell. Common files and directories
53needed by extensions are provided here.
54
55%package        alternate-tab
56Summary:        Classic Alt+Tab behavior. Window based instead of app based
57Group:          User Interface/Desktops
58License:        GPLv2+
59Requires:       %{name}-common = %{version}-%{release}
60
61%description    alternate-tab
62Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell. 
63GNOME Shell groups multiple instances of the same application together.
64This extension disables grouping. 
65
66%package        alternative-status-menu
67Summary:        For those who want a power off item visible at all the time
68Group:          User Interface/Desktops
69License:        GPLv2+
70Requires:       %{name}-common = %{version}-%{release}
71
72%description    alternative-status-menu
73For those who want a power off item visible at all the time, replaces
74GNOME Shell status menu with one featuring separate Suspend and Power Off.
75Adds the ability to hibernate as well.
76
77%package        dock
78Summary:        Shows a dock-style task switcher permanently
79Group:          User Interface/Desktops
80License:        GPLv2+
81Requires:       %{name}-common = %{version}-%{release}
82
83%description    dock
84Shows a dock-style task switcher on the right side of the screen permanently.
85
86%package        windowsNavigator
87Summary:        Keyboard selection of windows and work-spaces in overlay mode
88Group:          User Interface/Desktops
89License:        GPLv2+
90Requires:       %{name}-common = %{version}-%{release}
91
92%description    windowsNavigator
93Allow keyboard selection of windows and work-spaces in overlay mode in
94GNOME Shell.  Switch to overview mode (press the windows or alt+f1 key) and
95press the alt key to show numbers over windows.  Press any number to switch
96to the corresponding window.
97
98%package        user-theme
99Summary:        Lets the user select a custom theme for the shell
100Group:          User Interface/Desktops
101License:        GPLv2+
102Requires:       %{name}-common = %{version}-%{release}
103
104%description    user-theme
105Lets the user select a custom theme for the Gnome shell. It will allow you to
106apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
107
108%package        auto-move-windows
109Summary:        Assign specific workspaces to applications
110Group:          User Interface/Desktops
111License:        GPLv2+
112Requires:       %{name}-common = %{version}-%{release}
113
114%description    auto-move-windows
115Lets you manage your workspaces more easily, assigning a specific workspace to
116each application as soon as it creates a window, in a manner configurable with a
117GSettings key.
118
119%package        drive-menu
120Summary:        Disk device manager in the system status area
121Group:          User Interface/Desktops
122License:        GPLv2+
123Requires:       %{name}-common = %{version}-%{release}
124
125%description    drive-menu
126Adds a menu in the system status area that tracks removable disk devices
127attached and offers to browse them and eject/unmount them.
128
129%package        places-menu
130Summary:        Places menu indicator in the system status area
131Group:          User Interface/Desktops
132License:        GPLv2+
133Requires:       %{name}-common = %{version}-%{release}
134
135%description    places-menu
136Adds a menu in the system status area that resembles the Places menu from
137GNOME 2.x
138
139%package        native-window-placement
140Summary:        Arrange windows in overview in a more native way
141Group:          User Interface/Desktops
142License:        GPLv2+
143Requires:       %{name}-common = %{version}-%{release}
144
145%description    native-window-placement
146This extension employs an algorithm (taken from KDE) for layouting the
147thumbnails in the overview that more closely reflects the positions and relative
148sizes of the actual windows, instead of using a fixed grid.
149
150%package        workspace-indicator
151Summary:        Workspace indicator in the system status area
152Group:          User Interface/Desktops
153License:        GPLv2+
154Requires:       %{name}-common = %{version}-%{release}
155
156%description    workspace-indicator
157Adds a workspace indicator in the system status area.
158
159%package        apps-menu
160Summary:        Application menu in the system status area
161Group:          User Interface/Desktops
162License:        GPLv2+
163Requires:       %{name}-common = %{version}-%{release}
164
165%description    apps-menu
166Adds an application menu in top bar
167
168%package        xrandr-indicator
169Summary:        Xrandr indicator in the system statys area
170Group:          User Interface/Desktops
171License:        GPLv2+
172Requires:       %{name}-common = %{version}-%{release}
173
174%description    xrandr-indicator
175Replace the GTK+ based indicator from gnome-settings-daemon with
176a native one. Lets the user rotate the laptop monitor and open
177display preferences quickly.
178
179%package        systemMonitor
180Summary:        Monitor your system status
181Group:          User Interface/Desktops
182License:        GPLv2+
183Requires:       %{name}-common = %{version}-%{release}
184
185%description    systemMonitor
186An message tray indicator showing CPU and memory loads.
187
188%prep
189%setup -q
190%patch0 -p1
191
192# make g-s-e work with g-s 3.1.91.1
193#sed -i "s|3.1.91|3.2.0|g" configure.ac
194
195%build
196# since we build from a git checkout
197[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
198
199# TODO: once libgtop2 >= 2.28.4 is available, enable systemMonitor extension
200# TODO: once gjs >= 0.7.15 is available, enable xrand-indicator extension
201%configure \
202  --enable-extensions="alternate-tab \
203                       alternative-status-menu \
204                       apps-menu \
205                       dock \
206                       windowsNavigator \
207                       user-theme \
208                       auto-move-windows \
209                       drive-menu \
210                       places-menu \
211                       native-window-placement \
212                       workspace-indicator \
213                       xrandr-indicator
214                       systemMonitor"
215make %{?_smp_mflags}
216
217%install
218rm -rf $RPM_BUILD_ROOT
219make install DESTDIR=$RPM_BUILD_ROOT
220
221%find_lang %{name}
222
223%files common -f %{name}.lang
224%defattr(-,root,root,-)
225%doc README
226%dir %{_datadir}/gnome-shell/extensions/
227
228%files alternate-tab
229%defattr(-,root,root,-)
230%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternate-tab.gschema.xml
231%{_datadir}/gnome-shell/extensions/alternate-tab*
232
233%files alternative-status-menu
234%defattr(-,root,root,-)
235%{_datadir}/gnome-shell/extensions/alternative-status-menu*
236
237%files dock
238%defattr(-,root,root,-)
239%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dock.gschema.xml
240%{_datadir}/gnome-shell/extensions/dock*
241
242%files windowsNavigator
243%defattr(-,root,root,-)
244%{_datadir}/gnome-shell/extensions/windowsNavigator*
245
246%files user-theme
247%defattr(-,root,root,-)
248%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
249%{_datadir}/gnome-shell/extensions/user-theme*
250
251%files auto-move-windows
252%defattr(-,root,root,-)
253%{_datadir}/gnome-shell/extensions/auto-move-windows*
254
255%files drive-menu
256%defattr(-,root,root,-)
257%{_datadir}/gnome-shell/extensions/drive-menu*
258
259%files places-menu
260%defattr(-,root,root,-)
261%{_datadir}/gnome-shell/extensions/places-menu*
262
263%files places-menu
264%defattr(-,root,root,-)
265%{_datadir}/gnome-shell/extensions/places-menu*
266
267%files auto-move-windows
268%defattr(-,root,root,-)
269%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
270%{_datadir}/gnome-shell/extensions/auto-move-windows*
271
272%files native-window-placement
273%defattr(-,root,root,-)
274%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
275%{_datadir}/gnome-shell/extensions/native-window-placement*
276
277%files workspace-indicator
278%defattr(-,root,root,-)
279%{_datadir}/gnome-shell/extensions/workspace-indicator*
280
281%files apps-menu
282%defattr(-,root,root,-)
283%{_datadir}/gnome-shell/extensions/apps-menu*
284
285%files xrandr-indicator
286%defattr(-,root,root,-)
287%{_datadir}/gnome-shell/extensions/xrandr-indicator*
288
289%files systemMonitor
290%defattr(-,root,root,-)
291%{_datadir}/gnome-shell/extensions/systemMonitor*
292
293%posttrans user-theme
294glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
295
296%posttrans alternate-tab
297glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
298
299%posttrans dock
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%postun user-theme
309glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
310
311%postun alternate-tab
312glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
313
314%postun dock
315glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
316
317%postun auto-move-windows
318glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
319
320%postun native-window-placement
321glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
322
323
324%changelog
325* Wed May 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
326- add Patch0 (gnome-shell-extensions-3.4.0-git20120430.patch)
327
328* Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
329- new upstream release
330- remove Patch0,1
331- remove Source1
332
333* Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
334- update to 3.2.3
335- remove old Patches
336- add Patch0 (gnome-shell-extensions-3.2.3-dock.patch)
337- add Patch1 (gnome-shell-extensions-3.2.3-revert-reference-to-localedir.patch)
338- add Source1 (gnome-shell-extensions.gnome-3-2.20111216.ja.po)
339
340* Sat Nov 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
341- update to 3.2.1
342- add Patch0 (gnome-shell-extensions-git20111119.patch)
343- add Patch1 (gnome-shell-extensions-3.2.1-alternative-status-menu.patch)
344
345* Tue Oct 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
346- update to 3.2.0
347
348* Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-5
349- rebuild with gnome-shell-3.2.0
350
351* Mon Sep 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-4
352- update Patch0 (gnome-shell-extensions-3.1.4-git20110908.patch)
353- add BuildRequires:  gnome-desktop3-devel, libgtop2-devel
354
355* Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
356- update to 3.1.90 from git master (patch0)
357- add xrandr-indicator, systemMonitor
358- R: gnome-shell >= 3.1.90
359
360* Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
361- add Patch0 to update git master
362- add workspace-indicator, apps-menu
363
364* Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
365- initial build for Vine Linux
366
Note: See TracBrowser for help on using the repository browser.