source: projects/specs/trunk/lib/libg/libgnome/libgnome-vl.spec @ 2041

Revision 2041, 14.9 KB checked in by Takemikaduchi, 14 years ago (diff)

update to GNOME-2.32.0

Line 
1%define glib2_version 2.20.0
2%define libbonobo_version 2.24.2
3%define libxml2_version 2.6.0
4%define libxslt_version 1.0.30
5%define gconf2_version 2.26.0
6%define gnome_vfs2_version 2.24.2
7%define orbit2_version 2.14.17
8
9%define po_package libgnome-2.0
10
11%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
12
13Summary: GNOME base library
14Summary(ja): GNOME 基本ライブラリ
15Name: libgnome
16Version: 2.32.0
17Release: 1%{?_dist_release}
18URL: ftp://ftp.gnome.org/
19Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/%{name}-%{version}.tar.bz2
20License: LGPLv2+
21Group: System Environment/Libraries
22BuildRoot: %{_tmppath}/%{name}-%{version}-root
23
24Requires:  glib2 >= %{glib2_version}
25Requires:  libbonobo >= %{libbonobo_version}
26Requires:  gnome-vfs2 >= %{gnome_vfs2_version}
27Requires:  libxml2 >= %{libxml2_version}
28Requires:  ORBit2 >= %{orbit2_version}
29Requires:  libxslt >= %{libxslt_version}
30Requires:  vine-backgrounds >= 2.0
31Requires(post,pre,preun):  GConf2 >= %{gconf2_version}
32# Added to avoid the warning messages about utmp group, bug #24171
33# fixme, just libzvt?
34Requires(post): utempter
35
36BuildRequires:  zlib-devel
37BuildRequires:  glib2-devel >= %{glib2_version}
38BuildRequires:  libbonobo-devel >= %{libbonobo_version}
39BuildRequires:  GConf2-devel >= %{gconf2_version}
40BuildRequires:  gnome-vfs2-devel >= %{gnome_vfs2_version}
41BuildRequires:  libxml2-devel >= %{libxml2_version}
42BuildRequires:  ORBit2-devel >= %{orbit2_version}
43BuildRequires:  libxslt-devel >= %{libxslt_version}
44BuildRequires:  intltool
45BuildRequires:  popt-devel >= 1.5
46BuildRequires:  libcanberra-devel
47
48Patch0: libgnome-2.20.1.1-default-theme-vine.patch
49Patch1: libgnome-2.26.0-default-background-vine.patch
50Patch2: libgnome-2.8.0-default-cursor-vine.patch
51Patch3: libgnome-2.11.1-scoreloc.patch
52Patch5: libgnome-2.8.0-default-browser.patch
53Patch6: libgnome-2.22.0-default-settings-vine.patch
54Patch7: libgnome-2.9.1-popt.patch
55
56Patch10: libgnome-2.14.1-i18n-help.patch
57
58%description
59GNOME (GNU Network Object Model Environment) is a user-friendly set of
60GUI applications and desktop tools to be used in conjunction with a
61window manager for the X Window System. The libgnome package includes
62non-GUI-related libraries that are needed to run GNOME. The libgnomeui
63package contains X11-dependent GNOME library features.
64
65
66%package devel
67Summary: Libraries and headers for libgnome
68Summary(ja): libgnome の開発用ライブラリおよびヘッダファイル
69Group: Development/Libraries
70Requires: %{name} = %{version}-%{release}
71
72Conflicts: gnome-libs-devel < 1.4.1.2
73Requires: zlib-devel
74Requires: ORBit2-devel >= %{orbit2_version}
75Requires: glib2-devel >= %{glib2_version}
76Requires: libbonobo-devel >= %{libbonobo_version}
77Requires: GConf2-devel >= %{gconf2_version}
78Requires: gnome-vfs2-devel >= %{gnome_vfs2_version}
79Requires: libxml2-devel >= %{libxml2_version}
80Requires: libxslt-devel >= %{libxslt_version}
81Requires: popt-devel
82Requires: libcanberra-devel
83
84%description devel
85GNOME (GNU Network Object Model Environment) is a user-friendly set of
86GUI applications and desktop tools to be used in conjunction with a
87window manager for the X Window System. The libgnome-devel package
88includes the libraries and include files that you will need to
89use libgnome.
90
91You should install the libgnome-devel package if you would like to
92compile GNOME applications. You do not need to install libgnome-devel
93if you just want to use the GNOME desktop environment.
94
95
96# compat32
97%package -n compat32-%{name}
98Summary: GNOME base library
99Summary(ja): GNOME 基本ライブラリ
100Group: System Environment/Libraries
101Requires: %{name} = %{version}-%{release}
102
103%description -n compat32-%{name}
104GNOME (GNU Network Object Model Environment) is a user-friendly set of
105GUI applications and desktop tools to be used in conjunction with a
106window manager for the X Window System. The libgnome package includes
107non-GUI-related libraries that are needed to run GNOME. The libgnomeui
108package contains X11-dependent GNOME library features.
109
110
111%package -n compat32-%{name}-devel
112Summary: Libraries and headers for libgnome
113Summary(ja): libgnome の開発用ライブラリおよびヘッダファイル
114Group: Development/Libraries
115Requires: %{name}-devel = %{version}-%{release}
116Requires: compat32-%{name} = %{version}-%{release}
117Requires: compat32-zlib-devel
118Requires: compat32-ORBit2-devel >= %{orbit2_version}
119Requires: compat32-glib2-devel >= %{glib2_version}
120Requires: compat32-libbonobo-devel >= %{libbonobo_version}
121Requires: compat32-GConf2-devel >= %{gconf2_version}
122Requires: compat32-gnome-vfs2-devel >= %{gnome_vfs2_version}
123Requires: compat32-libxml2-devel >= %{libxml2_version}
124Requires: compat32-libxslt-devel >= %{libxslt_version}
125Requires: compat32-popt-devel
126
127%description -n compat32-%{name}-devel
128GNOME (GNU Network Object Model Environment) is a user-friendly set of
129GUI applications and desktop tools to be used in conjunction with a
130window manager for the X Window System. The libgnome-devel package
131includes the libraries and include files that you will need to
132use libgnome.
133
134You should install the libgnome-devel package if you would like to
135compile GNOME applications. You do not need to install libgnome-devel
136if you just want to use the GNOME desktop environment.
137
138%prep
139%setup -q
140
141%patch0 -p1 -b .default-theme
142%patch1 -p1 -b .default-background
143%patch2 -p1 -b .default-cursor
144%patch3 -p1 -b .scoreloc
145%patch5 -p1 -b .default-browser
146%patch6 -p1 -b .default-settings
147%patch7 -p1 -b .popt
148
149#patch10 -p1 -b .i18n-help
150
151%build
152%configure --disable-gtk-doc --disable-schemas-install --disable-static --disable-esd
153./config.status
154export tagname=CC
155make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
156
157%install
158rm -rf $RPM_BUILD_ROOT
159export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
160export tagname=CC
161%makeinstall LIBTOOL=%{_bindir}/libtool
162unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
163
164rm $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
165rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.{a,la}
166
167for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do
168    sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile
169done
170
171mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel/.gnome2
172
173# http://bugzilla.gnome.org/show_bug.cgi?id=477846
174rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties
175rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
176
177%find_lang %{po_package}
178
179%clean
180rm -rf $RPM_BUILD_ROOT
181
182%post
183/sbin/ldconfig
184export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
185gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_*.schemas > /dev/null 2>&1 || :
186
187%pre
188if [ "$1" -gt 1 ]; then
189  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
190  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_*.schemas > /dev/null || :
191fi
192
193%preun
194if [ "$1" -eq 0 ]; then
195  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
196  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_*.schemas > /dev/null || :
197fi
198
199%postun -p /sbin/ldconfig
200
201%post -n compat32-%{name} -p /sbin/ldconfig
202
203%postun -n compat32-%{name} -p /sbin/ldconfig
204
205%files -f %{po_package}.lang
206%defattr(-,root,root)
207%doc AUTHORS COPYING.LIB ChangeLog NEWS README
208%{_bindir}/*
209%{_libdir}/lib*.so.*
210%{_libdir}/bonobo/*
211%{_sysconfdir}/gconf/schemas/*
212%{_sysconfdir}/sound
213%{_sysconfdir}/skel/.gnome2
214%{_mandir}/man?/*
215#{_datadir}/gnome-background-properties
216#{_datadir}/pixmaps/backgrounds/gnome/*
217
218%files devel
219%defattr(-,root,root)
220%{_libdir}/lib*.so
221%{_libdir}/pkgconfig/*.pc
222%{_includedir}/*
223%{_datadir}/gtk-doc/html/*
224
225# compat32
226%if %{build_compat32}
227%files -n compat32-%{name}
228%defattr(-,root,root)
229%{_libdir}/lib*.so.*
230%{_libdir}/bonobo/*
231
232%files -n compat32-%{name}-devel
233%defattr(-,root,root)
234%{_libdir}/lib*.so
235%{_libdir}/pkgconfig/*.pc
236%endif
237
238%changelog
239* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
240- new upstream release
241- remove BuildRequires: esound-devel
242- remove Requires: esound-devel (devel package)
243- add BuildRequires: libcanberra-devel
244- add Requires: libcanberra-devel (devel package)
245
246* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.0-2
247- build with rpm-4.8.1-1 for pkg-config file
248
249* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
250- new upstream release
251
252* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
253- new upstream release
254
255* Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-4
256- added compat32 package for x86_64 arch support
257
258* Tue May 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
259- add Requires: popt-devel to -devel
260
261* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
262- update Patch1 to set "zoom" for picture_options instead of "stretched"
263
264* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
265- new upstream release
266- disable static libs
267
268* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
269- new upstream release
270
271* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
272- new upstream release
273
274* Wed Apr  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-2vl5
275- added Patch6, dropped Patch10
276
277* Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
278- new upstream release
279- dropped Patch6 (was merged into new upstream)
280
281* Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
282- new upstream release
283- updated Patch0 and 1
284
285* Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
286- new upstream release
287
288* Wed Feb  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-0vl3
289- remove bonobo-activation-devel dependancy <BTS:464>
290
291* Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
292- add bindtextdomain/bindtextdomain_codeset before initilize help
293  options to fix corruption of help option message.
294
295* Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
296- new upstream release
297
298* Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.90-0vl1
299- new upstream release
300
301* Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0.1-0vl1
302- new upstream release
303
304* Sun Aug 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.3-0vl1
305- new upstream release
306
307* Fri Aug 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.2-0vl1
308- new upstream release
309
310* Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
311- new upstream release
312
313* Mon Jul 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
314- new upstream release
315
316* Mon Mar 28 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl2
317- patch100 disabled (no va_list problem on current gcc)
318
319* Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
320- new upstream version
321
322* Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl5
323- change default {icons,cursor,gtk} theme to Vine.
324
325* Sun Mar 06 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.1-0vl4
326- added patch100 for ppc
327- (FYI: Inagaki-san's 2.8.1-0vl1 was actually 0vl3)
328
329* Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
330- new upstream release
331
332* Thu Nov 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.0-0vl3
333- gnome_vfs2_version macro set to 2.5.3
334
335* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl2
336- update Vine default patches for gnome-2.8
337
338* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
339- new upstream release
340
341* Tue Mar  9 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
342- change default wallpaper to default.jpg
343- add Requires: vine-backgrouonds >= 2.0
344
345* Mon Sep 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
346- fix default-theme patch
347
348* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
349- new upstream release
350
351* Tue Aug 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
352- new upstream release
353
354* Wed Jun 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl2
355- update patch0 to use NeoVine as default gtk theme
356
357* Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
358- new upstream release
359
360* Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
361- new upstream release
362
363* Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
364- new upstream release
365
366* Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
367- new upstream release
368
369* Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
370- new upstream release
371
372* Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
373- new upstream release
374
375* Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
376- build for Vine Linux
377- new upstream release (gnome-2.1.4)
378
379* Wed Aug 28 2002 Matt Wilson <msw@redhat.com> 2.0.2-5
380- added libgnome-2.0.2-program-init.patch to enable correct module
381  initialization when gnome_program_init is called after
382  gnome_program_module_register
383
384* Wed Aug 21 2002 Elliot Lee <sopwith@redhat.com> 2.0.2-4
385- Fix #64908 with patch3 (scoreloc)
386- Add smp_mflags
387
388* Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
389- s/Wonderland/Bluecurve/
390
391* Thu Aug  8 2002 Havoc Pennington <hp@redhat.com>
392- change default background to new spec from garrett
393
394* Wed Aug  7 2002 Havoc Pennington <hp@redhat.com>
395- 2.0.2
396
397* Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
398- Add schema for monospaced font
399
400* Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
401- Fix find_lang
402
403* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
404- 2.0.1
405- put bonobo monikers in file list (don't know what they
406  do, but assuming they do something)
407- include /etc/sound in file list
408
409* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
410- rebuild in different environment
411
412* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
413- change default gtk theme to Wonderland
414
415* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
416- rebuild in different environment
417
418* Wed Jun  5 2002 Havoc Pennington <hp@redhat.com>
419- 1.117.2
420- add ldconfig calls
421
422* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
423- rebuild in different environment
424
425* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
426- rebuild in different environment
427- add bonobo-activation build requires
428
429* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
430- 1.117.1
431
432* Fri May  3 2002 Havoc Pennington <hp@redhat.com>
433- 1.116.0
434
435* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
436- 1.114.0
437
438* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
439- 1.111.0
440
441* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
442- Version 1.110.0
443
444* Tue Jan 22 2002 Havoc Pennington <hp@redhat.com>
445- remove bogus dependency on libdb1
446
447* Thu Jan  3 2002 Havoc Pennington <hp@redhat.com>
448- fix the post script
449
450* Thu Jan  3 2002 Havoc Pennington <hp@redhat.com>
451- 1.108.0.90 cvs snap
452
453* Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
454- fix .schemas in post
455
456* Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
457- update CVS snap to 1.107.0.90, glib 1.3.11
458- add libxslt dep
459- require specific versions of dependent libs
460- add bunch of missing stuff to file list
461- install gconf schemas in post
462
463* Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
464- well, you only get the new CVS snap if you actually change the version in the spec file, doh
465
466* Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
467- new cvs snap, rebuild for glib 1.3.10, remove gtk requires
468
469* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
470- new CVS snap, rebuild in 7.2-gnome
471
472* Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
473- Initial build.
474- remove gtk2 dependency, doh
Note: See TracBrowser for help on using the repository browser.