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
|
|
|
#
|
2019-12-04 09:40:00 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX 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.
|
|
|
|
|
2019-03-06 10:46:27 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:43:04 +01:00
|
|
|
#
|
|
|
|
|
2012-12-06 00:20:50 +01:00
|
|
|
|
2007-01-16 00:43:04 +01:00
|
|
|
Name: xmlto
|
2018-03-14 08:56:25 +01:00
|
|
|
Version: 0.0.28
|
2014-06-11 23:05:54 +02:00
|
|
|
Release: 0
|
2011-09-05 15:21:14 +02:00
|
|
|
Summary: Tool for Converting XML Files to Various Formats
|
2018-03-14 08:56:25 +01:00
|
|
|
License: GPL-2.0-or-later
|
2007-01-16 00:43:04 +01:00
|
|
|
Group: Productivity/Publishing/XML
|
2019-03-06 10:46:27 +01:00
|
|
|
URL: https://pagure.io/xmlto/
|
2018-03-14 08:56:25 +01:00
|
|
|
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
Source10: README.SUSE
|
2011-09-05 15:21:14 +02:00
|
|
|
Patch0: xmlto-nonvoid.patch
|
2018-03-14 08:56:25 +01:00
|
|
|
Patch1: xmlto-xsltopts.patch
|
|
|
|
Patch2: xmlto-codecleanup.patch
|
2019-12-04 09:40:00 +01:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2014-06-11 23:05:54 +02:00
|
|
|
BuildRequires: fdupes
|
2011-09-05 15:21:14 +02:00
|
|
|
BuildRequires: flex
|
2019-03-06 10:46:27 +01:00
|
|
|
BuildRequires: libxslt-tools
|
2011-09-05 15:21:14 +02:00
|
|
|
BuildRequires: sgml-skel
|
2019-12-03 12:48:24 +01:00
|
|
|
# We rely entirely on the DocBook XSL stylesheets!
|
2019-12-04 09:40:00 +01:00
|
|
|
Requires: docbook-xsl-stylesheets >= 1.56.0
|
|
|
|
Requires: docbook_4
|
|
|
|
Requires: libxslt-tools
|
2019-03-18 16:45:20 +01:00
|
|
|
# For full functionality, we need passivetex; but since most users are not happy with
|
|
|
|
# getting texlive installed, we only suggest it.
|
2019-12-04 09:40:00 +01:00
|
|
|
Suggests: texlive-xmltex >= 2007
|
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
|
2024-02-26 16:06:33 +01:00
|
|
|
%autosetup -p1
|
|
|
|
|
2018-03-14 08:56:25 +01:00
|
|
|
cp %{SOURCE10} .
|
2009-05-01 00:15:33 +02:00
|
|
|
rm -f xmlif/xmlif.c
|
2007-01-16 00:43:04 +01:00
|
|
|
|
|
|
|
%build
|
2014-11-04 08:37:51 +01:00
|
|
|
%configure BASH=/bin/bash
|
2019-12-04 09:40:00 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-12-12 18:20:00 +01:00
|
|
|
|
|
|
|
%check
|
2014-06-11 23:05:54 +02:00
|
|
|
make check %{?_smp_mflags}
|
2007-01-16 00:43:04 +01:00
|
|
|
|
|
|
|
%install
|
2018-03-14 08:56:25 +01:00
|
|
|
%make_install
|
2014-06-11 23:05:54 +02:00
|
|
|
install -d %{buildroot}%{_datadir}/xmlto/xsl
|
2019-03-06 10:46:27 +01:00
|
|
|
%fdupes %{buildroot}%{_datadir}/xmlto
|
2007-01-16 00:43:04 +01:00
|
|
|
|
|
|
|
%files
|
2014-06-11 23:05:54 +02:00
|
|
|
%doc README.SUSE
|
2018-03-14 08:56:25 +01:00
|
|
|
%license COPYING
|
2011-06-08 09:45:50 +02:00
|
|
|
%doc AUTHORS README ChangeLog FAQ THANKS NEWS
|
2012-12-06 08:29:12 +01:00
|
|
|
%{_bindir}/xmlto
|
|
|
|
%{_bindir}/xmlif
|
2018-03-14 08:56:25 +01:00
|
|
|
%{_mandir}/man1/xmlto.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/xmlif.1%{?ext_man}
|
2007-01-16 00:43:04 +01:00
|
|
|
%{_datadir}/xmlto
|
|
|
|
|
2007-12-12 18:20:00 +01:00
|
|
|
%changelog
|