Accepting request 683724 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/683724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ftgl?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2019-03-14 13:51:56 +00:00 committed by Git OBS Bridge
commit 2566c92012
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

View File

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