merge review(#226568): ship documentation files, fix license tag, use

recommended parrallel make, make install instead of makeinstall macro,
    require libxslt instead of direct binary requirement, do not
    unnecessarily touch .xml files in doc subdir
This commit is contained in:
Ondrej Vasik 2008-12-12 11:02:59 +00:00
parent ad8d0807c6
commit 60c6e1b4b5

View File

@ -1,8 +1,8 @@
Summary: A tool for converting XML files to various formats Summary: A tool for converting XML files to various formats
Name: xmlto Name: xmlto
Version: 0.0.21 Version: 0.0.21
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2 License: GPLv2+
Group: Applications/System Group: Applications/System
#Older versions up to xmlto-0.0.20 #Older versions up to xmlto-0.0.20
#URL: http://cyberelk.net/tim/xmlto/ #URL: http://cyberelk.net/tim/xmlto/
@ -13,13 +13,13 @@ Source0: http://svn.fedorahosted.org/svn/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: docbook-xsl >= 1.56.0 BuildRequires: docbook-xsl >= 1.56.0
BuildRequires: /usr/bin/xsltproc BuildRequires: libxslt
BuildRequires: util-linux, flex BuildRequires: util-linux, flex
# We rely heavily on the DocBook XSL stylesheets! # We rely heavily on the DocBook XSL stylesheets!
Requires: docbook-xsl >= 1.56.0 Requires: docbook-xsl >= 1.56.0
Requires: text-www-browser Requires: text-www-browser
Requires: /usr/bin/xsltproc Requires: libxslt
Requires: docbook-dtds Requires: docbook-dtds
Requires: util-linux, flex Requires: util-linux, flex
@ -30,7 +30,7 @@ stylesheets.
%package tex %package tex
Group: Applications/System Group: Applications/System
License: GPLv2 License: GPLv2
Summary: A set of xmlto backends with TeX requirements Summary: A set of xmlto backends with TeX requirements
# For full functionality, we need passivetex. # For full functionality, we need passivetex.
Requires: passivetex >= 1.11 Requires: passivetex >= 1.11
# We require main package # We require main package
@ -44,21 +44,21 @@ PassiveTeX/TeX for functionality.
%setup -q %setup -q
%build %build
touch doc/xmlto.xml doc/xmlif.xml
%configure %configure
make make %{?_smp_mflags}
%check %check
make check make check
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%makeinstall make install DESTDIR=$RPM_BUILD_ROOT
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%doc COPYING ChangeLog README AUTHORS NEWS
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%{_mandir}/*/* %{_mandir}/*/*
@ -74,8 +74,14 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/xmlto/format/fo/pdf %{_datadir}/xmlto/format/fo/pdf
%changelog %changelog
* Fri Dec 12 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-3
- merge review(#226568):
ship documentation files, fix license tag, use recommended
parallel make, make install instead of macro, require libxslt
instead of direct binary requirement
* Fri Jul 11 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-2 * Fri Jul 11 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-2
- xmlto-tex subpackage to prevent requirements for - xmlto-tex subpackage to prevent requirements for
passivetex/tex for all backends(#454341) passivetex/tex for all backends(#454341)
* Mon Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1 * Mon Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1
@ -93,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
- added experimental fop support(additional output formats) - added experimental fop support(additional output formats)
- possibility to read stylesheet from STDIN, using recursive - possibility to read stylesheet from STDIN, using recursive
cp in docbook formats, updated man pages cp in docbook formats, updated man pages
* Wed Nov 28 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.19-1 * Wed Nov 28 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.19-1
- new version 0.0.19 - new version 0.0.19
- added dist tag - added dist tag