diff --git a/xmlto.changes b/xmlto.changes index 1235118..9af49b2 100644 --- a/xmlto.changes +++ b/xmlto.changes @@ -3,6 +3,11 @@ Wed Jun 8 09:42:34 CEST 2011 - ke@suse.de - Install missing %doc files such as COPYING; bnc#695072. +------------------------------------------------------------------- +Wed May 18 16:27:04 UTC 2011 - giecrilj@stegny.2a.pl + +- Recommends texlive (bnc#688032) + ------------------------------------------------------------------- Sat Dec 19 18:20:07 CET 2009 - jengelh@medozas.de diff --git a/xmlto.spec b/xmlto.spec index 627c988..7fb1902 100644 --- a/xmlto.spec +++ b/xmlto.spec @@ -15,47 +15,46 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: xmlto -BuildRequires: docbook-xsl-stylesheets flex libxslt sgml-skel -Summary: Tool for Converting XML Files to Various Formats Version: 0.0.23 Release: 10 License: GPLv2+ +Summary: Tool for Converting XML Files to Various Formats +Url: https://fedorahosted.org/xmlto/ Group: Productivity/Publishing/XML -Url: http://cyberelk.net/tim/xmlto/ Source0: https://fedorahosted.org/releases/x/m/xmlto/%{name}-%{version}.tar.bz2 Source10: %{name}-README.SuSE -Patch: xmlto-nonvoid.patch +Patch0: xmlto-nonvoid.patch Patch1: xmlto-0.0.18-overflow.patch Patch3: xmlto-0.0.23-xsltopts.diff Patch4: xmlto-codecleanup.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: docbook-xsl-stylesheets +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: libxslt +BuildRequires: sgml-skel # We rely entirely on the DocBook XSL stylesheets! Requires: docbook-xsl-stylesheets >= 1.56.0 -# For full functionality, we need passivetex. -Requires: texlive-xmltex >= 2007 -Requires: libxslt -Requires: libxml2 Requires: docbook_4 +Requires: xsltproc +# For full functionality, we need passivetex. +Recommends: texlive-xmltex >= 2007 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a package for converting XML files to various formats using XSL stylesheets. As a processor it depends on xsltproc and as a formatter for print output it makes use of passivetex. - - %prep %setup -q -%patch +%patch0 %patch1 -p1 -# %patch2 -p1 %patch3 -p0 %patch4 -cp %{S:10} README.SuSE +cp %{SOURCE10} README.SuSE rm -f xmlif/xmlif.c %build @@ -66,13 +65,9 @@ make %{?_smp_mflags} make check %install -rm -rf %{buildroot} -%makeinstall -[ -d %{buildroot}%{_datadir}/xmlto/xsl ] || \ - mkdir %{buildroot}%{_datadir}/xmlto/xsl - -%clean -rm -rf %{buildroot} +%make_install +! mkdir %{buildroot}%{_datadir}/xmlto/xsl +%{fdupes '%{buildroot}%{_datadir}/xmlto'} %files %defattr(-,root,root)