rpms/xmlto/devel xmlto.spec,1.40,1.41

Ondrej Vasik ovasik at fedoraproject.org
Fri Dec 12 11:03:29 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/xmlto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17050

Modified Files:
	xmlto.spec 
Log Message:
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


Index: xmlto.spec
===================================================================
RCS file: /cvs/extras/rpms/xmlto/devel/xmlto.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- xmlto.spec	14 Jul 2008 14:20:49 -0000	1.40
+++ xmlto.spec	12 Dec 2008 11:02:59 -0000	1.41
@@ -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 @@
 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
 
@@ -30,7 +30,7 @@
 %package tex
 Group: Applications/System
 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.
 Requires: passivetex >= 1.11
 # We require main package
@@ -44,21 +44,21 @@
 %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,8 +74,14 @@
 %{_datadir}/xmlto/format/fo/pdf
 
 %changelog
+* Fri Dec 12 2008 Ondrej Vasik <ovasik at 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 at 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)
 
 * Mon Jun 20 2008 Ondrej Vasik <ovasik at redhat.com> - 0.0.21-1
@@ -93,7 +99,7 @@
 - added experimental fop support(additional output formats)
 - possibility to read stylesheet from STDIN, using recursive
   cp in docbook formats, updated man pages
-  
+
 * Wed Nov 28 2007 Ondrej Vasik <ovasik at redhat.com> - 0.0.19-1
 - new version 0.0.19
 - added dist tag




More information about the fedora-extras-commits mailing list