gnome-doc-utils.spec revision 17178
7082N/A#
7082N/A# spec file for package gnome-doc-utils
7082N/A#
7082N/A# Copyright (c) 2005 Sun Microsystems, Inc.
7082N/A# This file and all modifications and additions to the pristine
7082N/A# package are under the same license as the package itself.
7082N/A#
7082N/A# Owner: laca
7082N/A#
7082N/A
7082N/A%define OSR gnome.org:0
7082N/A
7082N/AName: gnome-doc-utils
7082N/ALicense: GPL
7082N/AGroup: System/Libraries
7082N/AVersion: 0.17.4
7082N/ARelease: 1
7082N/ADistribution: Java Desktop System
7082N/AVendor: Sun Microsystems, Inc.
7082N/ASummary: Documentation utilities for GNOME
7082N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.17/%{name}-%{version}.tar.bz2
7082N/AURL: http://www.gnome.org
7082N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
7082N/ADocdir: %{_defaultdocdir}/%{name}
7082N/AAutoreqprov: on
7082N/A
7082N/A%define libxml2_version 2.6.12
7082N/A%define libxslt_version 1.1.8
7082N/A
7082N/ARequires: libxml2 >= %{libxml2_version}
7082N/ARequires: libxslt >= %{libxslt_version}
8105N/A
8105N/ABuildRequires: libxml2-devel >= %{libxml2_version}
7082N/ABuildRequires: libxslt-devel >= %{libxslt_version}
8392N/A
7082N/A%description
8392N/AThis package contains a selection of utilities for managing documents
7082N/Ain the GNOME desktop.
7082N/A
8105N/AThe xml2po program is used to convert between PO files and XML documents.
8105N/AWithin gnome-doc-utils, it is used primarily to translate documentation
8105N/Awritten in the DocBook format.
8105N/A
8105N/AThe gnome-doc-prepare script is used to initialize your source tree for
8105N/Ausing the gnome-doc-utils build utilities. It can also be used to
8105N/Acreate a template document and the necessary supporting files and folders.
8105N/A
8105N/A%prep
8060N/A%setup -q
8060N/A
7082N/A%build
7082N/A%ifos linux
7082N/Aif [ -x /usr/bin/getconf ]; then
7082N/A CPUS=`getconf _NPROCESSORS_ONLN`
7082N/Afi
7082N/A%else
7082N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
7082N/A%endif
7082N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
7082N/A CPUS=1
7082N/Afi
7082N/A
7082N/A./configure $MYARCH_FLAGS \
7082N/A --prefix=%{_prefix} \
7082N/A --datadir=%{_datadir} \
7082N/A --sysconfdir=%{_sysconfdir} \
7082N/A --localstatedir=%{_localstatedir}/lib \
7082N/A --mandir=%{_mandir} \
7082N/A --disable-scrollkeeper
7082N/A
7082N/Amake -j $CPUS
8283N/A
8283N/A%install
8283N/Amake install DESTDIR=$RPM_BUILD_ROOT
8283N/A
8283N/A%clean
8283N/Arm -rf $RPM_BUILD_ROOT
8283N/A
7082N/A%files
7082N/A%defattr (-, root, root)
7082N/A%{_bindir}/gnome-doc-prepare
7082N/A%{_bindir}/xml2po
7082N/A%{_libdir}/pkgconfig/*
7985N/A%{_mandir}/man1/*
7985N/A%{_datadir}/aclocal/*
7985N/A%{_datadir}/gnome-doc-utils/*
7985N/A%{_datadir}/gnome/help/*
7985N/A%{_datadir}/omf/*
7985N/A%{_datadir}/xml/*
7985N/A%{_datadir}/xml2po/*
7985N/A
8392N/A%changelog
8392N/A* Thu Aug 27 2009 - christian.kelly@sun.com
8409N/A- Bump to 0.17.4.
8392N/A* Tue Jul 28 2009 - christian.kelly@sun.com
8392N/A- Bump to 0.17.3.
8392N/A* Wed Jul 15 2009 - christian.kelly@sun.com
8392N/A- Bump to 0.17.2.
8392N/A* Thu Jun 18 2009 - christian.kelly@sun.com
8392N/A- Bump to 0.17.1.
8409N/A* Wed Apr 15 2009 - dave.lin@sun.com
8409N/A- Bump to 0.16.1
8409N/A* Tue Mar 17 2009 - dave.lin@sun.com
8409N/A- Bump to 0.16.0
8392N/A* Mon Mar 02 2009 - dave.lin@sun.com
8392N/A- Bump to 0.15.2
8392N/A* Fri Feb 06 2009 - christian.kelly@sun.com
7082N/A- Bump to 0.15.1.
8105N/A* Tue Aug 09 2008 - patrick.ale@gmail.com
8105N/A- Correct download URL
8105N/A
8105N/A* Thu Aug 29 2008 - dave.lin@sun.com
8105N/A- Bump to 0.13.1
8105N/A- Remove the unsupported configure option --localedir
7082N/A* Sun Mar 16 2008 - damien.carbery@sun.com
7082N/A- Add hack back in to get build going again. Will split 'glib' out of
7082N/A SUNWgnome-base-specs.spec at a later date.
7082N/A* Fri Mar 14 2008 - damien.carbery@sun.com
7082N/A- Call aclocal/automake/autoconf to install locale files into correct dir.
7082N/A* Tue Mar 11 2008 - damien.carbery@sun.com
7082N/A- Specify --datadir and --localedir to correct install dir of locale files.
8060N/A* Mon Mar 10 2008 - damien.carbery@sun.com
8105N/A- Bump to 0.12.2.
7082N/A* Wed Feb 13 2008 - damien.carbery@sun.com
7082N/A- Bump to 0.12.1.
7082N/A* Wed Sep 19 2007 - damien.carbery@sun.com
8060N/A- Remove the --host parameter from configure because it breaks the build.
7082N/A* Tue Sep 18 2007 - damien.carbery@sun.com
8105N/A- Bump to 0.12.0.
8105N/A* Thu Aug 23 2007 - laca@sun.com
8105N/A- delete patch 01-gettext
8105N/A- use DESTDIR in %install
8105N/A- don't autotoolize
8105N/A- add --mandir and --host options
8105N/A* Mon Aug 20 2007 - damien.carbery@sun.com
8105N/A- Add patch 01-gettext to fix 6329710. Add appropriate autofoo. Remove moving
8105N/A of manpage dir as it is not installed under %{_prefix}/man.
8105N/A* Mon Aug 20 2007 - damien.carbery@sun.com
8105N/A- Bump to 0.11.2.
8105N/A* Tue Jul 31 2007 - damien.carbery@sun.com
8105N/A- Bump to 0.11.1.
8105N/A* Tue Apr 10 2007 - damien.carbery@sun.com
8105N/A- Bump to 0.10.3. Remove upstream patch 01-nawk-w.
8105N/A* Tue Mar 13 2007 - damien.carbery@sun.com
7082N/A- Bump to 0.10.1.
8282N/A* Tue Mar 13 2007 - damien.carbery@sun.com
8060N/A- Bump to 0.10.0.
8060N/A* Wed Feb 28 2007 - halton.huo@sun.com
7082N/A- Fix source url error.
7082N/A- Remove old comments about upgarde from 0.8.x to 0.9.x
7082N/A* Tue Feb 27 2007 - damien.carbery@sun.com
7082N/A- Bump to 0.9.2. Add patch, 01-nawk-w, to remove '-W compat' switch that breaks
8060N/A on Solaris.
8060N/A* Fri Jan 26 2007 - damien.carbery@sun.com
8060N/A- Bump to 0.9.1, but, because it doesn't build, leave at 0.8.0.
8060N/A* Tue Sep 05 2006 - damien.carbery@sun.com
7082N/A- Bump to 0.8.0.
7082N/A* Tue Aug 08 2006 - brian.cameron@sun.com
7082N/A- Bump to 0.7.2.
7082N/A* Wed Jul 21 2006 - dermot.mccluskey@sun.com
8060N/A- Bump to 0.7.1.
7082N/A* Mon Jul 10 2006 - brian.cameron@sun.com
7082N/A- Bump to 0.6.1.
7082N/A* Sun Mar 12 2006 - damien.carbery@sun.com
7082N/A- Bump to 0.6.0.
7082N/A* Mon Feb 27 2006 - damien.carbery@sun.com
7082N/A- Bump to 0.5.7.
7082N/A* Sun Feb 19 2006 - damien.carbery@sun.com
7082N/A- Bump to 0.5.6.
7082N/A* Mon Feb 13 2006 - damien.carbery@sun.com
7082N/A- Bump to 0.5.5.
7082N/A* Tue Jan 31 2006 - damien.carbery@sun.com
7082N/A- Bump to 0.5.4.
7082N/A* Thu Dec 22 2005 - damien.carbery@sun.com
7082N/A- Bump to 0.5.2.
7082N/A* Tue Nov 29 2005 - damien.carbery@sun.com
7082N/A- Bump to 0.4.4.
7082N/A* Wed Oct 26 2005 - damien.carbery@sun.com
7082N/A- Bump to 0.4.3.
7082N/A* Thu Sep 29 2005 - brian.cameron@sunc.om
7082N/A- Bump to 0.4.2.
7082N/A* Thu Sep 08 2005 - brian.cameron@sun.com
7082N/A- Bump to 0.4.1 since this contains some fixes that cause things
7082N/A to break for Solaris in 0.4.0.
7082N/A* Mon Aug 15 2005 - damien.carbery@sun.com
7082N/A- Bump to 0.3.2.
7082N/A* Thu Jun 09 2005 - matt.keenan@sun.com
7082N/A- Update so that builds
7082N/A* Wed May 18 2005 - glynn.foster@sun.com
7082N/A- Initial spec of gnome-doc-utils
8283N/A