gnome-doc-utils.spec revision 10283
10139N/A#
10139N/A# spec file for package gnome-doc-utils
10139N/A#
10139N/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#
10139N/A# Owner: laca
10139N/A#
10139N/AName: gnome-doc-utils
10139N/ALicense: GPL
10139N/AGroup: System/Libraries
10283N/AVersion: 0.10.1
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Documentation utilities for GNOME
10280N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.10/%{name}-%{version}.tar.bz2
10139N/APatch1: gnome-doc-utils-01-nawk-w.diff
10139N/AURL: http://www.gnome.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/%{name}
10139N/AAutoreqprov: on
10139N/A
10139N/A%define libxml2_version 2.6.12
10139N/A%define libxslt_version 1.1.8
10139N/A
10139N/ARequires: libxml2 >= %{libxml2_version}
10139N/ARequires: libxslt >= %{libxslt_version}
10139N/A
10139N/ABuildRequires: libxml2-devel >= %{libxml2_version}
10139N/ABuildRequires: libxslt-devel >= %{libxslt_version}
10139N/A
10139N/A%description
10139N/AThis package contains a selection of utilities for managing documents
10139N/Ain the GNOME desktop.
10139N/A
10139N/AThe xml2po program is used to convert between PO files and XML documents.
10139N/AWithin gnome-doc-utils, it is used primarily to translate documentation
10139N/Awritten in the DocBook format.
10139N/A
10139N/AThe gnome-doc-prepare script is used to initialize your source tree for
10139N/Ausing the gnome-doc-utils build utilities. It can also be used to
10139N/Acreate a template document and the necessary supporting files and folders.
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch1 -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/ACFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
10139N/A --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --localstatedir=%{_localstatedir}/lib \
10139N/A --disable-scrollkeeper
10139N/A
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
10139N/A
10139N/A#man pages
10139N/Amv -f $RPM_BUILD_ROOT/%{_prefix}/man $RPM_BUILD_ROOT/%{_datadir}/man
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, root)
10139N/A%{_bindir}/gnome-doc-prepare
10139N/A%{_bindir}/xml2po
10139N/A%{_libdir}/pkgconfig/*
10139N/A%{_mandir}/man1/*
10139N/A%{_datadir}/aclocal/*
10139N/A%{_datadir}/gnome-doc-utils/*
10139N/A%{_datadir}/gnome/help/*
10139N/A%{_datadir}/omf/*
10139N/A%{_datadir}/xml/*
10139N/A%{_datadir}/xml2po/*
10139N/A
10139N/A%changelog
10280N/A* Tue Mar 13 2007 - damien.carbery@sun.com
10283N/A- Bump to 0.10.1.
10283N/A* Tue Mar 13 2007 - damien.carbery@sun.com
10280N/A- Bump to 0.10.0.
10139N/A* Wed Feb 28 2007 - halton.huo@sun.com
10139N/A- Fix source url error.
10139N/A- Remove old comments about upgarde from 0.8.x to 0.9.x
10139N/A* Tue Feb 27 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.9.2. Add patch, 01-nawk-w, to remove '-W compat' switch that breaks
10139N/A on Solaris.
10139N/A* Fri Jan 26 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.9.1, but, because it doesn't build, leave at 0.8.0.
10139N/A* Tue Sep 05 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.8.0.
10139N/A* Tue Aug 08 2006 - brian.cameron@sun.com
10139N/A- Bump to 0.7.2.
10139N/A* Wed Jul 21 2006 - dermot.mccluskey@sun.com
10139N/A- Bump to 0.7.1.
10139N/A* Mon Jul 10 2006 - brian.cameron@sun.com
10139N/A- Bump to 0.6.1.
10139N/A* Sun Mar 12 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.6.0.
10139N/A* Mon Feb 27 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.5.7.
10139N/A* Sun Feb 19 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.5.6.
10139N/A* Mon Feb 13 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.5.5.
10139N/A* Tue Jan 31 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.5.4.
10139N/A* Thu Dec 22 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.5.2.
10139N/A* Tue Nov 29 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.4.4.
10139N/A* Wed Oct 26 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.4.3.
10139N/A* Thu Sep 29 2005 - brian.cameron@sunc.om
10139N/A- Bump to 0.4.2.
10139N/A* Thu Sep 08 2005 - brian.cameron@sun.com
10139N/A- Bump to 0.4.1 since this contains some fixes that cause things
10139N/A to break for Solaris in 0.4.0.
10139N/A* Mon Aug 15 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.3.2.
10139N/A* Thu Jun 09 2005 - matt.keenan@sun.com
10139N/A- Update so that builds
10139N/A* Wed May 18 2005 - glynn.foster@sun.com
10139N/A- Initial spec of gnome-doc-utils