]> git.pld-linux.org Git - packages/dblatex.git/blobdiff - dblatex.spec
- up to 0.3.9
[packages/dblatex.git] / dblatex.spec
index 0018e8f825ea2aa98198e538e25885548d43503d..dfd7061937998f6b838a9f51b2f5fbe87403e7f0 100644 (file)
@@ -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
This page took 0.068921 seconds and 4 git commands to generate.