SPECS: beecrypt.spec - added bcond_without static_libs

twittner twittner at pld-linux.org
Fri Jun 17 21:49:32 CEST 2005


Author: twittner                     Date: Fri Jun 17 19:49:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   beecrypt.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/beecrypt.spec
diff -u SPECS/beecrypt.spec:1.54 SPECS/beecrypt.spec:1.55
--- SPECS/beecrypt.spec:1.54	Wed May 11 17:27:01 2005
+++ SPECS/beecrypt.spec	Fri Jun 17 21:49:27 2005
@@ -7,6 +7,7 @@
 %bcond_with	javac		# use javac instead of gcj
 %bcond_without	python		# don't build python module
 %bcond_without	doc		# don't build documentation
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	The BeeCrypt Cryptography Library
 Summary(pl):	Biblioteka kryptograficzna BeeCrypt
@@ -179,6 +180,7 @@
 	--without-cplusplus \
 	--with%{!?with_java:out}-javaglue \
 	--with-cpu=%{_target_cpu} \
+	%{!?with_static_libs:--enable-static=no} \
 %ifarch %{x8664}
 	--with-arch=x86_64 \
 %else
@@ -229,9 +231,11 @@
 %{_libdir}/libbeecrypt.la
 %{_includedir}/beecrypt
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libbeecrypt.a
+%endif
 
 %if %{with java}
 %files java
@@ -243,10 +247,12 @@
 %attr(755,root,root) %{_libdir}/libbeecrypt_java.so
 %{_libdir}/libbeecrypt_java.la
 
+%if %{with static_libs}
 %files java-static
 %defattr(644,root,root,755)
 %{_libdir}/libbeecrypt_java.a
 %endif
+%endif
 
 %if %{with doc}
 %files doc
@@ -266,6 +272,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2005/06/17 19:49:27  twittner
+- added bcond_without static_libs
+
 Revision 1.54  2005/05/11 15:27:01  qboosh
 - use x8664 macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/beecrypt.spec?r1=1.54&r2=1.55&f=u




More information about the pld-cvs-commit mailing list