SPECS: alsa-lib.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Tue Jun 28 17:24:34 CEST 2005
Author: witekfl Date: Tue Jun 28 15:24:34 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
alsa-lib.spec (1.114 -> 1.115)
---- Diffs:
================================================================
Index: SPECS/alsa-lib.spec
diff -u SPECS/alsa-lib.spec:1.114 SPECS/alsa-lib.spec:1.115
--- SPECS/alsa-lib.spec:1.114 Wed Jun 1 22:42:30 2005
+++ SPECS/alsa-lib.spec Tue Jun 28 17:24:29 2005
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Advanced Linux Sound Architecture (ALSA) - Library
Summary(es): Advanced Linux Sound Architecture (ALSA) - Biblioteca
Summary(pl): Advanced Linux Sound Architecture (ALSA) - Biblioteka
@@ -160,7 +164,8 @@
%{__autoconf}
%{__automake}
%configure \
- --enable-static
+ --enable-static \
+ %{!?with_static_libs:--disable-static}
%{__make}
%{__make} doc
@@ -195,9 +200,11 @@
%{_includedir}/alsa
%{_pkgconfigdir}/*.pc
+%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
@@ -205,6 +212,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.115 2005/06/28 15:24:29 witekfl
+- added bcond_without static_libs
+
Revision 1.114 2005/06/01 20:42:30 qboosh
- removed obsolete alpha patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/alsa-lib.spec?r1=1.114&r2=1.115&f=u
More information about the pld-cvs-commit
mailing list