packages: serf/serf.spec, serf/serf-sh.patch (NEW) - updated to 0.7.0 - add...

qboosh qboosh at pld-linux.org
Tue Nov 16 22:23:23 CET 2010


Author: qboosh                       Date: Tue Nov 16 21:23:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.7.0
- added sh patch (quotes fix needed by ksh)

---- Files affected:
packages/serf:
   serf.spec (1.3 -> 1.4) , serf-sh.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/serf/serf.spec
diff -u packages/serf/serf.spec:1.3 packages/serf/serf.spec:1.4
--- packages/serf/serf.spec:1.3	Sat Jan 31 21:05:57 2009
+++ packages/serf/serf.spec	Tue Nov 16 22:23:17 2010
@@ -6,15 +6,19 @@
 Summary:	A high-performance asynchronous HTTP client library
 Summary(pl.UTF-8):	Wysokowydajna biblioteka asynchronicznego klienta HTTP
 Name:		serf
-Version:	0.3.0
+Version:	0.7.0
 Release:	1
-License:	Apache
+License:	Apache v2.0
 Group:		Libraries
+#Source0Download: http://code.google.com/p/serf/downloads/list
 Source0:	http://serf.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5:	d5c7f41d1c9f1589b98affc1fa029982
+# Source0-md5:	5c4b6d8b44135abbde289b49122bb7af
+Patch0:		%{name}-sh.patch
 URL:		http://code.google.com/p/serf/
 BuildRequires:	apr-devel
 BuildRequires:	apr-util-devel
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,6 +42,7 @@
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	apr-devel
+Requires:	apr-util-devel
 
 %description devel
 C header files for the serf library.
@@ -59,8 +64,11 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal} -I build
+%{__autoconf}
 %configure \
 	--with-apr=%{_prefix} \
 	--with-apr-util=%{_prefix} \
@@ -84,18 +92,18 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES NOTICE README
-%attr(755,root,root) %{_libdir}/libserf-*.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libserf-*.so.[0-9]
+%attr(755,root,root) %{_libdir}/libserf-0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libserf-0.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libserf-*.so
-%{_libdir}/libserf-*.la
+%attr(755,root,root) %{_libdir}/libserf-0.so
+%{_libdir}/libserf-0.la
 %{_includedir}/serf*.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libserf-*.a
+%{_libdir}/libserf-0.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -103,6 +111,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/11/16 21:23:17  qboosh
+- updated to 0.7.0
+- added sh patch (quotes fix needed by ksh)
+
 Revision 1.3  2009/01/31 20:05:57  arekm
 - up to 0.3.0
 

================================================================
Index: packages/serf/serf-sh.patch
diff -u /dev/null packages/serf/serf-sh.patch:1.1
--- /dev/null	Tue Nov 16 22:23:23 2010
+++ packages/serf/serf-sh.patch	Tue Nov 16 22:23:17 2010
@@ -0,0 +1,11 @@
+--- serf-0.7.0/configure.in.orig	2009-07-28 00:20:24.000000000 +0200
++++ serf-0.7.0/configure.in	2010-11-16 21:59:51.355099937 +0100
+@@ -78,7 +78,7 @@
+ AC_SUBST(APR_VERSION)
+ AC_SUBST(APR_CONFIG)
+ 
+-APR_VERSION_MAJOR="`echo \"$APR_VERSION\" | sed 's,\..*,,'`"
++APR_VERSION_MAJOR="$(echo "$APR_VERSION" | sed 's,\..*,,')"
+ APR_VERSION_NUM="`echo \"$APR_VERSION\" | \
+                 sed -e 's/[[^0-9\.]].*$//' \
+                     -e 's/\.\([[0-9]]\)$/.0\1/' \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/serf/serf.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list