gnome-doc-utils.spec revision 12582
10139N/A#
10139N/A# spec file for package gnome-doc-utils
10139N/A#
17185N/A# Copyright (c) 2005 Sun Microsystems, Inc.
18593N/A# This file and all modifications and additions to the pristine
18632N/A# package are under the same license as the package itself.
18593N/A#
13600N/A# Owner: laca
10139N/A#
10139N/AName: gnome-doc-utils
10139N/ALicense: GPL
10139N/AGroup: System/Libraries
10139N/AVersion: 0.12.2
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
19825N/AVendor: Sun Microsystems, Inc.
19825N/ASummary: Documentation utilities for GNOME
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.12/%{name}-%{version}.tar.bz2
18632N/AURL: http://www.gnome.org
18632N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/%{name}
10139N/AAutoreqprov: on
18593N/A
17338N/A%define libxml2_version 2.6.12
10139N/A%define libxslt_version 1.1.8
10139N/A
15536N/ARequires: libxml2 >= %{libxml2_version}
17811N/ARequires: libxslt >= %{libxslt_version}
17811N/A
17811N/ABuildRequires: libxml2-devel >= %{libxml2_version}
15761N/ABuildRequires: libxslt-devel >= %{libxslt_version}
16554N/A
17811N/A%description
16554N/AThis package contains a selection of utilities for managing documents
10139N/Ain the GNOME desktop.
19967N/A
19967N/AThe xml2po program is used to convert between PO files and XML documents.
19967N/AWithin gnome-doc-utils, it is used primarily to translate documentation
18384N/Awritten in the DocBook format.
19967N/A
19967N/AThe gnome-doc-prepare script is used to initialize your source tree for
19967N/Ausing the gnome-doc-utils build utilities. It can also be used to
19967N/Acreate a template document and the necessary supporting files and folders.
19105N/A
18384N/A%prep
19967N/A%setup -q
19967N/A
19967N/A%build
19967N/A%ifos linux
19967N/Aif [ -x /usr/bin/getconf ]; then
19967N/A CPUS=`getconf _NPROCESSORS_ONLN`
19967N/Afi
19967N/A%else
19105N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
19967N/A%endif
19967N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
19967N/A CPUS=1
19967N/Afi
18384N/A
18384N/A./configure $MYARCH_FLAGS \
16633N/A --prefix=%{_prefix} \
11999N/A --datadir=%{_datadir} \
15536N/A --localedir=%{_localedir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --localstatedir=%{_localstatedir}/lib \
10139N/A --mandir=%{_mandir} \
15536N/A --disable-scrollkeeper
10139N/A
12830N/Amake -j $CPUS
12830N/A
17811N/A%install
12830N/Amake install DESTDIR=$RPM_BUILD_ROOT
13914N/A
13915N/A%clean
17811N/Arm -rf $RPM_BUILD_ROOT
14425N/A
16680N/A%files
17811N/A%defattr (-, root, root)
17811N/A%{_bindir}/gnome-doc-prepare
15190N/A%{_bindir}/xml2po
16597N/A%{_libdir}/pkgconfig/*
15536N/A%{_mandir}/man1/*
17811N/A%{_datadir}/aclocal/*
15216N/A%{_datadir}/gnome-doc-utils/*
15418N/A%{_datadir}/gnome/help/*
19825N/A%{_datadir}/omf/*
17811N/A%{_datadir}/xml/*
15418N/A%{_datadir}/xml2po/*
16554N/A
16554N/A%changelog
17811N/A* Tue Mar 11 2008 - damien.carbery@sun.com
16554N/A- Specify --datadir and --localedir to correct install dir of locale files.
16554N/A* Mon Mar 10 2008 - damien.carbery@sun.com
16597N/A- Bump to 0.12.2.
17811N/A* Wed Feb 13 2008 - damien.carbery@sun.com
17811N/A- Bump to 0.12.1.
15516N/A* Wed Sep 19 2007 - damien.carbery@sun.com
17338N/A- Remove the --host parameter from configure because it breaks the build.
17811N/A* Tue Sep 18 2007 - damien.carbery@sun.com
17811N/A- Bump to 0.12.0.
17811N/A* Thu Aug 23 2007 - laca@sun.com
17811N/A- delete patch 01-gettext
17811N/A- use DESTDIR in %install
17338N/A- don't autotoolize
15536N/A- add --mandir and --host options
17811N/A* Mon Aug 20 2007 - damien.carbery@sun.com
15529N/A- Add patch 01-gettext to fix 6329710. Add appropriate autofoo. Remove moving
17811N/A of manpage dir as it is not installed under %{_prefix}/man.
17811N/A* Mon Aug 20 2007 - damien.carbery@sun.com
15761N/A- Bump to 0.11.2.
16020N/A* Tue Jul 31 2007 - damien.carbery@sun.com
16020N/A- Bump to 0.11.1.
17811N/A* Tue Apr 10 2007 - damien.carbery@sun.com
16020N/A- Bump to 0.10.3. Remove upstream patch 01-nawk-w.
16020N/A* Tue Mar 13 2007 - damien.carbery@sun.com
17964N/A- Bump to 0.10.1.
17811N/A* Tue Mar 13 2007 - damien.carbery@sun.com
17811N/A- Bump to 0.10.0.
17811N/A* Wed Feb 28 2007 - halton.huo@sun.com
17811N/A- Fix source url error.
16549N/A- Remove old comments about upgarde from 0.8.x to 0.9.x
17811N/A* Tue Feb 27 2007 - damien.carbery@sun.com
19825N/A- Bump to 0.9.2. Add patch, 01-nawk-w, to remove '-W compat' switch that breaks
17811N/A on Solaris.
16532N/A* Fri Jan 26 2007 - damien.carbery@sun.com
17811N/A- Bump to 0.9.1, but, because it doesn't build, leave at 0.8.0.
19825N/A* Tue Sep 05 2006 - damien.carbery@sun.com
17811N/A- Bump to 0.8.0.
17811N/A* Tue Aug 08 2006 - brian.cameron@sun.com
17964N/A- Bump to 0.7.2.
17964N/A* Wed Jul 21 2006 - dermot.mccluskey@sun.com
17964N/A- Bump to 0.7.1.
18036N/A* Mon Jul 10 2006 - brian.cameron@sun.com
18036N/A- Bump to 0.6.1.
18036N/A* Sun Mar 12 2006 - damien.carbery@sun.com
18036N/A- Bump to 0.6.0.
18190N/A* Mon Feb 27 2006 - damien.carbery@sun.com
18190N/A- Bump to 0.5.7.
18190N/A* Sun Feb 19 2006 - damien.carbery@sun.com
18251N/A- Bump to 0.5.6.
18251N/A* Mon Feb 13 2006 - damien.carbery@sun.com
18251N/A- Bump to 0.5.5.
18251N/A* Tue Jan 31 2006 - damien.carbery@sun.com
18384N/A- Bump to 0.5.4.
18384N/A* Thu Dec 22 2005 - damien.carbery@sun.com
18384N/A- Bump to 0.5.2.
18384N/A* Tue Nov 29 2005 - damien.carbery@sun.com
18384N/A- Bump to 0.4.4.
18384N/A* Wed Oct 26 2005 - damien.carbery@sun.com
18384N/A- Bump to 0.4.3.
18384N/A* Thu Sep 29 2005 - brian.cameron@sunc.om
18384N/A- Bump to 0.4.2.
18384N/A* Thu Sep 08 2005 - brian.cameron@sun.com
18384N/A- Bump to 0.4.1 since this contains some fixes that cause things
19967N/A to break for Solaris in 0.4.0.
19967N/A* Mon Aug 15 2005 - damien.carbery@sun.com
19967N/A- Bump to 0.3.2.
18384N/A* Thu Jun 09 2005 - matt.keenan@sun.com
19967N/A- Update so that builds
18384N/A* Wed May 18 2005 - glynn.foster@sun.com
18384N/A- Initial spec of gnome-doc-utils
18384N/A