|
|
@ -1,6 +1,8 @@
|
|
|
|
|
|
|
|
%{!?python3_sitelib: %define python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
|
|
|
|
Name: dblatex
|
|
|
|
Name: dblatex
|
|
|
|
Version: 0.3.12
|
|
|
|
Version: 0.3.10
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: DocBook to LaTeX/ConTeXt Publishing
|
|
|
|
Summary: DocBook to LaTeX/ConTeXt Publishing
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Most of package is GPLv2+, except:
|
|
|
|
# Most of package is GPLv2+, except:
|
|
|
@ -11,15 +13,15 @@ BuildArch: noarch
|
|
|
|
# latex/misc/passivetex is MIT (not included in binary RPM so not listed)
|
|
|
|
# latex/misc/passivetex is MIT (not included in binary RPM so not listed)
|
|
|
|
License: GPLv2+ and GPLv2 and LPPL and DMIT and Public Domain
|
|
|
|
License: GPLv2+ and GPLv2 and LPPL and DMIT and Public Domain
|
|
|
|
URL: http://dblatex.sourceforge.net/
|
|
|
|
URL: http://dblatex.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}3-%{version}.tar.bz2
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
# Source1 is from http://docbook.sourceforge.net/release/xsl/current/COPYING
|
|
|
|
# Source1 is from http://docbook.sourceforge.net/release/xsl/current/COPYING
|
|
|
|
Source1: COPYING-docbook-xsl
|
|
|
|
Source1: COPYING-docbook-xsl
|
|
|
|
Patch0: dblatex-0.3.11-disable-debian.patch
|
|
|
|
Patch0: dblatex-0.3.10-enable-python3.patch
|
|
|
|
Patch1: dblatex-0.3.11-which-shutil.patch
|
|
|
|
Patch1: dblatex-0.3.10-disable-debian.patch
|
|
|
|
Patch2: dblatex-0.3.11-replace-inkscape-by-rsvg.patch
|
|
|
|
Patch2: dblatex-0.3.10-use-shutil-which.patch
|
|
|
|
|
|
|
|
Patch3: dblatex-0.3.10-fix-shebangs.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: texlive-base
|
|
|
|
BuildRequires: texlive-base
|
|
|
|
BuildRequires: texlive-collection-latex
|
|
|
|
BuildRequires: texlive-collection-latex
|
|
|
@ -37,7 +39,6 @@ BuildRequires: texlive-pdfpages
|
|
|
|
BuildRequires: texlive-subfigure
|
|
|
|
BuildRequires: texlive-subfigure
|
|
|
|
BuildRequires: texlive-stmaryrd
|
|
|
|
BuildRequires: texlive-stmaryrd
|
|
|
|
BuildRequires: texlive-wasysym
|
|
|
|
BuildRequires: texlive-wasysym
|
|
|
|
Buildrequires: /usr/bin/pathfix.py
|
|
|
|
|
|
|
|
Requires: texlive-base
|
|
|
|
Requires: texlive-base
|
|
|
|
Requires: texlive-collection-latex
|
|
|
|
Requires: texlive-collection-latex
|
|
|
|
Requires: texlive-collection-xetex
|
|
|
|
Requires: texlive-collection-xetex
|
|
|
@ -61,10 +62,9 @@ Requires: texlive-stmaryrd
|
|
|
|
Requires: texlive-wasysym
|
|
|
|
Requires: texlive-wasysym
|
|
|
|
Requires: texlive-xmltex-bin
|
|
|
|
Requires: texlive-xmltex-bin
|
|
|
|
Requires: libxslt docbook-dtds
|
|
|
|
Requires: libxslt docbook-dtds
|
|
|
|
Recommends: ImageMagick
|
|
|
|
|
|
|
|
Recommends: texlive-epstopdf-bin
|
|
|
|
Recommends: texlive-epstopdf-bin
|
|
|
|
Recommends: transfig
|
|
|
|
Recommends: transfig
|
|
|
|
Recommends: librsvg2-tools
|
|
|
|
Recommends: inkscape
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
dblatex is a program that transforms your SGML/XMLDocBook
|
|
|
|
dblatex is a program that transforms your SGML/XMLDocBook
|
|
|
@ -79,22 +79,19 @@ Authors:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}3-%{version}
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .disable-debian
|
|
|
|
%patch0 -p1 -b .enable-python3
|
|
|
|
%patch1 -p1 -b .which-shutil
|
|
|
|
%patch1 -p1 -b .disable-debian
|
|
|
|
%patch2 -p1 -b .rsvg
|
|
|
|
%patch2 -p1 -b .use-shutil-which
|
|
|
|
|
|
|
|
%patch3 -p1 -b .fix-shebangs
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf lib/contrib
|
|
|
|
rm -rf lib/contrib
|
|
|
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__python3} setup.py build
|
|
|
|
%{__python3} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{__python3} setup.py install --root $RPM_BUILD_ROOT
|
|
|
|
%{__python3} setup.py install --root $RPM_BUILD_ROOT
|
|
|
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" $RPM_BUILD_ROOT%{_bindir}/dblatex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# these are already in tetex-latex:
|
|
|
|
# these are already in tetex-latex:
|
|
|
|
for file in bibtopic.sty enumitem.sty ragged2e.sty passivetex/ xelatex/; do
|
|
|
|
for file in bibtopic.sty enumitem.sty ragged2e.sty passivetex/ xelatex/; do
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/misc/$file
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/misc/$file
|
|
|
@ -136,64 +133,14 @@ cp -p %{SOURCE1} COPYING-docbook-xsl
|
|
|
|
%postun -p /usr/bin/texhash
|
|
|
|
%postun -p /usr/bin/texhash
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.12-4
|
|
|
|
* Wed Jun 13 2018 Nikola Forró <nforro@redhat.com> - 0.3.10-8
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- switch to Python 3 (#1590857)
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.12-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 18 2021 Michael J Gruber <mjg@fedoraproject.org> - 0.3.12-2
|
|
|
|
|
|
|
|
- replace inkscape by rsvg (#bz 1833047)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 18 2021 Michael J Gruber <mjg@fedoraproject.org> - 0.3.12-1
|
|
|
|
|
|
|
|
- rebase to 0.3.12
|
|
|
|
|
|
|
|
- follow yet another package/tree renaming
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.11-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.11-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.11-6
|
|
|
|
|
|
|
|
- BR setuptools explicitly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.11-5
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 05 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.11-4
|
|
|
|
|
|
|
|
- rebase to upstreamed py3 version (bz 1796232)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.11-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 23 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.3.11-2
|
|
|
|
|
|
|
|
- port to python3 (bz #1737967)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 22 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.3.11-1
|
|
|
|
|
|
|
|
- bugfix release (bz #1753399)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 10 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.3.10-12
|
|
|
|
|
|
|
|
- Rebundle python2-which.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.10-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 12 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.3.10-10
|
|
|
|
|
|
|
|
- fix FTBFS on F30 (#1674789)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.10-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 10 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.3.10-8
|
|
|
|
|
|
|
|
- make shebangs unambiguous
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.3.10-7
|
|
|
|
* Wed May 16 2018 Than Ngo <than@redhat.com> - 0.3.10-7
|
|
|
|
- adjust to py2 packaging guidelines (fix FTBFS on rawhide)
|
|
|
|
- fixed bz#1545772 - FTBFS
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.10-6
|
|
|
|
* Wed Apr 18 2018 Nikola Forró <nforro@redhat.com> - 0.3.10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- remove ImageMagick dependency (#1564991)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 11 2018 Nikola Forró <nforro@redhat.com> - 0.3.10-5
|
|
|
|
* Wed Apr 11 2018 Nikola Forró <nforro@redhat.com> - 0.3.10-5
|
|
|
|
- make non-critical graphic tools weak dependencies
|
|
|
|
- make non-critical graphic tools weak dependencies
|
|
|
|