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
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
%setup -q
%patch0 -p1
-# fix #!/usr/bin/env python -> #!/usr/bin/python:
-%{__sed} -i -e '1s,^#!.*python,#!%{__python},' scripts/%{name}
-
%build
#%%py_build
%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