Accepting request 134997 from home:WernerFink:branches:X11:XOrg

- Make it build with latest TeXLive 2012 and use pdf engine

OBS-URL: https://build.opensuse.org/request/show/134997
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=4
This commit is contained in:
Stefan Dirsch 2012-10-25 12:30:52 +00:00 committed by Git OBS Bridge
parent 4255b8f0d4
commit cd29bca40a
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 19 08:08:53 UTC 2012 - werner@suse.de
- Make it build with latest TeXLive 2012 and use pdf engine
-------------------------------------------------------------------
Wed Mar 21 23:30:32 UTC 2012 - jengelh@medozas.de

View File

@ -38,7 +38,13 @@ BuildRequires: pkgconfig(resourceproto) pkgconfig(xineramaproto) pkgconfig(xkbf
BuildRequires: pkgconfig(pciaccess) >= 0.8.0
%endif %{nil Xstatic}
%if %{with dox}
BuildRequires: texlive
BuildRequires: texlive-latex
%if 0%{?suse_version} > 1220
BuildRequires: texlive-amsfonts
BuildRequires: texlive-cm-super
BuildRequires: texlive-ec
%endif
%endif %{nil with dox}
URL: http://sourceforge.net/apps/mediawiki/tigervnc/
%else
@ -106,7 +112,7 @@ pushd ../..
%if %{with dox}
cd doc
for s in rfbtight
do while [[ ! -r "$s.toc" ]] || grep "^No file .*$s\\.toc" "$s.log" && latex "$s.tex"
do while [[ ! -r "$s.toc" ]] || grep "^No file .*$s\\.toc" "$s.log" && pdflatex "$s.tex"
do :
done
done
@ -188,7 +194,7 @@ EOF
%doc ../../README.txt ../../LICENCE.TXT
%doc ../../doc/ft-protocol-problems.eml ../../doc/realvnc-internals.txt ../../doc/registered-codes.txt
%if %{with dox}
%doc ../../doc/rfbtight.dvi
%doc ../../doc/rfbtight.pdf
%else %{nil with dox}
%doc ../../doc/rfbtight.tex
%endif %{nil with dox}