X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=dblatex.spec;h=dfd7061937998f6b838a9f51b2f5fbe87403e7f0;hb=HEAD;hp=0018e8f825ea2aa98198e538e25885548d43503d;hpb=8d12c77652c6fc1b50539843eaf0bfba27dfcdaf;p=packages%2Fdblatex.git diff --git a/dblatex.spec b/dblatex.spec index 0018e8f..dfd7061 100644 --- a/dblatex.spec +++ b/dblatex.spec @@ -1,12 +1,12 @@ Summary: Convert DocBook to LaTeX, DVI, PostScript, and PDF Summary(pl.UTF-8): Przekształcanie DocBooka do LaTeXa, DVI, PostScriptu i PDF Name: dblatex -Version: 0.3.8 +Version: 0.3.9 Release: 1 License: GPL v2+ Group: Applications/Publishing Source0: http://downloads.sourceforge.net/dblatex/%{name}-%{version}.tar.bz2 -# Source0-md5: 7bd20e712f697e3626d2760fb36451ba +# Source0-md5: 38e9fd93dd37d71e352010ad40e1dfb4 Patch0: %{name}-nodebian.patch URL: http://dblatex.sourceforge.net/ BuildRequires: python >= 2 @@ -22,6 +22,7 @@ BuildRequires: texlive-makeindex BuildRequires: transfig Requires: python-modules >= 2 Requires: texlive-fonts-rsfs +Requires: texlive-format-pdflatex Requires: texlive-latex-ams Requires: texlive-latex-appendix Requires: texlive-latex-effects @@ -46,9 +47,6 @@ najpierw do czystego LaTeXa. Obsługiwane są także znaczniki MathML %setup -q %patch0 -p1 -# fix #!/usr/bin/env python -> #!/usr/bin/python: -%{__sed} -i -e '1s,^#!.*python,#!%{__python},' scripts/%{name} - %build #%%py_build @@ -64,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT %py_postclean +# fix #!/usr/bin/env python -> #!/usr/bin/python: +%{__sed} -i -e '1s,^#!.*python,#!%{__python},' $RPM_BUILD_ROOT/%{_bindir}/%{name} + %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc %clean