SPECS: jasper.spec - without_opengl bcond added

jajcus jajcus at pld-linux.org
Fri Sep 22 14:01:02 CEST 2006


Author: jajcus                       Date: Fri Sep 22 12:01:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without_opengl bcond added

---- Files affected:
SPECS:
   jasper.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/jasper.spec
diff -u SPECS/jasper.spec:1.30 SPECS/jasper.spec:1.31
--- SPECS/jasper.spec:1.30	Wed Nov  2 00:29:29 2005
+++ SPECS/jasper.spec	Fri Sep 22 14:00:57 2006
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without opengl  # Disable OpenGL
+#
 Summary:	JasPer - collection of software for coding and manipulation of images
 Summary(pl):	JasPer - zestaw oprogramowania do obróbki obrazków
 Name:		jasper
@@ -13,6 +17,7 @@
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
 BuildRequires:	glut-devel >= 3.7-12
+%{?without_opengl:BuildRequires:       glut-devel >= 3.7-12}
 BuildRequires:	libjpeg-devel
 BuildRequires:	libtool
 BuildRequires:	unzip
@@ -104,6 +109,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+        %{?without_opengl:--disable-opengl} \
 	--enable-shared
 
 %{__make}
@@ -140,9 +146,11 @@
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
 
+%if %{with opengl}
 %files jiv
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/jiv
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -150,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2006/09/22 12:00:57  jajcus
+- without_opengl bcond added
+
 Revision 1.30  2005/11/01 23:29:29  glen
 - rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/jasper.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list