update to 0.3.12
use internal which [release 0.3.12-1mamba;Fri Jan 22 2021]
This commit is contained in:
parent
fb202c8f76
commit
0bbe359285
56
dblatex.spec
56
dblatex.spec
@ -1,5 +1,5 @@
|
||||
Name: dblatex
|
||||
Version: 0.3.11
|
||||
Version: 0.3.12
|
||||
Release: 1mamba
|
||||
Summary: DocBook to LaTeX/ConTeXt Publishing
|
||||
Group: Applications/Publishing
|
||||
@ -7,17 +7,17 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
Patch0: dblatex-0.2.7-external-which.patch
|
||||
Patch1: dblatex-0.3.4-disable-DebianInstaller.patch
|
||||
Patch2: dblatex-0.3.4-install_layout.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: docbook-dtds
|
||||
BuildRequires: python-which
|
||||
#BuildRequires: python-which
|
||||
BuildRequires: libxslt
|
||||
%if "%{stage1}" != "1"
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%setup -q -n dblatex3-%{version}
|
||||
#% patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
rm -rf lib/contrib
|
||||
#rm -rf lib/contrib
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
%{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%{__python} setup.py install --root %{buildroot}
|
||||
%{__python3} setup.py install --root %{buildroot}
|
||||
|
||||
# these are already in tetex-latex:
|
||||
for file in bibtopic.sty enumitem.sty ragged2e.sty passivetex/ xelatex/; do
|
||||
@ -89,27 +89,21 @@ texhash &>/dev/null || true
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/dblatex-%{version}-py%{python_version}.egg-info
|
||||
%dir %{_sysconfdir}/dblatex
|
||||
%{_bindir}/dblatex
|
||||
%dir %{python_sitelib}/dbtexmf
|
||||
%{python_sitelib}/dbtexmf/*.py
|
||||
%{python_sitelib}/dbtexmf/*.pyc
|
||||
%dir %{python_sitelib}/dbtexmf/core
|
||||
%{python_sitelib}/dbtexmf/core/*.py
|
||||
%{python_sitelib}/dbtexmf/core/*.pyc
|
||||
%{python_sitelib}/dbtexmf/core/*.txt
|
||||
%dir %{python_sitelib}/dbtexmf/dblatex
|
||||
%{python_sitelib}/dbtexmf/dblatex/*.py
|
||||
%{python_sitelib}/dbtexmf/dblatex/*.pyc
|
||||
%dir %{python_sitelib}/dbtexmf/dblatex/grubber
|
||||
%{python_sitelib}/dbtexmf/dblatex/grubber/*
|
||||
%dir %{python_sitelib}/dbtexmf/dblatex/xetex
|
||||
%{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 %{python3_sitelib}/dbtexmf
|
||||
%{python3_sitelib}/dbtexmf/*
|
||||
%dir %{python3_sitelib}/dbtexmf/core
|
||||
%{python3_sitelib}/dbtexmf/core/*
|
||||
%dir %{python3_sitelib}/dbtexmf/dblatex
|
||||
%{python3_sitelib}/dbtexmf/dblatex/*
|
||||
%dir %{python3_sitelib}/dbtexmf/dblatex/grubber
|
||||
%{python3_sitelib}/dbtexmf/dblatex/grubber/*
|
||||
%dir %{python3_sitelib}/dbtexmf/dblatex/xetex
|
||||
%{python3_sitelib}/dbtexmf/dblatex/xetex/*
|
||||
%dir %{python3_sitelib}/dbtexmf/xslt
|
||||
%{python3_sitelib}/dbtexmf/xslt/*
|
||||
%{python3_sitelib}/dblatex-%{version}-py%{python3_version}.egg-info
|
||||
%dir %{_datadir}/dblatex
|
||||
%dir %{_datadir}/dblatex/latex
|
||||
%dir %{_datadir}/dblatex/latex/contrib
|
||||
@ -143,11 +137,15 @@ texhash &>/dev/null || true
|
||||
%{_datadir}/dblatex/xsl/mathml2/*.xml
|
||||
%dir %{_datadir}/texmf-dist/tex/latex/dblatex
|
||||
%{_datadir}/texmf-dist/tex/latex/dblatex/*.sty
|
||||
%{_mandir}/man1/dblatex.1.gz
|
||||
%{_mandir}/man1/dblatex.1*
|
||||
%doc COPYRIGHT
|
||||
#docs/manual.pdf COPYING-docbook-xsl README-xsltml
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user