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:
Dr. Werner Fink 2021-08-11 12:45:51 +00:00 committed by Git OBS Bridge
parent 98c48efe05
commit 3519509b83
2 changed files with 11 additions and 0 deletions

View File

@ -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>

View File

@ -26,11 +26,15 @@ BuildRequires: texlive-amsfonts
BuildRequires: texlive-cm-super
BuildRequires: texlive-courier
BuildRequires: texlive-dvips
%if 0%{?suse_version} > 1315
BuildRequires: texlive-epstopdf
%endif
BuildRequires: texlive-pdftex
BuildRequires: texlive-times
BuildRequires: tex(beamer.cls)
%if 0%{?suse_version} > 1315
BuildRequires: tex(german.sty)
%endif
BuildRequires: tex(multimedia.sty)
BuildRequires: tex(times.sty)
BuildRequires: tex(xmpmulti.sty)
@ -160,6 +164,7 @@ gzip -9 %{buildroot}%{_mandir}/man1/fig2mpdf.1
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
install -m 0644 [CLNR]* %{buildroot}%{_defaultdocdir}/%{name}
%if 0%{?suse_version} > 1315
pushd fig2mpdf/doc
make
mkdir %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf
@ -167,6 +172,7 @@ pushd fig2mpdf/doc
rm -f *.aux *.log *.nav *.out *.snm *.toc
install -m 0644 * %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf/
popd
%endif
pushd transfig/doc
../../fig2dev/fig2dev -L latex trans.fig > trans.tex
pdflatex manual.tex