Author: witekfl                      Date: Fri Sep  7 17:43:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   DirectFB.spec (1.82 -> 1.83) , gdome2.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/DirectFB.spec
diff -u SPECS/DirectFB.spec:1.82 SPECS/DirectFB.spec:1.83
--- SPECS/DirectFB.spec:1.82    Mon Sep  3 17:31:33 2007
+++ SPECS/DirectFB.spec Fri Sep  7 19:43:07 2007
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with    multi           # build Multi-application core (requires 
working /dev/fusion*)
+%bcond_without static_libs     # don't build static libraries
 #
 Summary:       DirectFB - Hardware graphics acceleration
 Summary(pl.UTF-8):     DirectFB - Wspomaganie grafiki
@@ -301,7 +302,8 @@
        --enable-sse \
 %endif
 %endif
-       
--with-inputdrivers=dynapro,elo-input,gunze,joystick,keyboard,linuxinput,lirc,mutouch,penmount,ps2mouse,serialmouse,sonypijogdial,ucb1x00,wm97xx
+       
--with-inputdrivers=dynapro,elo-input,gunze,joystick,keyboard,linuxinput,lirc,mutouch,penmount,ps2mouse,serialmouse,sonypijogdial,ucb1x00,wm97xx
 \
+       %{!?with_static_libs:--disable-static}
 
 %{__make} \
        X11_CFLAGS= \
@@ -417,6 +419,7 @@
 %{_pkgconfigdir}/*.pc
 %{_mandir}/man1/directfb-csource.1*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
@@ -425,6 +428,7 @@
 %{dfbdir}/interfaces/*/*.[alo]*
 %{dfbdir}/systems/*.[alo]*
 %{dfbdir}/wm/*.[alo]*
+%endif
 
 %files doc
 %defattr(644,root,root,755)
@@ -489,6 +493,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2007/09/07 17:43:07  witekfl
+- added bcond_without static_libs
+
 Revision 1.82  2007/09/03 15:31:33  baggins
 - removed TODO, looks fixed upstream
 

================================================================
Index: SPECS/gdome2.spec
diff -u SPECS/gdome2.spec:1.28 SPECS/gdome2.spec:1.29
--- SPECS/gdome2.spec:1.28      Thu Jun 14 20:19:10 2007
+++ SPECS/gdome2.spec   Fri Sep  7 19:43:07 2007
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
 Summary:       DOM level2 library for accessing XML files
 Summary(pl.UTF-8):     Biblioteka dostępu do plików XML, DOM poziom 2
 Name:          gdome2
@@ -127,7 +131,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -160,9 +165,11 @@
 %{_aclocaldir}/%{name}.m4
 %{_pkgconfigdir}/%{name}.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -170,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2007/09/07 17:43:07  witekfl
+- added bcond_without static_libs
+
 Revision 1.28  2007/06/14 18:19:10  arekm
 - rel 8
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/DirectFB.spec?r1=1.82&r2=1.83&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gdome2.spec?r1=1.28&r2=1.29&f=u

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

Reply via email to