SPECS (AC-branch): db.spec - up to 4.2.52.5

glen glen at pld-linux.org
Tue Sep 2 10:11:42 CEST 2008


Author: glen                         Date: Tue Sep  2 08:11:42 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- up to 4.2.52.5

---- Files affected:
SPECS:
   db.spec (1.66.2.9 -> 1.66.2.10) 

---- Diffs:

================================================================
Index: SPECS/db.spec
diff -u SPECS/db.spec:1.66.2.9 SPECS/db.spec:1.66.2.10
--- SPECS/db.spec:1.66.2.9	Fri Dec  2 09:31:25 2005
+++ SPECS/db.spec	Tue Sep  2 10:11:36 2008
@@ -6,32 +6,32 @@
 %bcond_with	pmutex	# use POSIX mutexes (only process-private with linuxthreads)
 %bcond_with	nptl	# use process-shared POSIX mutexes (NPTL provides full interface)
 #
+%define		ver			4.2.52
+%define		patchlevel	5
+#
 %{?with_nptl:%define	with_pmutex	1}
 Summary:	Berkeley DB database library for C
 Summary(pl):	Biblioteka C do obs³ugi baz Berkeley DB
 Name:		db
-Version:	4.2.52
-Release:	12
+Version:	%{ver}.%{patchlevel}
+Release:	1
 License:	Sleepycat public license (GPL-like, see LICENSE)
 Group:		Libraries
 # alternative site (sometimes working): http://www.berkeleydb.com/
 #Source0Download: http://www.sleepycat.com/download/
-Source0:	http://www.sleepycat.com/update/snapshot/%{name}-%{version}.tar.gz
+Source0:	http://www.sleepycat.com/update/snapshot/%{name}-%{ver}.tar.gz
 # Source0-md5:	cbc77517c9278cdb47613ce8cb55779f
+%patchset_source -f http://www.oracle.com/technology/products/berkeley-db/db/update/%{ver}/patch.%{ver}.%g 1 %{patchlevel}
 Patch0:		%{name}-so-suffix.patch
-Patch1:		patch.4.2.52.1
-Patch2:		patch.4.2.52.2
-Patch3:		patch.4.2.52.3
-Patch4:		patch.4.2.52.4
-Patch5:		%{name}-amd64-fastmutex.patch
-URL:		http://www.sleepycat.com/
+Patch1:		%{name}-amd64-fastmutex.patch
+URL:		http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	ed
 %{?with_java:BuildRequires:	jdk}
-BuildRequires:	libtool
 BuildRequires:	libstdc++-devel
-BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	libtool
+BuildRequires:	rpmbuild(macros) >= 1.426
 BuildRequires:	sed >= 4.0
 %{?with_tcl:BuildRequires:	tcl-devel >= 8.4.0}
 Obsoletes:	db4
@@ -204,9 +204,9 @@
 Summary(pl):	Narzêdzia do obs³ugi baz Berkeley DB z linii poleceñ
 Group:		Applications/Databases
 Requires:	%{name} = %{epoch}:%{version}-%{release}
+Obsoletes:	db3-utils
 Obsoletes:	db4-utils
 # obsolete Ra package
-Obsoletes:	db3-utils
 
 %description utils
 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
@@ -231,13 +231,13 @@
 poleceñ.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{ver}
+
+# official patches
+%patchset_patch 1 %{patchlevel}
+
 %patch0 -p1
-%patch1 -p0
-%patch2 -p0
-%patch3 -p0
-%patch4 -p0
-%patch5 -p1
+%patch1 -p1
 
 %if %{without nptl}
 sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac
@@ -288,7 +288,7 @@
 	%{?with_tcl:--with-tcl=/usr/lib} \
 	%{?with_java:--enable-java} \
 	--disable-static \
-	--enable-shared 
+	--enable-shared
 
 %{__make} library_build \
 	TCFLAGS='-I$(builddir) -I%{_includedir}' \
@@ -352,6 +352,8 @@
 %if %{with java}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-java-%{version}
 cp -rf examples_java/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-java-%{version}
+%else
+rm -rf $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/java
 %endif
 
 %clean
@@ -466,6 +468,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66.2.10  2008/09/02 08:11:36  glen
+- up to 4.2.52.5
+
 Revision 1.66.2.9  2005/12/02 08:31:25  qboosh
 - -utils Obsoletes: db3-utils (no db3 after Ra)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/db.spec?r1=1.66.2.9&r2=1.66.2.10&f=u



More information about the pld-cvs-commit mailing list