Accepting request 77587 from home:yecril71pl:branches:Publishing
Recommends texlive (bnc#688032) OBS-URL: https://build.opensuse.org/request/show/77587 OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=11
This commit is contained in:
parent
55ec78912e
commit
89693ce5e6
@ -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
|
||||
|
||||
|
40
xmlto.spec
40
xmlto.spec
@ -15,47 +15,50 @@
|
||||
# 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
|
||||
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch0: xmlto-nonvoid.patch
|
||||
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch1: xmlto-0.0.18-overflow.patch
|
||||
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch3: xmlto-0.0.23-xsltopts.diff
|
||||
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
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,10 +69,9 @@ make %{?_smp_mflags}
|
||||
make check
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
[ -d %{buildroot}%{_datadir}/xmlto/xsl ] || \
|
||||
mkdir %{buildroot}%{_datadir}/xmlto/xsl
|
||||
%make_install
|
||||
! mkdir %{buildroot}%{_datadir}/xmlto/xsl
|
||||
%{fdupes '%{buildroot}%{_datadir}/xmlto'}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
Loading…
x
Reference in New Issue
Block a user