]> git.pld-linux.org Git - packages/beecrypt.git/commitdiff
- added bcond_without static_libs
authortwittner <twittner@pld-linux.org>
Fri, 17 Jun 2005 19:49:27 +0000 (19:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    beecrypt.spec -> 1.55

beecrypt.spec

index 60836c710043a384f36c3519c926dacb2d859aa1..0ec934b681e83e1d99200ae6499075c54f14cb50 100644 (file)
@@ -6,6 +6,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
@@ -178,6 +179,7 @@ Pythonie na u
        --without-cplusplus \
        --with%{!?with_java:out}-javaglue \
        --with-cpu=%{_target_cpu} \
+       %{!?with_static_libs:--enable-static=no} \
 %ifarch %{x8664}
        --with-arch=x86_64 \
 %else
@@ -228,9 +230,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
@@ -242,10 +246,12 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.045463 seconds and 4 git commands to generate.