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

Revision 4723, 10.3 KB checked in by daisuke, 13 years ago (diff)

gnome-shell-extensions:

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