forked from pool/xmlto
- Simplify spec file
OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=30
This commit is contained in:
parent
755d441a56
commit
e92553c392
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 6 09:45:26 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Simplify spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 13 16:50:16 UTC 2018 - avindra@opensuse.org
|
Tue Mar 13 16:50:16 UTC 2018 - avindra@opensuse.org
|
||||||
|
|
||||||
|
28
xmlto.spec
28
xmlto.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xmlto
|
# spec file for package xmlto
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: Tool for Converting XML Files to Various Formats
|
Summary: Tool for Converting XML Files to Various Formats
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Publishing/XML
|
Group: Productivity/Publishing/XML
|
||||||
Url: https://pagure.io/xmlto/
|
URL: https://pagure.io/xmlto/
|
||||||
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
|
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
|
||||||
Source10: README.SUSE
|
Source10: README.SUSE
|
||||||
Patch0: xmlto-nonvoid.patch
|
Patch0: xmlto-nonvoid.patch
|
||||||
@ -31,24 +31,14 @@ Patch2: xmlto-codecleanup.patch
|
|||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
BuildRequires: libxslt-tools
|
||||||
BuildRequires: sgml-skel
|
BuildRequires: sgml-skel
|
||||||
# We rely entirely on the DocBook XSL stylesheets!
|
# We rely entirely on the DocBook XSL stylesheets!
|
||||||
Requires: docbook-xsl-stylesheets >= 1.56.0
|
Requires: docbook-xsl-stylesheets >= 1.56.0
|
||||||
Requires: docbook_4
|
Requires: docbook_4
|
||||||
|
Requires: libxslt-tools
|
||||||
# For full functionality, we need passivetex.
|
# For full functionality, we need passivetex.
|
||||||
Recommends: texlive-xmltex >= 2007
|
Recommends: texlive-xmltex >= 2007
|
||||||
%if 0%{?suse_version} > 1210
|
|
||||||
BuildRequires: libxslt-tools
|
|
||||||
Requires: libxslt-tools
|
|
||||||
%else
|
|
||||||
%if 0%{?suse_version} > 0
|
|
||||||
BuildRequires: libxslt
|
|
||||||
Requires: libxslt
|
|
||||||
%else
|
|
||||||
BuildRequires: xsltproc
|
|
||||||
Requires: xsltproc
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a package for converting XML files to various formats using XSL
|
This is a package for converting XML files to various formats using XSL
|
||||||
@ -63,12 +53,6 @@ for print output it makes use of passivetex.
|
|||||||
cp %{SOURCE10} .
|
cp %{SOURCE10} .
|
||||||
rm -f xmlif/xmlif.c
|
rm -f xmlif/xmlif.c
|
||||||
|
|
||||||
# make sure the buildrequires pulled in xsltproc
|
|
||||||
test -x %{_bindir}/xsltproc || {
|
|
||||||
echo "ERROR: buildrequires didn't install xsltproc" >&2
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure BASH=/bin/bash
|
%configure BASH=/bin/bash
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -79,7 +63,7 @@ make check %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
install -d %{buildroot}%{_datadir}/xmlto/xsl
|
install -d %{buildroot}%{_datadir}/xmlto/xsl
|
||||||
%fdupes '%{buildroot}%{_datadir}/xmlto'
|
%fdupes %{buildroot}%{_datadir}/xmlto
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
|
Loading…
Reference in New Issue
Block a user