update to 0.3.12

use internal which [release 0.3.12-1mamba;Fri Jan 22 2021]
This commit is contained in:
Silvan Calarco 2024-01-05 21:40:12 +01:00
parent fb202c8f76
commit 0bbe359285

View File

@ -1,5 +1,5 @@
Name: dblatex Name: dblatex
Version: 0.3.11 Version: 0.3.12
Release: 1mamba Release: 1mamba
Summary: DocBook to LaTeX/ConTeXt Publishing Summary: DocBook to LaTeX/ConTeXt Publishing
Group: Applications/Publishing Group: Applications/Publishing
@ -7,17 +7,17 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://dblatex.sourceforge.net/ URL: http://dblatex.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/dblatex/dblatex/dblatex-%{version}/dblatex-%{version}.tar.bz2 Source0: https://sourceforge.net/projects/dblatex/files/dblatex/dblatex-%{version}/dblatex3-%{version}.tar.bz2
Source1: COPYING-docbook-xsl Source1: COPYING-docbook-xsl
Patch0: dblatex-0.2.7-external-which.patch Patch0: dblatex-0.2.7-external-which.patch
Patch1: dblatex-0.3.4-disable-DebianInstaller.patch Patch1: dblatex-0.3.4-disable-DebianInstaller.patch
Patch2: dblatex-0.3.4-install_layout.patch Patch2: dblatex-0.3.4-install_layout.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: python3
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: docbook-dtds BuildRequires: docbook-dtds
BuildRequires: python-which #BuildRequires: python-which
BuildRequires: libxslt BuildRequires: libxslt
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: ImageMagick BuildRequires: ImageMagick
@ -39,19 +39,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
DocBook to LaTeX Publishing transforms your SGML/XML DocBook documents to DVI, PostScript or PDF by translating them in pure LaTeX as a first process. MathML 2.0 markups are supported too. It started as a clone of DB2LaTeX. DocBook to LaTeX Publishing transforms your SGML/XML DocBook documents to DVI, PostScript or PDF by translating them in pure LaTeX as a first process. MathML 2.0 markups are supported too. It started as a clone of DB2LaTeX.
%prep %prep
%setup -q %setup -q -n dblatex3-%{version}
%patch0 -p1 #% patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
rm -rf lib/contrib #rm -rf lib/contrib
%build %build
%{__python} setup.py build %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install --root %{buildroot} %{__python3} setup.py install --root %{buildroot}
# 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
@ -89,27 +89,21 @@ texhash &>/dev/null || true
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitelib}/dblatex-%{version}-py%{python_version}.egg-info
%dir %{_sysconfdir}/dblatex %dir %{_sysconfdir}/dblatex
%{_bindir}/dblatex %{_bindir}/dblatex
%dir %{python_sitelib}/dbtexmf %dir %{python3_sitelib}/dbtexmf
%{python_sitelib}/dbtexmf/*.py %{python3_sitelib}/dbtexmf/*
%{python_sitelib}/dbtexmf/*.pyc %dir %{python3_sitelib}/dbtexmf/core
%dir %{python_sitelib}/dbtexmf/core %{python3_sitelib}/dbtexmf/core/*
%{python_sitelib}/dbtexmf/core/*.py %dir %{python3_sitelib}/dbtexmf/dblatex
%{python_sitelib}/dbtexmf/core/*.pyc %{python3_sitelib}/dbtexmf/dblatex/*
%{python_sitelib}/dbtexmf/core/*.txt %dir %{python3_sitelib}/dbtexmf/dblatex/grubber
%dir %{python_sitelib}/dbtexmf/dblatex %{python3_sitelib}/dbtexmf/dblatex/grubber/*
%{python_sitelib}/dbtexmf/dblatex/*.py %dir %{python3_sitelib}/dbtexmf/dblatex/xetex
%{python_sitelib}/dbtexmf/dblatex/*.pyc %{python3_sitelib}/dbtexmf/dblatex/xetex/*
%dir %{python_sitelib}/dbtexmf/dblatex/grubber %dir %{python3_sitelib}/dbtexmf/xslt
%{python_sitelib}/dbtexmf/dblatex/grubber/* %{python3_sitelib}/dbtexmf/xslt/*
%dir %{python_sitelib}/dbtexmf/dblatex/xetex %{python3_sitelib}/dblatex-%{version}-py%{python3_version}.egg-info
%{python_sitelib}/dbtexmf/dblatex/xetex/*.py
%{python_sitelib}/dbtexmf/dblatex/xetex/*.pyc
%dir %{python_sitelib}/dbtexmf/xslt
%{python_sitelib}/dbtexmf/xslt/*.py
%{python_sitelib}/dbtexmf/xslt/*.pyc
%dir %{_datadir}/dblatex %dir %{_datadir}/dblatex
%dir %{_datadir}/dblatex/latex %dir %{_datadir}/dblatex/latex
%dir %{_datadir}/dblatex/latex/contrib %dir %{_datadir}/dblatex/latex/contrib
@ -143,11 +137,15 @@ texhash &>/dev/null || true
%{_datadir}/dblatex/xsl/mathml2/*.xml %{_datadir}/dblatex/xsl/mathml2/*.xml
%dir %{_datadir}/texmf-dist/tex/latex/dblatex %dir %{_datadir}/texmf-dist/tex/latex/dblatex
%{_datadir}/texmf-dist/tex/latex/dblatex/*.sty %{_datadir}/texmf-dist/tex/latex/dblatex/*.sty
%{_mandir}/man1/dblatex.1.gz %{_mandir}/man1/dblatex.1*
%doc COPYRIGHT %doc COPYRIGHT
#docs/manual.pdf COPYING-docbook-xsl README-xsltml #docs/manual.pdf COPYING-docbook-xsl README-xsltml
%changelog %changelog
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.12-1mamba
- update to 0.3.12
- use internal which
* Mon Nov 11 2019 Automatic Build System <autodist@mambasoft.it> 0.3.11-1mamba * Mon Nov 11 2019 Automatic Build System <autodist@mambasoft.it> 0.3.11-1mamba
- automatic version update by autodist - automatic version update by autodist