packages: libxspf/libxspf.spec - added without static_libs bcond

charles charles at pld-linux.org
Wed May 27 00:44:50 CEST 2009


Author: charles                      Date: Tue May 26 22:44:50 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added without static_libs bcond

---- Files affected:
packages/libxspf:
   libxspf.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/libxspf/libxspf.spec
diff -u packages/libxspf/libxspf.spec:1.20 packages/libxspf/libxspf.spec:1.21
--- packages/libxspf/libxspf.spec:1.20	Wed May 27 00:37:43 2009
+++ packages/libxspf/libxspf.spec	Wed May 27 00:44:45 2009
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build
-%bcond_without  tests	# disable cpptest
+%bcond_without	static_libs	# don't build static library
+%bcond_without  tests		# disable cpptest
 #
 Summary:	XSPF playlist reading and writing support
 Summary(pl.UTF-8):	Obsługa odczytu i zapisu playlist XSPF
@@ -73,7 +74,9 @@
 %{__autoconf}
 %{__automake}
 %configure \
+	%{!?with_static_libs:--disable-static} \
 	 %{!?with_tests:--disable-test}
+
 %{__make}
 
 %install
@@ -102,9 +105,11 @@
 %{_includedir}/xspf
 %{_pkgconfigdir}/xspf.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libxspf.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -112,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2009/05/26 22:44:45  charles
+- added without static_libs bcond
+
 Revision 1.20  2009/05/26 22:37:43  charles
 - BR: cpptest-devel (with bcond)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxspf/libxspf.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list