2007-01-16 00:43:04 +01:00
|
|
|
#
|
2011-06-08 16:26:13 +02:00
|
|
|
# spec file for package xmlto
|
2007-01-16 00:43:04 +01:00
|
|
|
#
|
2011-06-08 16:26:13 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:43:04 +01:00
|
|
|
#
|
2008-09-12 18:00:42 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:43:04 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-09-09 12:28:34 +02:00
|
|
|
|
2011-09-08 19:53:04 +02:00
|
|
|
# support SLE 11
|
|
|
|
%if !0%{?make_install:1}
|
|
|
|
%define make_install %{makeinstall}
|
|
|
|
%endif
|
2008-03-19 13:14:46 +01:00
|
|
|
|
2007-01-16 00:43:04 +01:00
|
|
|
Name: xmlto
|
2009-12-18 13:34:07 +01:00
|
|
|
Version: 0.0.23
|
2011-09-09 12:28:34 +02:00
|
|
|
Release: 14
|
2011-12-06 19:16:38 +01:00
|
|
|
License: GPL-2.0+
|
2011-09-05 15:21:14 +02:00
|
|
|
Summary: Tool for Converting XML Files to Various Formats
|
|
|
|
Url: https://fedorahosted.org/xmlto/
|
2007-01-16 00:43:04 +01:00
|
|
|
Group: Productivity/Publishing/XML
|
2009-12-18 13:34:07 +01:00
|
|
|
Source0: https://fedorahosted.org/releases/x/m/xmlto/%{name}-%{version}.tar.bz2
|
2007-01-16 00:43:04 +01:00
|
|
|
Source10: %{name}-README.SuSE
|
2011-09-05 15:21:14 +02:00
|
|
|
Patch0: xmlto-nonvoid.patch
|
2007-01-16 00:43:04 +01:00
|
|
|
Patch1: xmlto-0.0.18-overflow.patch
|
2009-12-18 13:34:07 +01:00
|
|
|
Patch3: xmlto-0.0.23-xsltopts.diff
|
2009-05-01 00:15:33 +02:00
|
|
|
Patch4: xmlto-codecleanup.patch
|
2011-10-19 20:31:54 +02:00
|
|
|
Patch5: xmlto-lynx-empty-file.patch
|
2011-09-05 15:21:14 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: sgml-skel
|
2007-01-16 00:43:04 +01:00
|
|
|
# We rely entirely on the DocBook XSL stylesheets!
|
|
|
|
Requires: docbook-xsl-stylesheets >= 1.56.0
|
|
|
|
Requires: docbook_4
|
2011-09-05 15:21:14 +02:00
|
|
|
Requires: xsltproc
|
|
|
|
# For full functionality, we need passivetex.
|
|
|
|
Recommends: texlive-xmltex >= 2007
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:43:04 +01:00
|
|
|
|
|
|
|
%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
|
2011-09-05 15:21:14 +02:00
|
|
|
%patch0
|
2009-05-01 00:15:33 +02:00
|
|
|
%patch1 -p1
|
2009-12-18 13:34:07 +01:00
|
|
|
%patch3 -p0
|
2009-05-01 00:15:33 +02:00
|
|
|
%patch4
|
2011-10-19 20:31:54 +02:00
|
|
|
%patch5
|
2011-09-05 15:21:14 +02:00
|
|
|
cp %{SOURCE10} README.SuSE
|
2009-05-01 00:15:33 +02:00
|
|
|
rm -f xmlif/xmlif.c
|
2007-01-16 00:43:04 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2010-01-18 13:49:20 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-12-12 18:20:00 +01:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:43:04 +01:00
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
2011-09-05 15:21:14 +02:00
|
|
|
%make_install
|
|
|
|
! mkdir %{buildroot}%{_datadir}/xmlto/xsl
|
|
|
|
%{fdupes '%{buildroot}%{_datadir}/xmlto'}
|
2007-01-16 00:43:04 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README.SuSE
|
2011-06-08 09:45:50 +02:00
|
|
|
%doc COPYING
|
|
|
|
%doc AUTHORS README ChangeLog FAQ THANKS NEWS
|
2007-01-16 00:43:04 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_datadir}/xmlto
|
|
|
|
|
2007-12-12 18:20:00 +01:00
|
|
|
%changelog
|