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

Revision 805, 14.6 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

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