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