SPECS: dar.spec - added bcond_without static_libs

twittner twittner at pld-linux.org
Thu Jun 16 23:08:52 CEST 2005


Author: twittner                     Date: Thu Jun 16 21:08:52 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   dar.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/dar.spec
diff -u SPECS/dar.spec:1.48 SPECS/dar.spec:1.49
--- SPECS/dar.spec:1.48	Tue May 24 01:20:54 2005
+++ SPECS/dar.spec	Thu Jun 16 23:08:46 2005
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	ea		# build without support for linux extented attributes
 %bcond_without	static		# build without dar_static
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	dar makes backup of a directory tree and files
 Summary(pl):	dar - narzędzie do tworzenia kopii zapasowych drzew katalogów i plików
@@ -238,6 +239,7 @@
 %configure \
 	%{!?with_ea:--disable-ea-support} \
 	%{!?with_static:--disable-dar-static} \
+	%{!?with_static_libs:--disable-static} \
 	--enable-mode=64 \
 	--disable-upx
 %{__make}
@@ -284,9 +286,11 @@
 %attr(755,root,root) /bin/*
 %endif
 
+%if %{with static_libs}
 %files libs-static
 %defattr(644,root,root,755)
 %{_libdir}/libdar64.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -294,6 +298,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2005/06/16 21:08:46  twittner
+- added bcond_without static_libs
+
 Revision 1.48  2005/05/23 23:20:54  twittner
 - up to 2.2.2 (see changes in ChagneLog, especially note for API users)
 - updated -opt.patch for 2.2.2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dar.spec?r1=1.48&r2=1.49&f=u




More information about the pld-cvs-commit mailing list