Spec file cleanup

This commit is contained in:
Robert Scheck 2020-12-24 22:43:23 +00:00
parent b5b97b77ba
commit 6fe374e55c

View File

@ -7,8 +7,7 @@ License: GPLv2+
#URL: http://cyberelk.net/tim/xmlto/
#Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
URL: https://pagure.io/xmlto/
Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: docbook-xsl
BuildRequires: libxslt
@ -34,7 +33,6 @@ Requires: tex-passivetex
Requires: xmlto = %{version}-%{release}
BuildArch: noarch
%description tex
This subpackage contains xmlto backend scripts which do require
PassiveTeX/TeX for functionality.
@ -57,17 +55,17 @@ xhtml1 source format.
%build
%configure BASH=/bin/bash
make %{?_smp_mflags}
%make_build
%check
make check
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%make_install
%files
%doc COPYING ChangeLog README AUTHORS NEWS
%license COPYING
%doc ChangeLog README AUTHORS NEWS
%{_bindir}/*
%{_mandir}/*/*
%{_datadir}/xmlto
@ -77,7 +75,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%exclude %dir %{_datadir}/xmlto/format/xhtml1/
%exclude %{_datadir}/xmlto/format/xhtml1
%files tex
%{_datadir}/xmlto/format/fo/dvi
%{_datadir}/xmlto/format/fo/ps
@ -87,7 +84,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%dir %{_datadir}/xmlto/format/xhtml1/
%{_datadir}/xmlto/format/xhtml1/*
%changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@ -149,7 +145,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.26-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Apr 04 2014 Ondrej Vasik <ovasik@redhat.com> - 0.0.26-1
* Sat Apr 05 2014 Ondrej Vasik <ovasik@redhat.com> - 0.0.26-1
- New version 0.0.26
- fix build with automake 1.13+
- fix warning in searchpath option
@ -193,7 +189,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- workaround passivetex limitation for chapter titles starting
with L(#526273)
* Fri Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-2
* Thu Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-2
- ensure the default shell is /bin/bash instead of /bin/sh
* Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1
@ -250,7 +246,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- xmlto-tex subpackage to prevent requirements for
passivetex/tex for all backends(#454341)
* Mon Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1
* Fri Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1
- new version 0.0.21
* Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3
@ -444,4 +440,4 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- Built for Red Hat Linux.
* Fri Nov 23 2001 Tim Waugh <twaugh@redhat.com>
- Initial spec file.
- Initial spec file.