SHA256
1
0
forked from pool/ftgl

Accepting request 682907 from home:olh:branches:multimedia:libs

- Add conditional for html docs, SLE_12 has no epstopdf

OBS-URL: https://build.opensuse.org/request/show/682907
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ftgl?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal 2019-03-11 08:33:30 +00:00 committed by Git OBS Bridge
parent 87246e3a68
commit 4e97cf0274
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 8 16:41:52 UTC 2019 - olaf@aepfle.de
- Add conditional for html docs, SLE_12 has no epstopdf
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 26 12:52:27 UTC 2018 - crrodriguez@opensuse.org Mon Mar 26 12:52:27 UTC 2018 - crrodriguez@opensuse.org

View File

@ -17,6 +17,7 @@
%define libname libftgl2 %define libname libftgl2
%bcond_without ftgl_html
Name: ftgl Name: ftgl
Version: 2.1.3~rc5 Version: 2.1.3~rc5
Release: 0 Release: 0
@ -31,15 +32,17 @@ Patch1: ftgl-pkgconfig.patch
Patch2: ftgl-fix-no-add-needed.patch Patch2: ftgl-fix-no-add-needed.patch
# PATCH-FIX-OPENSUSE: install FTVectoriser.h, required by tulip-5.0; kkaempf@suse.de # PATCH-FIX-OPENSUSE: install FTVectoriser.h, required by tulip-5.0; kkaempf@suse.de
Patch3: install-FTVectoriser.h.patch Patch3: install-FTVectoriser.h.patch
%if %{with ftgl_html}
BuildRequires: doxygen
BuildRequires: texlive-epstopdf
%endif
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: doxygen
BuildRequires: freeglut-devel BuildRequires: freeglut-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: ghostscript BuildRequires: ghostscript
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: texlive-epstopdf
BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(glu)
@ -123,7 +126,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files devel %files devel
%doc %dir %{_defaultdocdir}/%{name} %doc %dir %{_defaultdocdir}/%{name}
%if %{with ftgl_html}
%doc %{_defaultdocdir}/%{name}/html %doc %{_defaultdocdir}/%{name}/html
%endif
%doc %{_defaultdocdir}/%{name}/*.txt %doc %{_defaultdocdir}/%{name}/*.txt
%{_includedir}/FTGL %{_includedir}/FTGL
%{_libdir}/*.so %{_libdir}/*.so