SPECS: sa.spec - up to 1.2.5

twittner twittner at pld-linux.org
Fri Oct 14 00:33:43 CEST 2005


Author: twittner                     Date: Thu Oct 13 22:33:43 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.2.5

---- Files affected:
SPECS:
   sa.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/sa.spec
diff -u SPECS/sa.spec:1.4 SPECS/sa.spec:1.5
--- SPECS/sa.spec:1.4	Sat Mar  5 20:36:30 2005
+++ SPECS/sa.spec	Fri Oct 14 00:33:38 2005
@@ -1,18 +1,19 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without  static_libs # don't build static libraries
 %bcond_without	tests	# don't perform "make check"
 #
 Summary:	OSSP sa - Socket Abstraction
 Summary(pl):	OSSP sa - biblioteka abstrakcji gniazd
 Name:		sa
-Version:	1.2.4
+Version:	1.2.5
 Release:	0.1
 Epoch:		0
 License:	distributable (see README)
 Group:		Libraries
 Source0:	ftp://ftp.ossp.org/pkg/lib/sa/%{name}-%{version}.tar.gz
-# Source0-md5:	b7fa70bef195f81fa72f2471d47b793c
+# Source0-md5:	1393db6eeaf229746c245fe9cf65c93b
 Patch0:		%{name}-libs.patch
 URL:		http://www.ossp.org/pkg/lib/sa/
 BuildRequires:	ex-devel
@@ -64,7 +65,8 @@
 
 %build
 %configure \
-	--with-ex
+	--with-ex \
+	--enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
 %{__make}
 
 %{?with_tests:%{__make} check}
@@ -92,11 +94,14 @@
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}/*
+%{_pkgconfigdir}/*.pc
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +109,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/10/13 22:33:38  twittner
+- up to 1.2.5
+
 Revision 1.4  2005/03/05 19:36:30  paszczus
 - updated to 1.2.4
 
================================================================

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




More information about the pld-cvs-commit mailing list