Skip build of fig2mpdf docs on SLE-12
OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=77
This commit is contained in:
parent
98c48efe05
commit
3519509b83
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 11 12:40:48 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Skip build of documentation of fig2mpdf on SLE-12
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -26,11 +26,15 @@ BuildRequires: texlive-amsfonts
|
|||||||
BuildRequires: texlive-cm-super
|
BuildRequires: texlive-cm-super
|
||||||
BuildRequires: texlive-courier
|
BuildRequires: texlive-courier
|
||||||
BuildRequires: texlive-dvips
|
BuildRequires: texlive-dvips
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
BuildRequires: texlive-epstopdf
|
BuildRequires: texlive-epstopdf
|
||||||
|
%endif
|
||||||
BuildRequires: texlive-pdftex
|
BuildRequires: texlive-pdftex
|
||||||
BuildRequires: texlive-times
|
BuildRequires: texlive-times
|
||||||
BuildRequires: tex(beamer.cls)
|
BuildRequires: tex(beamer.cls)
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
BuildRequires: tex(german.sty)
|
BuildRequires: tex(german.sty)
|
||||||
|
%endif
|
||||||
BuildRequires: tex(multimedia.sty)
|
BuildRequires: tex(multimedia.sty)
|
||||||
BuildRequires: tex(times.sty)
|
BuildRequires: tex(times.sty)
|
||||||
BuildRequires: tex(xmpmulti.sty)
|
BuildRequires: tex(xmpmulti.sty)
|
||||||
@ -160,6 +164,7 @@ gzip -9 %{buildroot}%{_mandir}/man1/fig2mpdf.1
|
|||||||
|
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
install -m 0644 [CLNR]* %{buildroot}%{_defaultdocdir}/%{name}
|
install -m 0644 [CLNR]* %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
pushd fig2mpdf/doc
|
pushd fig2mpdf/doc
|
||||||
make
|
make
|
||||||
mkdir %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf
|
mkdir %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf
|
||||||
@ -167,6 +172,7 @@ pushd fig2mpdf/doc
|
|||||||
rm -f *.aux *.log *.nav *.out *.snm *.toc
|
rm -f *.aux *.log *.nav *.out *.snm *.toc
|
||||||
install -m 0644 * %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf/
|
install -m 0644 * %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf/
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
pushd transfig/doc
|
pushd transfig/doc
|
||||||
../../fig2dev/fig2dev -L latex trans.fig > trans.tex
|
../../fig2dev/fig2dev -L latex trans.fig > trans.tex
|
||||||
pdflatex manual.tex
|
pdflatex manual.tex
|
||||||
|
Loading…
Reference in New Issue
Block a user