SPECS: libosip2.spec - without static_libs bcond
charles
charles at pld-linux.org
Tue Jul 22 18:41:40 CEST 2008
Author: charles Date: Tue Jul 22 16:41:39 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- without static_libs bcond
---- Files affected:
SPECS:
libosip2.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/libosip2.spec
diff -u SPECS/libosip2.spec:1.17 SPECS/libosip2.spec:1.18
--- SPECS/libosip2.spec:1.17 Wed Jul 16 21:57:04 2008
+++ SPECS/libosip2.spec Tue Jul 22 18:41:32 2008
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: The GNU oSIP library
Summary(pl.UTF-8): Biblioteka GNU oSIP
Name: libosip2
@@ -70,7 +74,8 @@
%configure \
--enable-semaphore \
--enable-pthread \
- --%{?debug:en}%{!?debug:dis}able-debug
+ --%{?debug:en}%{!?debug:dis}able-debug \
+ %{!?with_static_libs:--disable-static}
%{__make}
@@ -108,10 +113,12 @@
%{_pkgconfigdir}/libosip2.pc
%{_mandir}/man3/osip.3*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libosip2.a
%{_libdir}/libosipparser2.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -119,6 +126,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2008/07/22 16:41:32 charles
+- without static_libs bcond
+
Revision 1.17 2008/07/16 19:57:04 qboosh
- updated to 3.1.0 (note: new sonames)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libosip2.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list