Merge #1 Spec file cleanup

This commit is contained in:
Ondrej Vasik 2021-01-14 17:47:30 +00:00
commit f2bcb1a23a

View File

@ -7,8 +7,7 @@ License: GPLv2+
#URL: http://cyberelk.net/tim/xmlto/ #URL: http://cyberelk.net/tim/xmlto/
#Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2 #Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
URL: https://pagure.io/xmlto/ 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: make BuildRequires: make
BuildRequires: docbook-xsl BuildRequires: docbook-xsl
@ -35,7 +34,6 @@ Requires: tex-passivetex
Requires: xmlto = %{version}-%{release} Requires: xmlto = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description tex %description tex
This subpackage contains xmlto backend scripts which do require This subpackage contains xmlto backend scripts which do require
PassiveTeX/TeX for functionality. PassiveTeX/TeX for functionality.
@ -58,17 +56,17 @@ xhtml1 source format.
%build %build
%configure BASH=/bin/bash %configure BASH=/bin/bash
make %{?_smp_mflags} %make_build
%check %check
make check make check
%install %install
rm -rf $RPM_BUILD_ROOT %make_install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%files %files
%doc COPYING ChangeLog README AUTHORS NEWS %license COPYING
%doc ChangeLog README AUTHORS NEWS
%{_bindir}/* %{_bindir}/*
%{_mandir}/*/* %{_mandir}/*/*
%{_datadir}/xmlto %{_datadir}/xmlto
@ -78,7 +76,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%exclude %dir %{_datadir}/xmlto/format/xhtml1/ %exclude %dir %{_datadir}/xmlto/format/xhtml1/
%exclude %{_datadir}/xmlto/format/xhtml1 %exclude %{_datadir}/xmlto/format/xhtml1
%files tex %files tex
%{_datadir}/xmlto/format/fo/dvi %{_datadir}/xmlto/format/fo/dvi
%{_datadir}/xmlto/format/fo/ps %{_datadir}/xmlto/format/fo/ps
@ -88,7 +85,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%dir %{_datadir}/xmlto/format/xhtml1/ %dir %{_datadir}/xmlto/format/xhtml1/
%{_datadir}/xmlto/format/xhtml1/* %{_datadir}/xmlto/format/xhtml1/*
%changelog %changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-14 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.28-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@ -150,7 +146,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 * 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 - 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 - New version 0.0.26
- fix build with automake 1.13+ - fix build with automake 1.13+
- fix warning in searchpath option - fix warning in searchpath option
@ -194,7 +190,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- workaround passivetex limitation for chapter titles starting - workaround passivetex limitation for chapter titles starting
with L(#526273) 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 - ensure the default shell is /bin/bash instead of /bin/sh
* Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1 * Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1
@ -251,7 +247,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- xmlto-tex subpackage to prevent requirements for - xmlto-tex subpackage to prevent requirements for
passivetex/tex for all backends(#454341) 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 - new version 0.0.21
* Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3 * Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3
@ -445,4 +441,4 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- Built for Red Hat Linux. - Built for Red Hat Linux.
* Fri Nov 23 2001 Tim Waugh <twaugh@redhat.com> * Fri Nov 23 2001 Tim Waugh <twaugh@redhat.com>
- Initial spec file. - Initial spec file.