Author: witekfl                      Date: Tue Jun 14 16:25:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   libaal.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/libaal.spec
diff -u SPECS/libaal.spec:1.15 SPECS/libaal.spec:1.16
--- SPECS/libaal.spec:1.15      Sun Feb 20 21:04:14 2005
+++ SPECS/libaal.spec   Tue Jun 14 18:25:08 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without static_libs     # don't build static library
 Summary:       Library for Reiser4 filesystem
 Summary(pl):   Bibloteka dla systemu plików Reiser4
 Name:          libaal
@@ -56,7 +57,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-       %{!?debug:--disable-debug}
+       %{!?debug:--disable-debug} \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -84,9 +86,11 @@
 %{_includedir}/*
 %{_aclocaldir}/*.m4
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -94,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/06/14 16:25:08  witekfl
+- added bcond_without static_libs
+
 Revision 1.15  2005/02/20 20:04:14  adamg
 - updated to 1.0.4
 - dropped -am18.patch (applied upstream)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libaal.spec?r1=1.15&r2=1.16&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to