]> git.pld-linux.org Git - packages/fltk.git/commitdiff
- unified bcond name: gl -> opengl
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Feb 2008 20:19:49 +0000 (20:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fltk.spec -> 1.58

fltk.spec

index 6b68f99003d6f38b943b3e580add9ee30b7e6d78..1f8cd37c9f35f33fa516dfc51d428f723ea2b47b 100644 (file)
--- a/fltk.spec
+++ b/fltk.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without gl      # without OpenGL libraries
+%bcond_without opengl  # without OpenGL libraries
 %bcond_without xft     # without Xft support
 #
 Summary:       Fast Light Tool Kit
@@ -18,7 +18,7 @@ Source1:      http://www.fltk.org/doc-1.1/%{name}.pdf
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-cxx.patch
 URL:           http://www.fltk.org/
-%{?with_gl:BuildRequires:      OpenGL-GLU-devel}
+%{?with_opengl:BuildRequires:  OpenGL-GLU-devel}
 BuildRequires: autoconf
 BuildRequires: libstdc++-devel
 BuildRequires: rpmbuild(macros) >= 1.315
@@ -140,7 +140,7 @@ install %{SOURCE1} .
 %configure \
        --enable-shared \
        --with-x \
-       %{!?with_gl:--disable-gl} \
+       %{!?with_opengl:--disable-gl} \
        %{?with_xft:--enable-xft}
 
 %{__make} depend
@@ -200,7 +200,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libfltk_forms.a
 %{_libdir}/libfltk_images.a
 
-%if %{with gl}
+%if %{with opengl}
 %files gl
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libfltk_gl.so.*.*
This page took 0.078123 seconds and 4 git commands to generate.