Projects
Mega:24.03:SP1:Everything
dblatex
_service:tar_scm:dblatex.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:dblatex.spec of Package dblatex
Name: dblatex Version: 0.3.12 Release: 1 Summary: DocBook to LaTeX/ConTeXt Publishing BuildArch: noarch License: GPLv2+ and GPLv2 and LPPL and DMIT and Public Domain URL: http://dblatex.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}3-%{version}.tar.bz2 Source1: COPYING-docbook-xsl Patch0000: dblatex-0.3.11-disable-debian.patch Patch0001: dblatex-0.3.11-which-shutil.patch Patch0002: dblatex-0.3.11-replace-inkscape-by-rsvg.patch # Patch3 sent upstream: https://sourceforge.net/p/dblatex/patches/12/ Patch0003: dblatex-0.3.12-replace-imp-by-importlib.patch # Patch4 sent upstream: https://sourceforge.net/p/dblatex/patches/13/ Patch0004: dblatex-0.3.12-adjust-submodule-imports.patch BuildRequires: python3-devel python3-setuptools libxslt texlive-base texlive-collection-latex texlive-collection-xetex BuildRequires: texlive-collection-htmlxml texlive-xmltex-bin texlive-anysize texlive-appendix texlive-changebar BuildRequires: texlive-fancybox texlive-jknapltx texlive-multirow texlive-overpic texlive-pdfpages texlive-subfigure BuildRequires: texlive-stmaryrd texlive-wasysym Buildrequires: /usr/bin/pathfix.py Requires: texlive-base texlive-collection-latex texlive-collection-xetex texlive-collection-htmlxml Requires: texlive-passivetex texlive-xmltex texlive-xmltex-bin texlive-anysize texlive-appendix texlive-bibtopic Requires: texlive-changebar texlive-ec texlive-fancybox texlive-jknapltx texlive-multirow texlive-overpic Requires: texlive-pdfpages texlive-subfigure texlive-stmaryrd texlive-wasysym texlive-xmltex-bin libxslt Requires: texlive-collection-fontsrecommended docbook-dtds texlive-everysel Recommends: ImageMagick texlive-epstopdf-bin transfig inkscape %description dblatex can transforms your SGML/XMLDocBook documents to DVI, PostScript or PDF by translating them into pure LaTeX as a first process. MathML 2.0 markups are supported, too. %package help Summary: Introduce how to use dblatex %description help Introduce how to use dblatex %prep %autosetup -n %{name}3-%{version} -p1 rm -rf lib/contrib %build %{__python3} setup.py build %install %{__python3} setup.py install --root $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/texlive/texmf-dist/tex/latex/dblatex for file in ` find $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/ -name '*.sty' ` ; do mv $file $RPM_BUILD_ROOT%{_datadir}/texlive/texmf-dist/tex/latex/dblatex/`basename $file`; done for file in ` find $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/ -name '*.xetex' ` ; do mv $file $RPM_BUILD_ROOT%{_datadir}/texlive/texmf-dist/tex/latex/dblatex/`basename $file`; done install -d $RPM_BUILD_ROOT%{_sysconfdir}/dblatex awk '{sub("\r$","",$0);print $0}' xsl/mathml2/README > README-xsltml touch -r xsl/mathml2/README README-xsltml cp -p %{SOURCE1} COPYING-docbook-xsl %post -p /usr/bin/texhash %postun -p /usr/bin/texhash %files %doc COPYRIGHT COPYING-docbook-xsl %{python3_sitelib}/dbtexmf/ %{python3_sitelib}/dblatex-*.egg-info %{_bindir}/dblatex %{_datadir}/dblatex/ %{_datadir}/texlive/texmf-dist/tex/latex/dblatex/ %dir %{_sysconfdir}/dblatex %exclude %{_datadir}/doc/ %exclude %{_datadir}/dblatex/latex/{misc,contrib/example,style} %exclude %{_datadir}/dblatex/latex/misc/passivetex/ %exclude %{_datadir}/dblatex/latex/misc/xelatex/ %files help %doc docs/manual.pdf README-xsltml %{_mandir}/man1/dblatex.1* %changelog * Tue Jan 16 2024 yaoxin <yao_xin001@hoperun.com> - 0.3.12-1 - Upgrade to 0.3.12 * Mon May 8 2023 Ge Wang<wang__ge@126.com> - 0.3.11-3 - Fix build failure due to python-setuptools updated to version 66.0.0 * Wed Mar 1 2023 caodongxia<caodongxia@h-partners.com> - 0.3.11-2 - Add requires texlive-everysel * Fri Nov 13 2020 liuweibo<liuweibo10@huawei.com> - 0.3.11-1 - Update to 0.3.11 * Fri Nov 22 2019 yangjian<yangjian79@huawei.com> - 0.3.10-8 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2