gnome-doc-utils.spec revision 17185
10139N/A#
10139N/A# spec file for package gnome-doc-utils
10139N/A#
18966N/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%define owner laca
10139N/A#
10139N/A
17176N/A%define OSR gnome.org:0
17176N/A
17176N/AName: gnome-doc-utils
10139N/ALicense: GPL
15322N/AGroup: System/Libraries
10139N/AVersion: 0.17.4
18496N/ARelease: 1
11020N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
18615N/ASummary: Documentation utilities for GNOME
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.17/%{name}-%{version}.tar.bz2
10139N/AURL: http://www.gnome.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
11207N/ADocdir: %{_defaultdocdir}/%{name}
16428N/AAutoreqprov: on
16428N/A
12786N/A%define libxml2_version 2.6.12
19019N/A%define libxslt_version 1.1.8
18966N/A
19019N/ARequires: libxml2 >= %{libxml2_version}
19019N/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
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/A./configure $MYARCH_FLAGS \
10139N/A --prefix=%{_prefix} \
10139N/A --datadir=%{_datadir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --localstatedir=%{_localstatedir}/lib \
10139N/A --mandir=%{_mandir} \
10139N/A --disable-scrollkeeper
10139N/A
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
18966N/Amake install DESTDIR=$RPM_BUILD_ROOT
19019N/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/*
16777N/A%{_datadir}/xml/*
10392N/A%{_datadir}/xml2po/*
13004N/A
13004N/A%changelog
10139N/A* Thu Aug 27 2009 - christian.kelly@sun.com
11881N/A- Bump to 0.17.4.
11314N/A* Tue Jul 28 2009 - christian.kelly@sun.com
11391N/A- Bump to 0.17.3.
10139N/A* Wed Jul 15 2009 - christian.kelly@sun.com
10139N/A- Bump to 0.17.2.
10139N/A* Thu Jun 18 2009 - christian.kelly@sun.com
11314N/A- Bump to 0.17.1.
11020N/A* Wed Apr 15 2009 - dave.lin@sun.com
10139N/A- Bump to 0.16.1
10139N/A* Tue Mar 17 2009 - dave.lin@sun.com
10139N/A- Bump to 0.16.0
11314N/A* Mon Mar 02 2009 - dave.lin@sun.com
10139N/A- Bump to 0.15.2
10139N/A* Fri Feb 06 2009 - christian.kelly@sun.com
10139N/A- Bump to 0.15.1.
10139N/A* Tue Aug 09 2008 - patrick.ale@gmail.com
11314N/A- Correct download URL
10139N/A
10139N/A* Thu Aug 29 2008 - dave.lin@sun.com
10139N/A- Bump to 0.13.1
10139N/A- Remove the unsupported configure option --localedir
10139N/A* Sun Mar 16 2008 - damien.carbery@sun.com
10139N/A- Add hack back in to get build going again. Will split 'glib' out of
10139N/A SUNWgnome-base-specs.spec at a later date.
10139N/A* Fri Mar 14 2008 - damien.carbery@sun.com
10139N/A- Call aclocal/automake/autoconf to install locale files into correct dir.
11207N/A* Tue Mar 11 2008 - damien.carbery@sun.com
11328N/A- Specify --datadir and --localedir to correct install dir of locale files.
10139N/A* Mon Mar 10 2008 - damien.carbery@sun.com
10139N/A- Bump to 0.12.2.
10139N/A* Wed Feb 13 2008 - damien.carbery@sun.com
10139N/A- Bump to 0.12.1.
10139N/A* Wed Sep 19 2007 - damien.carbery@sun.com
10139N/A- Remove the --host parameter from configure because it breaks the build.
10139N/A* Tue Sep 18 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.12.0.
10139N/A* Thu Aug 23 2007 - laca@sun.com
10139N/A- delete patch 01-gettext
10139N/A- use DESTDIR in %install
10139N/A- don't autotoolize
10139N/A- add --mandir and --host options
10139N/A* Mon Aug 20 2007 - damien.carbery@sun.com
10139N/A- Add patch 01-gettext to fix 6329710. Add appropriate autofoo. Remove moving
10139N/A of manpage dir as it is not installed under %{_prefix}/man.
10139N/A* Mon Aug 20 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.11.2.
10139N/A* Tue Jul 31 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.11.1.
10139N/A* Tue Apr 10 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.10.3. Remove upstream patch 01-nawk-w.
10139N/A* Tue Mar 13 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.10.1.
10139N/A* Tue Mar 13 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.10.0.
10139N/A* Wed Feb 28 2007 - halton.huo@sun.com
10139N/A- Fix source url error.
18966N/A- Remove old comments about upgarde from 0.8.x to 0.9.x
18966N/A* Tue Feb 27 2007 - damien.carbery@sun.com
18496N/A- Bump to 0.9.2. Add patch, 01-nawk-w, to remove '-W compat' switch that breaks
18496N/A on Solaris.
18245N/A* Fri Jan 26 2007 - damien.carbery@sun.com
18245N/A- Bump to 0.9.1, but, because it doesn't build, leave at 0.8.0.
18245N/A* Tue Sep 05 2006 - damien.carbery@sun.com
16777N/A- Bump to 0.8.0.
16777N/A* Tue Aug 08 2006 - brian.cameron@sun.com
15636N/A- Bump to 0.7.2.
15635N/A* Wed Jul 21 2006 - dermot.mccluskey@sun.com
15503N/A- Bump to 0.7.1.
15503N/A* Mon Jul 10 2006 - brian.cameron@sun.com
15476N/A- Bump to 0.6.1.
15476N/A* Sun Mar 12 2006 - damien.carbery@sun.com
15192N/A- Bump to 0.6.0.
15192N/A* Mon Feb 27 2006 - damien.carbery@sun.com
15192N/A- Bump to 0.5.7.
13824N/A* Sun Feb 19 2006 - damien.carbery@sun.com
13824N/A- Bump to 0.5.6.
13003N/A* Mon Feb 13 2006 - damien.carbery@sun.com
13003N/A- Bump to 0.5.5.
13003N/A* Tue Jan 31 2006 - damien.carbery@sun.com
13824N/A- Bump to 0.5.4.
12786N/A* Thu Dec 22 2005 - damien.carbery@sun.com
13824N/A- Bump to 0.5.2.
12485N/A* Tue Nov 29 2005 - damien.carbery@sun.com
12485N/A- Bump to 0.4.4.
12222N/A* Wed Oct 26 2005 - damien.carbery@sun.com
12485N/A- Bump to 0.4.3.
12221N/A* Thu Sep 29 2005 - brian.cameron@sunc.om
11902N/A- Bump to 0.4.2.
11902N/A* Thu Sep 08 2005 - brian.cameron@sun.com
11902N/A- Bump to 0.4.1 since this contains some fixes that cause things
11391N/A to break for Solaris in 0.4.0.
11391N/A* Mon Aug 15 2005 - damien.carbery@sun.com
11314N/A- Bump to 0.3.2.
11314N/A* Thu Jun 09 2005 - matt.keenan@sun.com
11207N/A- Update so that builds
11207N/A* Wed May 18 2005 - glynn.foster@sun.com
11207N/A- Initial spec of gnome-doc-utils
11207N/A