SPECS: twin.spec - without static_libs bcond
charles
charles at pld-linux.org
Sun Sep 14 14:35:44 CEST 2008
Author: charles Date: Sun Sep 14 12:35:44 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- without static_libs bcond
---- Files affected:
SPECS:
twin.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/twin.spec
diff -u SPECS/twin.spec:1.44 SPECS/twin.spec:1.45
--- SPECS/twin.spec:1.44 Thu Oct 4 18:19:38 2007
+++ SPECS/twin.spec Sun Sep 14 14:35:39 2008
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Twin - a windowing environment
Summary(pl.UTF-8): Tekstowe środowisko okienkowe
Name: twin
@@ -144,8 +148,8 @@
%{__aclocal}
%{__autoheader}
%{__autoconf}
-%configure
-
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make} \
CFLAGS="%{rpmcflags} -Wall -D_GNU_SOURCE"
@@ -192,9 +196,11 @@
%attr(755,root,root) %{_libdir}/lib*.so
%{_includedir}/*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%files TT-hw-gtk
%defattr(644,root,root,755)
@@ -223,6 +229,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2008/09/14 12:35:39 charles
+- without static_libs bcond
+
Revision 1.44 2007/10/04 16:19:38 witekfl
- added the gpm_wheel.patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/twin.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list