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
Name: xmlto
Version: 0.0.21
Release: 2%{?dist}
License: GPLv2
Release: 3%{?dist}
License: GPLv2+
Group: Applications/System
#Older versions up to xmlto-0.0.20
#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)
BuildRequires: docbook-xsl >= 1.56.0
BuildRequires: /usr/bin/xsltproc
BuildRequires: libxslt
BuildRequires: util-linux, flex
# We rely heavily on the DocBook XSL stylesheets!
Requires: docbook-xsl >= 1.56.0
Requires: text-www-browser
Requires: /usr/bin/xsltproc
Requires: libxslt
Requires: docbook-dtds
Requires: util-linux, flex
@ -44,21 +44,21 @@ PassiveTeX/TeX for functionality.
%setup -q
%build
touch doc/xmlto.xml doc/xmlif.xml
%configure
make
make %{?_smp_mflags}
%check
make check
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc COPYING ChangeLog README AUTHORS NEWS
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/*/*
@ -74,6 +74,12 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/xmlto/format/fo/pdf
%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
- xmlto-tex subpackage to prevent requirements for
passivetex/tex for all backends(#454341)