source: projects/specs/trunk/g/gnome-session/gnome-session-vl.spec @ 6273

Revision 6273, 12.3 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

RevLine 
[6078]1%define glib2_version 2.32.1
[6011]2%define pango_version 1.30.0
[6078]3%define gtk3_version 3.4.1
[4616]4%define gconf2_version 2.32.2
[2041]5%define dbus_glib_version 0.88
6%define dbus_version 1.4.0
7%define libnotify_version 0.4.5
[521]8
[4616]9%define po_package gnome-session-3.0
[521]10
11Summary: GNOME session manager
12Summary(ja): GNOME セッションマネージャ
13Name: gnome-session
[6273]14Version: 3.4.2.1
[2219]15Release: 1%{?_dist_release}
[521]16URL: http://www.gnome.org/
17License: GPLv2+
18Group: User Interface/Desktops
19
[6011]20Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-session/3.4/%{name}-%{version}.tar.xz
[521]21Source1: vine-default-session
22Source2: gnome.desktop
[2179]23Source3: gnome-session.gnome-2-32.ja.po
[521]24
25# fixed upstream
26
27BuildRoot: %{_tmppath}/%{name}-%{version}-root
28BuildRequires: glib2-devel >= %{glib2_version}
29BuildRequires: pango-devel >= %{pango_version}
30BuildRequires: gtk2-devel >= %{gtk2_version}
31BuildRequires: GConf2-devel >= %{gconf2_version}
32BuildRequires: dbus-devel >= %{dbus_version}
33BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
34BuildRequires: libnotify-devel >= %{libnotify_version}
[4616]35BuildRequires: librsvg2-devel
[521]36BuildRequires: usermode
[805]37BuildRequires: startup-notification-devel
38BuildRequires: libSM-devel
[4812]39BuildRequires: libXtst-devel
[6273]40BuildRequires: xorg-x11-xtrans-devel
[4704]41BuildRequires: upower-devel
42BuildRequires: json-glib-devel
[805]43BuildRequires: desktop-file-utils
[521]44
45Requires(post): GConf2 >= %{gconf2_version}
46Requires(pre): GConf2 >= %{gconf2_version}
47Requires(preun): GConf2 >= %{gconf2_version}
48Conflicts: gdm < 2.4.0.7
49Requires: vine-backgrounds >= 3.8
50Requires: control-center
[4616]51Requires: gsettings-desktop-schemas
[521]52
[4616]53Vendor: Project Vine
54Distribution: Vine Linux
55Packager: Takemikaduchi
56
[521]57%description
58gnome-session manages a GNOME desktop session. It starts up the other core
59GNOME components and handles logout and saving the session.
60
61
62%prep
63%setup -q
[4616]64#cp %{SOURCE3} po/ja.po
[521]65
66%build
67#sed -i -e 's/GNOME_COMPILE_WARNINGS.*//' configure.in
68
69#aclocal
70#automake
71#intltoolize --force --copy
72#autoheader
73#autoconf
74
75%configure \
[4812]76    --enable-compile-warnings=no
77
[521]78make %{?_smp_mflags}
79
80#    --with-halt-command=/usr/bin/poweroff \
81#    --with-reboot-command=/usr/bin/reboot \
82
83%install
84rm -rf $RPM_BUILD_ROOT
85
86export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
[4616]87make install DESTDIR=$RPM_BUILD_ROOT
[521]88unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
89
90desktop-file-install --vendor gnome --delete-original                   \
91  --dir $RPM_BUILD_ROOT%{_datadir}/applications                         \
92  --add-only-show-in GNOME                                              \
93  $RPM_BUILD_ROOT%{_datadir}/applications/*
94#  --add-category Settings                                               \
95#  --add-category AdvancedSettings                                      \
96
97./mkinstalldirs ${RPM_BUILD_ROOT}%{_datadir}/xsessions/
98install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/xsessions/
99
100#/bin/rm $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
101./mkinstalldirs ${RPM_BUILD_ROOT}%{_datadir}/gnome/
102install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
103
104mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart
105mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
106
107# remove gnome default splash screen
108#rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/*
109mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
110
111#
112rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
113
114%find_lang %{po_package}
115
116%clean
117rm -rf $RPM_BUILD_ROOT
118
[4616]119%post -p /sbin/ldconfig
120
121%postun
[521]122/sbin/ldconfig
[4616]123glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[521]124
[4616]125%posttrans
126glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[521]127
128
129%files -f %{po_package}.lang
130%defattr(-,root,root)
131%doc AUTHORS COPYING ChangeLog NEWS README
132#doc %{_docdir}/%{name}/dbus/gnome-session.html
133%{_sysconfdir}/xdg/autostart
134%{_bindir}/*
[4616]135%{_libexecdir}/gnome-session-check-accelerated
136%{_libexecdir}/gnome-session-check-accelerated-helper
137%{_datadir}/GConf/gsettings/gnome-session.convert
138%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
[521]139%{_datadir}/gnome
140%{_datadir}/gnome-session/*.ui
[6011]141%{_datadir}/gnome-session/hardware-compatibility
[4616]142%{_datadir}/gnome-session/sessions/*
[521]143%{_datadir}/applications/*
144%{_datadir}/xsessions/*
145%dir %{_datadir}/pixmaps/splash
146%{_datadir}/icons/hicolor/*
147%{_mandir}/man*/*
148
149
150%changelog
[6273]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
[6201]155* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
156- new upstream release
157
[6078]158* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
[6011]159- new upstream release
160
[5038]161* Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
162- new upstream release
163
[4850]164* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
165- new upstream release
166
[4812]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
[4704]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
[4650]175* Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
176- new upstream release
177
[4616]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
[2219]183* Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
184- new upstream release
185
[2179]186* Sat Nov 06 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.0-2
187- update translation.
188
[2041]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
[1260]193* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
194- new upstream release
195
[805]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
[521]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
Note: See TracBrowser for help on using the repository browser.