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

Revision 8084, 15.3 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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.1
17Release: 3%{?_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.32.1-default-settings-vine.patch
54Patch7: libgnome-2.9.1-popt.patch
55
56Patch11: libgnome-2.32.1-glib-2.36.x.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%patch11 -p1 -b .glib
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%endif
236
237%changelog
238* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-3
239- rebuild with VineSeed environment
240- add Patch11 (libgnome-2.32.1-glib-2.36.x.patch)
241
242* Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32.1-2
243- update patch6 to enable {buttons,menus}_have_icons
244
245* Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
246- new upstream release
247
248* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
249- new upstream release
250- remove BuildRequires: esound-devel
251- remove Requires: esound-devel (devel package)
252- add BuildRequires: libcanberra-devel
253- add Requires: libcanberra-devel (devel package)
254
255* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.0-2
256- build with rpm-4.8.1-1 for pkg-config file
257
258* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
259- new upstream release
260
261* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
262- new upstream release
263
264* Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-4
265- added compat32 package for x86_64 arch support
266
267* Tue May 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
268- add Requires: popt-devel to -devel
269
270* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
271- update Patch1 to set "zoom" for picture_options instead of "stretched"
272
273* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
274- new upstream release
275- disable static libs
276
277* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
278- new upstream release
279
280* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
281- new upstream release
282
283* Wed Apr  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-2vl5
284- added Patch6, dropped Patch10
285
286* Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
287- new upstream release
288- dropped Patch6 (was merged into new upstream)
289
290* Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
291- new upstream release
292- updated Patch0 and 1
293
294* Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
295- new upstream release
296
297* Wed Feb  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-0vl3
298- remove bonobo-activation-devel dependancy <BTS:464>
299
300* Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
301- add bindtextdomain/bindtextdomain_codeset before initilize help
302  options to fix corruption of help option message.
303
304* Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
305- new upstream release
306
307* Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.90-0vl1
308- new upstream release
309
310* Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0.1-0vl1
311- new upstream release
312
313* Sun Aug 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.3-0vl1
314- new upstream release
315
316* Fri Aug 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.2-0vl1
317- new upstream release
318
319* Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
320- new upstream release
321
322* Mon Jul 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
323- new upstream release
324
325* Mon Mar 28 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl2
326- patch100 disabled (no va_list problem on current gcc)
327
328* Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
329- new upstream version
330
331* Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl5
332- change default {icons,cursor,gtk} theme to Vine.
333
334* Sun Mar 06 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.1-0vl4
335- added patch100 for ppc
336- (FYI: Inagaki-san's 2.8.1-0vl1 was actually 0vl3)
337
338* Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
339- new upstream release
340
341* Thu Nov 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.0-0vl3
342- gnome_vfs2_version macro set to 2.5.3
343
344* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl2
345- update Vine default patches for gnome-2.8
346
347* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
348- new upstream release
349
350* Tue Mar  9 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
351- change default wallpaper to default.jpg
352- add Requires: vine-backgrouonds >= 2.0
353
354* Mon Sep 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
355- fix default-theme patch
356
357* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
358- new upstream release
359
360* Tue Aug 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
361- new upstream release
362
363* Wed Jun 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl2
364- update patch0 to use NeoVine as default gtk theme
365
366* Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
367- new upstream release
368
369* Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
370- new upstream release
371
372* Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
373- new upstream release
374
375* Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
376- new upstream release
377
378* Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
379- new upstream release
380
381* Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
382- new upstream release
383
384* Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
385- build for Vine Linux
386- new upstream release (gnome-2.1.4)
387
388* Wed Aug 28 2002 Matt Wilson <msw@redhat.com> 2.0.2-5
389- added libgnome-2.0.2-program-init.patch to enable correct module
390  initialization when gnome_program_init is called after
391  gnome_program_module_register
392
393* Wed Aug 21 2002 Elliot Lee <sopwith@redhat.com> 2.0.2-4
394- Fix #64908 with patch3 (scoreloc)
395- Add smp_mflags
396
397* Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
398- s/Wonderland/Bluecurve/
399
400* Thu Aug  8 2002 Havoc Pennington <hp@redhat.com>
401- change default background to new spec from garrett
402
403* Wed Aug  7 2002 Havoc Pennington <hp@redhat.com>
404- 2.0.2
405
406* Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
407- Add schema for monospaced font
408
409* Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
410- Fix find_lang
411
412* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
413- 2.0.1
414- put bonobo monikers in file list (don't know what they
415  do, but assuming they do something)
416- include /etc/sound in file list
417
418* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
419- rebuild in different environment
420
421* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
422- change default gtk theme to Wonderland
423
424* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
425- rebuild in different environment
426
427* Wed Jun  5 2002 Havoc Pennington <hp@redhat.com>
428- 1.117.2
429- add ldconfig calls
430
431* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
432- rebuild in different environment
433
434* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
435- rebuild in different environment
436- add bonobo-activation build requires
437
438* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
439- 1.117.1
440
441* Fri May  3 2002 Havoc Pennington <hp@redhat.com>
442- 1.116.0
443
444* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
445- 1.114.0
446
447* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
448- 1.111.0
449
450* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
451- Version 1.110.0
452
453* Tue Jan 22 2002 Havoc Pennington <hp@redhat.com>
454- remove bogus dependency on libdb1
455
456* Thu Jan  3 2002 Havoc Pennington <hp@redhat.com>
457- fix the post script
458
459* Thu Jan  3 2002 Havoc Pennington <hp@redhat.com>
460- 1.108.0.90 cvs snap
461
462* Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
463- fix .schemas in post
464
465* Tue Nov 27 2001 Havoc Pennington <hp@redhat.com>
466- update CVS snap to 1.107.0.90, glib 1.3.11
467- add libxslt dep
468- require specific versions of dependent libs
469- add bunch of missing stuff to file list
470- install gconf schemas in post
471
472* Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
473- well, you only get the new CVS snap if you actually change the version in the spec file, doh
474
475* Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
476- new cvs snap, rebuild for glib 1.3.10, remove gtk requires
477
478* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
479- new CVS snap, rebuild in 7.2-gnome
480
481* Tue Sep 18 2001 Havoc Pennington <hp@redhat.com>
482- Initial build.
483- remove gtk2 dependency, doh
Note: See TracBrowser for help on using the repository browser.