SPECS: openobex.spec - added bcond_without static - run automake

witekfl witekfl at pld-linux.org
Wed Jun 15 17:50:17 CEST 2005


Author: witekfl                      Date: Wed Jun 15 15:50:17 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static
- run automake

---- Files affected:
SPECS:
   openobex.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/openobex.spec
diff -u SPECS/openobex.spec:1.12 SPECS/openobex.spec:1.13
--- SPECS/openobex.spec:1.12	Fri Nov 21 02:48:40 2003
+++ SPECS/openobex.spec	Wed Jun 15 17:50:12 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	Library for using OBEX
 Summary(es):	Biblioteca para usar OBEX
 Summary(pl):	Biblioteka do obsługi protokołu OBEX
@@ -85,7 +86,9 @@
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%configure
+%{__automake}
+%configure \
+	%{!?with_static:--disable-static}
 
 %{__make}
 
@@ -115,9 +118,11 @@
 %{_includedir}/*
 %{_aclocaldir}/*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -125,6 +130,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/06/15 15:50:12  witekfl
+- added bcond_without static
+- run automake
+
 Revision 1.12  2003/11/21 01:48:40  saq
 - version 1.0.1
 - es translations
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openobex.spec?r1=1.12&r2=1.13&f=u




More information about the pld-cvs-commit mailing list