|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
Name: dblatex
|
|
Name: dblatex
|
|
Version: 0.3.2
|
|
Version: 0.3.2
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Release: 4%{?_dist_release}
|
|
Summary: DocBook to LaTeX/ConTeXt Publishing
|
|
Summary: DocBook to LaTeX/ConTeXt Publishing
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
@@ -20,9 +20,10 @@ BuildRequires: libxslt docbook-dtds ImageMagick
|
|
## Need epstopdf, fig2dev
|
|
## Need epstopdf, fig2dev
|
|
BuildRequires: texlive-collection-fontutils
|
|
BuildRequires: texlive-collection-fontutils
|
|
BuildRequires: transfig
|
|
BuildRequires: transfig
|
|
|
|
+BuildRequires: texlive-vtlpkg >= 2013
|
|
##BuildRequires: tex(latex)
|
|
##BuildRequires: tex(latex)
|
|
##BuildRequires: tex(xetex)
|
|
##BuildRequires: tex(xetex)
|
|
-BuildRequires: texlive-common >= 2009
|
|
|
|
|
|
+BuildRequires: texlive >= 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
|
|
@@ -31,7 +32,7 @@ BuildRequires: texlive-collection-mathextra
|
|
BuildRequires: texlive-collection-htmlxml
|
|
BuildRequires: texlive-collection-htmlxml
|
|
Requires: libxslt docbook-dtds ImageMagick
|
|
Requires: libxslt docbook-dtds ImageMagick
|
|
##Requires: tex(xetex)
|
|
##Requires: tex(xetex)
|
|
-Requires: texlive-common >= 2009
|
|
|
|
|
|
+Requires: texlive >= 2013
|
|
Requires: texlive-collection-latexextra
|
|
Requires: texlive-collection-latexextra
|
|
Requires: transfig
|
|
Requires: transfig
|
|
BuildRequires: texlive-collection-mathextra
|
|
BuildRequires: texlive-collection-mathextra
|
|
@@ -71,14 +72,14 @@ for file in bibtopic.sty enumitem.sty ragged2e.sty passivetex/ xelatex/; do
|
|
%__rm -rf $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/misc/$file
|
|
%__rm -rf $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/misc/$file
|
|
done
|
|
done
|
|
|
|
|
|
-%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/dblatex
|
|
|
|
|
|
+%__mkdir_p $RPM_BUILD_ROOT%{_tl_texmfvine}/tex/latex/dblatex
|
|
for file in ` find $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/ -name '*.sty' ` ; do
|
|
for file in ` find $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/ -name '*.sty' ` ; do
|
|
- %__mv $file $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/dblatex/`basename $file` || exit 1;
|
|
|
|
|
|
+ %__mv $file $RPM_BUILD_ROOT%{_tl_texmfvine}/tex/latex/dblatex/`basename $file` || exit 1;
|
|
done
|
|
done
|
|
|
|
|
|
## also move .xetex files
|
|
## also move .xetex files
|
|
for file in ` find $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/ -name '*.xetex' ` ; do
|
|
for file in ` find $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/ -name '*.xetex' ` ; do
|
|
- %__mv $file $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/dblatex/`basename $file` || exit 1;
|
|
|
|
|
|
+ %__mv $file $RPM_BUILD_ROOT%{_tl_texmfvine}/tex/latex/dblatex/`basename $file` || exit 1;
|
|
done
|
|
done
|
|
|
|
|
|
%__rm -rf $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/{misc,contrib/example,style}
|
|
%__rm -rf $RPM_BUILD_ROOT%{_datadir}/dblatex/latex/{misc,contrib/example,style}
|
|
@@ -96,6 +97,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*
|
|
@@ -104,14 +120,14 @@ touch -r xsl/mathml2/README README-xsltml
|
|
%{python_sitelib}/dblatex-*.egg-info
|
|
%{python_sitelib}/dblatex-*.egg-info
|
|
%{_bindir}/dblatex
|
|
%{_bindir}/dblatex
|
|
%{_datadir}/dblatex/
|
|
%{_datadir}/dblatex/
|
|
-%{_datadir}/texmf/tex/latex/dblatex/
|
|
|
|
|
|
+%{_tl_texmfvine}/tex/latex/dblatex/
|
|
%dir %{_sysconfdir}/dblatex
|
|
%dir %{_sysconfdir}/dblatex
|
|
|
|
|
|
-%post -p /usr/bin/texhash
|
|
|
|
-
|
|
|
|
-%postun -p /usr/bin/texhash
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Aug 29 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.2-4
|
|
|
|
+- added BuildRequires: texlive-vtlpkg
|
|
|
|
+
|
|
* Fri Dec 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.2-3
|
|
* Fri Dec 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.2-3
|
|
- added R: texlive-collection-langcjk texlive-collection-bibtexextra [Vine Linux 0002511]
|
|
- added R: texlive-collection-langcjk texlive-collection-bibtexextra [Vine Linux 0002511]
|
|
|
|
|