1 | %define glib2_version 2.34.0 |
---|
2 | %define pango_version 1.32.0 |
---|
3 | %define gtk3_version 3.6.0 |
---|
4 | %define dbus_glib_version 0.100 |
---|
5 | %define dbus_version 1.6.4 |
---|
6 | %define libnotify_version 0.7 |
---|
7 | |
---|
8 | %define po_package gnome-session-3.0 |
---|
9 | |
---|
10 | Summary: GNOME session manager |
---|
11 | Summary(ja): GNOME セッションマネージャ |
---|
12 | Name: gnome-session |
---|
13 | Version: 3.6.0 |
---|
14 | Release: 1%{?_dist_release} |
---|
15 | URL: http://www.gnome.org/ |
---|
16 | License: GPLv2+ |
---|
17 | Group: User Interface/Desktops |
---|
18 | |
---|
19 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-session/3.6/%{name}-%{version}.tar.xz |
---|
20 | Source1: vine-default-session |
---|
21 | Source2: gnome.desktop |
---|
22 | |
---|
23 | Patch0: gnome-session-3.6.0-hardware-compatibility.patch |
---|
24 | |
---|
25 | # fixed upstream |
---|
26 | |
---|
27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
28 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
29 | BuildRequires: pango-devel >= %{pango_version} |
---|
30 | BuildRequires: pangox-compat-devel |
---|
31 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
32 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
33 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
34 | BuildRequires: libnotify-devel >= %{libnotify_version} |
---|
35 | BuildRequires: librsvg2-devel |
---|
36 | BuildRequires: usermode |
---|
37 | BuildRequires: startup-notification-devel |
---|
38 | BuildRequires: libSM-devel |
---|
39 | BuildRequires: libXtst-devel |
---|
40 | BuildRequires: xorg-x11-xtrans-devel |
---|
41 | BuildRequires: upower-devel |
---|
42 | BuildRequires: json-glib-devel |
---|
43 | BuildRequires: desktop-file-utils |
---|
44 | |
---|
45 | Conflicts: gdm < 2.4.0.7 |
---|
46 | Requires: vine-backgrounds >= 3.8 |
---|
47 | Requires: control-center |
---|
48 | Requires: gsettings-desktop-schemas |
---|
49 | |
---|
50 | Vendor: Project Vine |
---|
51 | Distribution: Vine Linux |
---|
52 | Packager: Takemikaduchi |
---|
53 | |
---|
54 | %description |
---|
55 | gnome-session manages a GNOME desktop session. It starts up the other core |
---|
56 | GNOME components and handles logout and saving the session. |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q |
---|
61 | %patch0 -p1 |
---|
62 | |
---|
63 | %build |
---|
64 | #sed -i -e 's/GNOME_COMPILE_WARNINGS.*//' configure.in |
---|
65 | |
---|
66 | #aclocal |
---|
67 | #automake |
---|
68 | #intltoolize --force --copy |
---|
69 | #autoheader |
---|
70 | #autoconf |
---|
71 | |
---|
72 | %configure \ |
---|
73 | --enable-compile-warnings=no |
---|
74 | |
---|
75 | make %{?_smp_mflags} |
---|
76 | |
---|
77 | # --with-halt-command=/usr/bin/poweroff \ |
---|
78 | # --with-reboot-command=/usr/bin/reboot \ |
---|
79 | |
---|
80 | %install |
---|
81 | rm -rf $RPM_BUILD_ROOT |
---|
82 | |
---|
83 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
84 | |
---|
85 | desktop-file-install --vendor gnome --delete-original \ |
---|
86 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
87 | --add-only-show-in GNOME \ |
---|
88 | $RPM_BUILD_ROOT%{_datadir}/applications/* |
---|
89 | # --add-category Settings \ |
---|
90 | # --add-category AdvancedSettings \ |
---|
91 | |
---|
92 | ./mkinstalldirs ${RPM_BUILD_ROOT}%{_datadir}/xsessions/ |
---|
93 | install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/xsessions/ |
---|
94 | |
---|
95 | #/bin/rm $RPM_BUILD_ROOT%{_datadir}/gnome/default.session |
---|
96 | ./mkinstalldirs ${RPM_BUILD_ROOT}%{_datadir}/gnome/ |
---|
97 | install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/default.session |
---|
98 | |
---|
99 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart |
---|
100 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/autostart |
---|
101 | |
---|
102 | # remove gnome default splash screen |
---|
103 | #rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/* |
---|
104 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash |
---|
105 | |
---|
106 | # |
---|
107 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
108 | |
---|
109 | %find_lang %{po_package} |
---|
110 | |
---|
111 | %clean |
---|
112 | rm -rf $RPM_BUILD_ROOT |
---|
113 | |
---|
114 | %post -p /sbin/ldconfig |
---|
115 | |
---|
116 | %postun |
---|
117 | /sbin/ldconfig |
---|
118 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
119 | |
---|
120 | %posttrans |
---|
121 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
122 | |
---|
123 | |
---|
124 | %files -f %{po_package}.lang |
---|
125 | %defattr(-,root,root) |
---|
126 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
127 | %{_sysconfdir}/xdg/autostart |
---|
128 | %{_bindir}/* |
---|
129 | %{_libexecdir}/gnome-session-check-accelerated |
---|
130 | %{_libexecdir}/gnome-session-check-accelerated-helper |
---|
131 | %{_datadir}/GConf/gsettings/gnome-session.convert |
---|
132 | %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml |
---|
133 | %{_datadir}/gnome |
---|
134 | %{_datadir}/gnome-session/*.ui |
---|
135 | %{_datadir}/gnome-session/hardware-compatibility |
---|
136 | %{_datadir}/gnome-session/sessions/* |
---|
137 | %{_datadir}/applications/* |
---|
138 | %{_datadir}/xsessions/* |
---|
139 | %dir %{_datadir}/pixmaps/splash |
---|
140 | %{_datadir}/icons/hicolor/* |
---|
141 | %{_mandir}/man*/* |
---|
142 | |
---|
143 | |
---|
144 | %changelog |
---|
145 | * Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
146 | - new upstream release |
---|
147 | - remove BuildRequires: GConf2-devel |
---|
148 | - add BuildRequires: pangox-compat-devel |
---|
149 | - add Patch0 (gnome-session-3.6.0-hardware-compatibility.patch) |
---|
150 | |
---|
151 | * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2.1-1 |
---|
152 | - new upstream release |
---|
153 | - add BuildRequires: xorg-x11-xtrans-devel |
---|
154 | |
---|
155 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
159 | - new upstream release |
---|
160 | |
---|
161 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
165 | - new upstream release |
---|
166 | |
---|
167 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
168 | - new upstream release |
---|
169 | - add BuildRequires: libXtst-devel |
---|
170 | |
---|
171 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
172 | - new upstream release |
---|
173 | - add BuildRequires: json-glib-devel |
---|
174 | |
---|
175 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
179 | - new upstream release |
---|
180 | - add BuildRequires: librsvg2-devel |
---|
181 | - add Requires: gsettings-desktop-schemas |
---|
182 | |
---|
183 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1 |
---|
184 | - new upstream release |
---|
185 | |
---|
186 | * Sat Nov 06 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.0-2 |
---|
187 | - update translation. |
---|
188 | |
---|
189 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
190 | - new upstream release |
---|
191 | - remove BuildRequires: libgnome-devel, libgnomeui-devel |
---|
192 | |
---|
193 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
194 | - new upstream release |
---|
195 | |
---|
196 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
197 | - new upstream release |
---|
198 | - remove BuildRequires: gnome-keyring |
---|
199 | - change BuildRequires: DeviceKit-power-devel -> upower-devel |
---|
200 | - add BuildRequires: startup-notification-devel, libSM-devel, desktop-file-utils |
---|
201 | |
---|
202 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
203 | - new upstream release |
---|
204 | - added BR: DeviceKit-power-devel |
---|
205 | - removed BR: PolicyKit-gnome-devel |
---|
206 | |
---|
207 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1 |
---|
208 | - new upstream release |
---|
209 | |
---|
210 | * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.1-1 |
---|
211 | - new upstream release |
---|
212 | - added BuildRequires: PolicyKit-gnome-devel |
---|
213 | |
---|
214 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
215 | - new upstream release |
---|
216 | |
---|
217 | * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1 |
---|
218 | - new upstream release |
---|
219 | |
---|
220 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
221 | - new upstream release |
---|
222 | |
---|
223 | * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2 |
---|
224 | - add patch5,6,7,8 from upstream/fedora |
---|
225 | - remove gnome-volume-manager from vine-default-session |
---|
226 | |
---|
227 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
228 | - new upstream release |
---|
229 | |
---|
230 | * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
231 | - new upstream release |
---|
232 | |
---|
233 | * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5 |
---|
234 | - new upstream release |
---|
235 | |
---|
236 | * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
237 | - new upstream release |
---|
238 | - updated Patch100 |
---|
239 | |
---|
240 | * Wed Jan 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1 |
---|
241 | - new upstream release |
---|
242 | |
---|
243 | * Wed Jul 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.3-0vl1 |
---|
244 | - new upstream release |
---|
245 | |
---|
246 | * Fri May 11 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.18.0-0vl2 |
---|
247 | - add BuildRequires: control-center-devel |
---|
248 | |
---|
249 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1 |
---|
250 | - new upstream release |
---|
251 | |
---|
252 | * Thu Sep 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1 |
---|
253 | - new upstream release |
---|
254 | - remove default gnome-splash.png, use our splash. |
---|
255 | - add Requires: vine-backgrounds >= 3.8 |
---|
256 | |
---|
257 | * Sat Jun 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-0vl1 |
---|
258 | - new upstream release |
---|
259 | |
---|
260 | * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
261 | - new upstream release |
---|
262 | |
---|
263 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
264 | - new upstream release |
---|
265 | |
---|
266 | * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1 |
---|
267 | - new upstream release |
---|
268 | |
---|
269 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
270 | - new upstream release |
---|
271 | |
---|
272 | * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1 |
---|
273 | - new upstream release |
---|
274 | |
---|
275 | * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1 |
---|
276 | - new upstream version |
---|
277 | |
---|
278 | * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1 |
---|
279 | - new upstream release |
---|
280 | |
---|
281 | * Sun Oct 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1 |
---|
282 | - new upstream release |
---|
283 | |
---|
284 | * Sun Oct 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl2 |
---|
285 | - rebuild with new environment |
---|
286 | |
---|
287 | * Fri Jan 30 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1 |
---|
288 | - new upstream release |
---|
289 | |
---|
290 | * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1 |
---|
291 | - new upstream release |
---|
292 | - remove old gdm session file. |
---|
293 | |
---|
294 | * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1 |
---|
295 | - new upstream release |
---|
296 | |
---|
297 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.7-0vl1 |
---|
298 | - new upstream release |
---|
299 | |
---|
300 | * Tue Apr 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1 |
---|
301 | - new upstream release |
---|
302 | - import patch6,8 from rawhide release |
---|
303 | |
---|
304 | * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1 |
---|
305 | - new upstream release |
---|
306 | |
---|
307 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1 |
---|
308 | - new upstream release |
---|
309 | |
---|
310 | * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1 |
---|
311 | - new upstream release |
---|
312 | |
---|
313 | * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1 |
---|
314 | - new upstream release |
---|
315 | |
---|
316 | * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1 |
---|
317 | - build for Vine Linux |
---|
318 | - new upstream release from gnome-2.1.4 |
---|
319 | |
---|
320 | * Wed Nov 13 2002 Havoc Pennington <hp@redhat.com> |
---|
321 | - 2.1.2 |
---|
322 | |
---|
323 | * Tue Sep 3 2002 Owen Taylor <otaylor@redhat.com> |
---|
324 | - Up purge delay for session manager to 5 minutes to avoid problem |
---|
325 | with openoffice.org timing out |
---|
326 | |
---|
327 | * Wed Aug 28 2002 Havoc Pennington <hp@redhat.com> |
---|
328 | - put gdm session in here, conflict with old gdm |
---|
329 | - use DITHER_MAX for dithering to make splash screen look good in 16 |
---|
330 | bit |
---|
331 | |
---|
332 | * Tue Aug 27 2002 Havoc Pennington <hp@redhat.com> |
---|
333 | - fix missing icons and misaligned text in splash |
---|
334 | |
---|
335 | * Fri Aug 23 2002 Tim Waugh <twaugh@redhat.com> |
---|
336 | - Fix login sound disabling (bug #71664). |
---|
337 | |
---|
338 | * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com> |
---|
339 | - put rhn applet in default session |
---|
340 | |
---|
341 | * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com> |
---|
342 | - fix the session file, should speed up login a lot |
---|
343 | - put magicdev in default session |
---|
344 | |
---|
345 | * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com> |
---|
346 | - 2.0.5 with more translations |
---|
347 | |
---|
348 | * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com> |
---|
349 | - 2.0.4 |
---|
350 | - remove gnome-settings-daemon from default session |
---|
351 | |
---|
352 | * Wed Jul 31 2002 Havoc Pennington <hp@redhat.com> |
---|
353 | - 2.0.3 |
---|
354 | - remove splash screen, require redhat-artwork instead |
---|
355 | |
---|
356 | * Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com> |
---|
357 | - Set GTK_RC_FILES so we can change the gtk1 theme |
---|
358 | |
---|
359 | * Tue Jul 16 2002 Havoc Pennington <hp@redhat.com> |
---|
360 | - pass --with-halt-command=/usr/bin/poweroff |
---|
361 | --with-reboot-command=/usr/bin/reboot |
---|
362 | |
---|
363 | * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com> |
---|
364 | - Version 2.0.1, fixing missing po files |
---|
365 | |
---|
366 | * Wed Jun 19 2002 Havoc Pennington <hp@redhat.com> |
---|
367 | - put in new default session with pam-panel-icon |
---|
368 | - disable schema install in make install, fixes rebuild failure. |
---|
369 | |
---|
370 | * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com> |
---|
371 | - rebuild with new libraries |
---|
372 | |
---|
373 | * Thu Jun 13 2002 Havoc Pennington <hp@redhat.com> |
---|
374 | - rebuild in different environment |
---|
375 | |
---|
376 | * Thu Jun 13 2002 Havoc Pennington <hp@redhat.com> |
---|
377 | - add fix from Nalin to build require usermode |
---|
378 | |
---|
379 | * Tue Jun 11 2002 Havoc Pennington <hp@redhat.com> |
---|
380 | - 2.0.0 |
---|
381 | |
---|
382 | * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com> |
---|
383 | - install the schemas, so we get a logout dialog and splash |
---|
384 | - put in the splash from 7.3 |
---|
385 | |
---|
386 | * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com> |
---|
387 | - rebuild in different environment |
---|
388 | |
---|
389 | * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com> |
---|
390 | - rebuild in new environment, require newer gtk2 |
---|
391 | |
---|
392 | * Sun Jun 9 2002 Havoc Pennington <hp@redhat.com> |
---|
393 | - remove obsoletes/provides gnome-core |
---|
394 | |
---|
395 | * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com> |
---|
396 | - rebuild in different environment |
---|
397 | |
---|
398 | * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com> |
---|
399 | - 1.5.21 |
---|
400 | |
---|
401 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
402 | - automated rebuild |
---|
403 | |
---|
404 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
405 | - rebuild in different environment |
---|
406 | |
---|
407 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
408 | - 1.5.19 |
---|
409 | - add more build reqs to chill out build system |
---|
410 | - provide gnome-core |
---|
411 | |
---|
412 | * Fri May 3 2002 Havoc Pennington <hp@redhat.com> |
---|
413 | - obsolete gnome-core |
---|
414 | - 1.5.18 |
---|
415 | |
---|
416 | * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com> |
---|
417 | - default to metacity |
---|
418 | |
---|
419 | * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com> |
---|
420 | - Initial build. |
---|
421 | |
---|
422 | |
---|