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

Revision 4812, 10.7 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME-3.1.92

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