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

Revision 5348, 10.4 KB checked in by Takemikaduchi, 12 years ago (diff)

NEW: gnme-packagekit
others: new upstream release

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