Accepting request 80955 from Publishing

- Recommends texlive (bnc#688032)

OBS-URL: https://build.opensuse.org/request/show/80955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlto?expand=0&rev=16
This commit is contained in:
Lars Vogdt 2011-09-05 15:59:51 +00:00 committed by Git OBS Bridge
commit 6028e490c8
2 changed files with 22 additions and 22 deletions

View File

@ -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

View File

@ -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)