SPECS: sio.spec - up to 0.9.3, builds with ex

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


Author: twittner                     Date: Thu Oct 13 22:51:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.9.3, builds with ex

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

---- Diffs:

================================================================
Index: SPECS/sio.spec
diff -u SPECS/sio.spec:1.5 SPECS/sio.spec:1.6
--- SPECS/sio.spec:1.5	Sun Nov 28 02:48:18 2004
+++ SPECS/sio.spec	Fri Oct 14 00:50:55 2005
@@ -1,22 +1,22 @@
 # $Revision$, $Date$
 #
-# Conditional build:
+%bcond_without  static_libs # don't build static libraries
 %bcond_without	tests	# don't perform "make check"
 #
 Summary:	OSSP sio - Stream I/O
 Summary(pl):	OSSP sio - biblioteka strumieni I/O
 Name:		sio
-Version:	0.9.2
-Release:	0.2
+Version:	0.9.3
+Release:	0.1
 Epoch:		0
 License:	distributable (see README)
 Group:		Libraries
 Source0:	ftp://ftp.ossp.org/pkg/lib/sio/%{name}-%{version}.tar.gz
-# Source0-md5:	fa39b36c13324ed5f3233698eda9de9f	
+# Source0-md5:	8dcd991b8d9220810451138cf9dfa0ea
 Patch0:		%{name}-libs.patch
 URL:		http://www.ossp.org/pkg/lib/sio/
 BuildRequires:	al-devel
-#BuildRequires:	ex-devel
+BuildRequires:	ex-devel
 BuildRequires:	sa-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -67,8 +67,9 @@
 %build
 %configure \
 	--with-al \
-	--with-sa
-#	--with-ex \ # build fails; compiler bug?
+	--with-sa \
+	--with-ex \
+	--enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}	
 %{__make}
 
 %{?with_tests:%{__make} check}
@@ -98,9 +99,11 @@
 %{_includedir}/*
 %{_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
@@ -108,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/10/13 22:50:55  twittner
+- up to 0.9.3, builds with ex
+
 Revision 1.5  2004/11/28 01:48:18  radek
 - release 0.2: added -libs.patch, --with-{al,sa} + BRs, bcond_without tests
 
================================================================

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




More information about the pld-cvs-commit mailing list