|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
Name: dblatex
|
|
Name: dblatex
|
|
Version: 0.3.4
|
|
Version: 0.3.4
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
Summary: DocBook to LaTeX/ConTeXt Publishing
|
|
Summary: DocBook to LaTeX/ConTeXt Publishing
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
@@ -18,6 +18,7 @@ Patch10: dblatex-0.3.4-no-deb.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
+BuildRequires: texlive-vtlpkg >= 2013
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-which
|
|
BuildRequires: python-which
|
|
BuildRequires: libxslt docbook-dtds ImageMagick
|
|
BuildRequires: libxslt docbook-dtds ImageMagick
|
|
@@ -26,7 +27,7 @@ BuildRequires: texlive-collection-fontutils
|
|
BuildRequires: transfig
|
|
BuildRequires: transfig
|
|
##BuildRequires: tex(latex)
|
|
##BuildRequires: tex(latex)
|
|
##BuildRequires: tex(xetex)
|
|
##BuildRequires: tex(xetex)
|
|
-BuildRequires: texlive-common >= 2009
|
|
+BuildRequires: texlive-common >= 2013
|
|
## appendix.sty, changebar.sty, footmisc.sty, multirow.sty,
|
|
## appendix.sty, changebar.sty, footmisc.sty, multirow.sty,
|
|
## overpic.sty, subfigure.sty, titlesec.sty
|
|
## overpic.sty, subfigure.sty, titlesec.sty
|
|
BuildRequires: texlive-collection-latexextra
|
|
BuildRequires: texlive-collection-latexextra
|
|
@@ -101,6 +102,21 @@ touch -r xsl/mathml2/README README-xsltml
|
|
%__rm -rf $RPM_BUILD_ROOT
|
|
%__rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
+%post
|
|
|
|
+%_tl_touch_run texhash
|
|
|
|
+exit 0
|
|
|
|
+
|
|
|
|
+%postun
|
|
|
|
+if [ "$1" = 0 ]; then
|
|
|
|
+ %_tl_touch_run texhash
|
|
|
|
+fi
|
|
|
|
+exit 0
|
|
|
|
+
|
|
|
|
+%posttrans
|
|
|
|
+%{_tl_exec_texhash}
|
|
|
|
+exit 0
|
|
|
|
+
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_mandir}/man1/dblatex.1*
|
|
%{_mandir}/man1/dblatex.1*
|
|
@@ -112,11 +128,11 @@ touch -r xsl/mathml2/README README-xsltml
|
|
%{_datadir}/texmf/tex/latex/dblatex/
|
|
%{_datadir}/texmf/tex/latex/dblatex/
|
|
%dir %{_sysconfdir}/dblatex
|
|
%dir %{_sysconfdir}/dblatex
|
|
|
|
|
|
-%post -p /usr/bin/texhash
|
|
|
|
-
|
|
|
|
-%postun -p /usr/bin/texhash
|
|
|
|
-
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.4-2
|
|
|
|
+- added BuildRequires: texlive-vtlpkg >= 2013
|
|
|
|
+- added some scriptlets to run mktexlsr
|
|
|
|
+
|
|
* Fri Nov 8 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.4-1
|
|
* Fri Nov 8 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.4-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|