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