libgnome.spec revision 11139
16880N/A#
16880N/A# spec file for package libgnome
16880N/A#
18105N/A# Copyright (c) 2005 Sun Microsystems, Inc.
16880N/A# This file and all modifications and additions to the pristine
16880N/A# package are under the same license as the package itself.
16880N/A#
17185N/A# Owner: alo
17993N/A#
16880N/AName: libgnome
18105N/ALicense: LGPL
16880N/AGroup: System/Libraries/GNOME
16880N/AVersion: 2.19.1
16880N/ARelease: 5
16880N/ADistribution: Java Desktop System
17398N/AVendor: Sun Microsystems, Inc.
16880N/ASummary: GNOME Base Library
16880N/ASource: http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.19/libgnome-%{version}.tar.bz2
16880N/A# owner:alo date:2005-04-26 type:branding
16880N/APatch1: libgnome-01-default-background.diff
16880N/A# owner:alo date:2005-07-18 type:branding
16880N/APatch2: libgnome-02-default-theme.diff
17384N/A# owner:mattman date:2005-07-18 type:branding bugzilla:395887
17237N/APatch3: libgnome-03-lockdown-schemas.diff
17237N/A# owner:alo date:2005-07-18 type:branding
17237N/APatch4: libgnome-04-input-method-status-style.diff
16880N/AURL: http://www.gnome.org
17237N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17521N/ADocdir: %{_defaultdocdir}/doc
17402N/AAutoreqprov: on
17521N/APrereq: /sbin/ldconfig
17521N/A
17662N/A%define GConf_version 2.6.1
17662N/A%define gnome_vfs_version 2.6.0
17662N/A%define libbonobo_version 2.6.0
17662N/A%define libxslt_version 1.1.2
17686N/A%define audiofile_version 0.2.5
17686N/A%define esound_version 0.2.33
17688N/A%define gtk_doc_version 1.1
17688N/A%define popt_version 1.7
17863N/A
18507N/ABuildRequires: GConf-devel >= %{GConf_version}
18105N/ABuildRequires: libbonobo-devel >= %{libbonobo_version}
18507N/ABuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
16880N/ABuildRequires: libxslt-devel >= %{libxslt_version}
16880N/ABuildRequires: esound-devel >= %{esound_version}
16880N/A# Audio file header files are include in base pkg in SuSE 9.1
16880N/ABuildRequires: audiofile >= %{audiofile_version}
16880N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
16880N/ABuildRequires: popt-devel >= %{popt_version}
16880N/ARequires: GConf >= %{GConf_version}
16880N/ARequires: libbonobo >= %{libbonobo_version}
16880N/ARequires: esound >= %{esound_version}
16880N/ARequires: audiofile >= %{audiofile_version}
16880N/ARequires: libxslt >= %{libxslt_version}
16880N/A
16880N/A%description
16880N/Alibgnome is one of the base GNOME libraries, containing convenient API for
16880N/Aconfiguration, help, initialization and web links, all specific to the
16880N/AGNOME desktop.
16880N/A
16880N/A%package devel
16880N/ASummary: GNOME Base Development Library
16880N/AGroup: Development/Libraries/GNOME
16880N/ARequires: %name = %version-%release
16880N/ARequires: popt-devel >= %{popt_version}
16880N/ARequires: libbonobo-devel >= %{libbonobo_version}
16880N/A
16880N/A%description devel
16880N/Alibgnome is one of the base GNOME libraries, containing convenient API for
16880N/Aconfiguration, help, initialization and web links, all specific to the
16880N/AGNOME desktop.
16880N/A
16880N/A%prep
16880N/A%setup -q
16880N/A%patch1 -p1
16880N/A%patch2 -p1
16880N/A%patch3 -p1
16880N/A%patch4 -p1
16880N/A
16880N/A%build
16880N/A%ifos linux
16880N/Aif [ -x /usr/bin/getconf ]; then
16880N/A CPUS=`getconf _NPROCESSORS_ONLN`
16880N/Afi
16880N/A%else
16880N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16880N/A%endif
16880N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16880N/A CPUS=1
16880N/Afi
16880N/A
16880N/Alibtoolize --force
16880N/Aglib-gettextize --copy --force
16880N/Aintltoolize --copy --force --automake
16880N/Aaclocal $ACLOCAL_FLAGS -I .
16880N/Aautoconf
16880N/Aautoheader
16880N/Agtkdocize --copy
16880N/Aautomake -a -c -f
16880N/ACFLAGS="$RPM_OPT_FLAGS" \
16880N/A./configure --prefix=%{_prefix} \
16880N/A --datadir=%{_datadir} \
16880N/A --sysconfdir=%{_sysconfdir} \
16880N/A --libexecdir=%{_libexecdir} \
16880N/A --mandir=%{_mandir} \
16880N/A %{gtk_doc_option}
16880N/A./config.status
16880N/Amake -j $CPUS
16880N/A
17521N/A%install
17662N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
17662N/Amake DESTDIR=$RPM_BUILD_ROOT install
17686N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
17688N/A
17803N/A#Copy zh_HK from zh_TW
17863N/A#Fixes bug 4930405
16880N/Ainstall -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
16880N/Ainstall --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
16880N/Arm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.a
16880N/Arm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.la
16880N/Arm $RPM_BUILD_ROOT%{_libdir}/*.a
16880N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
16880N/A
16880N/A%clean
16880N/Arm -rf $RPM_BUILD_ROOT
16880N/A
16880N/A%post
16880N/A/sbin/ldconfig
16880N/ASCHEMAS="desktop_gnome_accessibility_keyboard.schemas \
16880N/A desktop_gnome_accessibility_startup.schemas \
16880N/A desktop_gnome_applications_browser.schemas \
16880N/A desktop_gnome_applications_help_viewer.schemas \
16880N/A desktop_gnome_applications_terminal.schemas \
16880N/A desktop_gnome_applications_window_manager.schemas \
16880N/A desktop_gnome_background.schemas \
16880N/A desktop_gnome_file_views.schemas \
16880N/A desktop_gnome_interface.schemas \
16880N/A desktop_gnome_peripherals_keyboard.schemas \
16880N/A desktop_gnome_peripherals_mouse.schemas \
16880N/A desktop_gnome_sound.schemas \
16880N/A desktop_gnome_thumbnailers.schemas \
16880N/A desktop_gnome_typing_break.schemas \
16880N/A desktop_gnome_lockdown.schemas"
16880N/Aexport GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
16880N/Afor S in $SCHEMAS; do
16880N/A gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
16880N/Adone
16880N/A
16880N/A%postun
16880N/A/sbin/ldconfig
16880N/A
16880N/A%files
16880N/A%defattr(-, root, root)
16880N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
16880N/A%{_bindir}/gnome-open
16880N/A%{_sysconfdir}/sound/events/*.soundlist
16880N/A%{_sysconfdir}/gconf/schemas/*
16880N/A%{_libdir}/libgnome*so.*
16880N/A%{_libdir}/bonobo/monikers/*so*
16880N/A%{_libdir}/bonobo/servers/*.server
16880N/A
16880N/A%files devel
16880N/A%defattr(-, root, root)
16880N/A%{_libdir}/pkgconfig/libgnome-2.0.pc
16880N/A%{_includedir}/libgnome-2.0/libgnome/*.h
16880N/A%{_datadir}/gtk-doc/*
16880N/A%{_libdir}/libgnome*so
16880N/A%{_mandir}/man1/*
16880N/A%{_mandir}/man3/*
16880N/A%{_mandir}/man7/*
16880N/A
16880N/A%changelog
16880N/A* Wed Aug 29 2007 - damien.carbery@sun.com
16880N/A- Add --automake to intltoolize call for consistency with other modules.
16880N/A* Mon Jul 30 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.19.1.
16880N/A* Tue Jun 19 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.19.0.
16880N/A* Mon Mar 12 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.18.0.
16880N/A* Mon Mar 05 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.17.92.
16880N/A* Tue Feb 13 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.17.91.
16880N/A* Mon Jan 22 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.17.90.
16880N/A* Wed Jan 10 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.17.3.
16880N/A* Tue Jan 09 2007 - damien.carbery@sun.com
16880N/A- Bump to 2.17.2.
16880N/A* Thu Dec 07 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.17.1.
16880N/A* Wed Nov 22 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.17.0.
16880N/A* Fri Nov 3 2006 - laca@sun.com
16880N/A- use %gtk_doc_option in configure so that it can be disabled using
16880N/A --without-gtk-doc
16880N/A* Mon Sep 04 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.16.0.
16880N/A* Tue Aug 08 2006 - padraig.obriain@sun.com
16880N/A- Bump to 2.15.2.
16880N/A* Fri Jul 21 2006 - padraig.obriain@sun.com
16880N/A- Bump to 2.15.1.
16880N/A* Tue Apr 11 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.14.1.
16880N/A* Mon Mar 13 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.14.0.
16880N/A* Tue Feb 28 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.13.90.
16880N/A* Thu Feb 16 2006 - brian.cameron@sun.com
16880N/A- Set libexecdir or else we get /usr/libexec in the
16880N/A libgnome.pc file.
16880N/A* Tue Jan 17 2006 - damien.carbery@sun.com
16880N/A- Bump to 2.13.5
16880N/A* Wed Dec 21 2005 - brian.cameron@sun.com
16880N/A- Bump to 2.13.4.
18507N/A* Thu Sep 15 2005 - brian.cameron@sun.com
18507N/A- Bump to 2.12.0.1.
18507N/A* Fri Sep 09 2005 - laca@sun.com
18507N/A- reorder autofoo: move intltoolize after glib-gettextize is the correct
18105N/A po/Makefile.in.in is used
17863N/A* Tue Sep 06 2005 - damien.carbery@sun.com
18105N/A- Call intltoolize, glib-gettextize and gtkdocize to add missing files.
17803N/A* Mon Sep 05 2005 - damien.carbery@sun.com
18105N/A- Bump to 2.11.3.
17688N/A* Mon Aug 15 2005 - damien.carbery@sun.com
18105N/A- Bump to 2.11.2.
18105N/A* Tue Jul 19 2005 - muktha.narayan@wipro.com
18105N/A- Modify libgnome-02-default-theme.diff,
17686N/A libgnome-03-lockdown-schemas.diff and
18105N/A libgnome-04-input-method-status-style.diff
18105N/A so that the changes are applied to the .schemas.in
17521N/A files instead of .schemas files.
18105N/A* Thu Jun 23 2005 - muktha.narayan@wipro.com
17402N/A- Modified libgnome-03-lockdown-schemas.diff to
17402N/A include starsuite and starsuite-printeradmin in the
17402N/A allowed_applications list.
17402N/A Fixes bug #6288742.
17398N/A* Fri May 20 2005 - glynn.foster@sun.com
17398N/A- Remove backgrounds and put them in gnome-backgrounds
17398N/A package. Sanitizes things a lot.
17237N/A* Thu May 12 2005 - muktha.narayan@wipro.com
17237N/A- Modified libgnome-03-lockdown-schemas.diff to
17226N/A update the entries in the allowed_applications list.
17226N/A Fixes bug #6266517.
17226N/A* Fri May 06 2005 - glynn.foster@sun.com
16983N/A- Bump to 2.10.0
16983N/A* Fri Dec 24 2004 - srirama.sharma@wipro.com
16983N/A- Replacing /usr/bin/staroffice with /usr/bin/soffice in
16983N/A libgnome-03-lockdown-schemas.diff. Fixes Bug #6208251.
16880N/A* Thu Oct 28 2004 - matt.keenan@sun.com
16880N/A- Add gnome-open.1 man page
* Thu Oct 21 2004 - vinay.mandyakoppal@wipro.com
- Add patch to fix Launcher to be usable as root.
* Wed Sep 15 2004 - yuriy.kuznetsov@sun.com
- Added libgnome-07-g11n-potfiles.diff
* Wed Aug 18 2004 - brian.cameron@sun.com
- added --enable-gtk-doc.
* Mon Aug 09 2004 - vinay.mandyakoppal@wipro.com
- Added desktop_gnome_typing_break.schemas
* Thu Jul 08 2004 - damien.donlon@sun.com
- Updated l10n content to libgnome-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - niall.power@sun.com
- Ported to rpm4
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Tue May 25 2004 - yuriy.kuznetsov@sun.com
- Added libgnome-06-g11n-potfiles.diff
* Thu May 20 2004 - hidetoshi.tajima@sun.com
Add libgnome-05-input-method-status-style.diff again.
* Wed May 12 2004 - damien.donlon@sun.com
- Updated l10n content to libgnome-l10n-po-1.1.tar.bz2
* Tue May 11 2004 - laszlo.kovacs@sun.com
- rename jdshelp script
* Thu May 06 2004 - laszlo.kovacs@sun.com
- replacing yelp with jds-help.sh in libgnome-03-lockdown-schemas.diff
* Mon May 3 2004 - glynn.foster@wipro.com
- Add bindir, so we get the joys of gnome-open
* Wed Apr 14 2004 - archana.shah@wipro.com
- Removed desktop_gnome_url_handlers.schemas from spec file.
* Mon Mar 29 2004 - damien.donlon@sun.com
- Updated l10n content to libgnome-l10n-po-1.0.tar.bz2
* Mon Mar 22 2004 - glynn.foster@sun.com
- Bump to 2.6.0. Remove the the uninstalled pc patch since
it's upstream.
* Wed Mar 04 2004 - matt.keenan@sun.com
- Bump to 2.5.90, as it contains partial lockdown schema file
- re-engineer lockdown schema patch
- Remove the OrigTree.pm hack
* Mon Feb 23 2004 - stephen.browne@sun.com
- Bump to 2.5.4
* Mon Feb 02 2004 - niall.power@sun.com
- Bump to 2.5.3
- Add OrigTree.pm as source 5.
- Unpack source 1 after build into RPM_BUILD_ROOT (fixes solaris breakage).
- Add patch to add an -uninstalled.pc file for pkgconfig
* Thu Jan 29 2004 - <dermot.mccluskey@sun.com>
- Add patch 06 to search in /usr for intltool perl modules
* Thu Jan 29 2004 - <dermot.mccluskey@sun.com>
- Add dependency on intltool
* Mon Dec 15 2003 - glynn.foster@sun.com
- Bump to 2.5.1
* Tue Oct 21 2003 - matt.keenan@sun.com
- lockdown schema patch
* Wed Oct 08 2003 - stephen.browne@sun.com
- Updated for 2.4
* Fri Sep 05 2003 - michael.twomey@sun.com
- Add libgnome-04-schemas-chinese.diff to fix font sizes.
Fixes bug 4915643.
* Thu Aug 14 2003 - <laca@sun.com>
- move lib*.so to -devel, remove *.a, *.la
* Thu Aug 07 2003 - glynn.foster@sun.com
- Update tarball, reset release, bump version.
* Thu Jul 24 2003 - Laszlo.Kovacs@sun.com
- added libgnome-04-background.diff
* Thu Jul 10 2003 - michael.twomey@sun.com
- Added .po tarball
* Thu Jul 03 2003 - glynn.foster@sun.com
- Remove the joint theme/background patch and separate them
out
* Wed Apr 30 2003 - niall.power@sun.com
- Create new spec file for libgnome