SPECS: libuninameslist.spec - without static_libs bcond

djurban djurban at pld-linux.org
Mon Sep 26 16:55:00 CEST 2005


Author: djurban                      Date: Mon Sep 26 14:55:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond

---- Files affected:
SPECS:
   libuninameslist.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/libuninameslist.spec
diff -u SPECS/libuninameslist.spec:1.5 SPECS/libuninameslist.spec:1.6
--- SPECS/libuninameslist.spec:1.5	Sun Jul 24 23:09:15 2005
+++ SPECS/libuninameslist.spec	Mon Sep 26 16:54:54 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# disable static libraries
 Summary:	Library with unicode character names list
 Summary(pl):	Biblioteka z listą nazw znaków unicode
 Name:		libuninameslist
@@ -48,7 +49,7 @@
 %build
 cp -f /usr/share/automake/config.* .
 %configure \
-	--enable-static
+	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static
 
 %{__make}
 
@@ -76,9 +77,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/*.h
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -86,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/09/26 14:54:54  djurban
+- without static_libs bcond
+
 Revision 1.5  2005/07/24 21:09:15  qboosh
 - updated to 20050712
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libuninameslist.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list