]> git.pld-linux.org Git - packages/db5.3.git/blobdiff - db5.3.spec
- rpm 4 picks default, make it rpm db
[packages/db5.3.git] / db5.3.spec
index c04f920801204de4d918335e976a012efbe01b3f..cba3dbede47fd316d1903e509ab1b017352a86f2 100644 (file)
@@ -5,24 +5,28 @@
 %bcond_without static_libs     # don't build static libraries
 %bcond_with    sqlite3         # build Sqlite3 API libraries
 %bcond_without default_db      # don't use this db as default system db [Th uses DB 5.3]
-%bcond_with    rpm_db          # install library to rootfs for /bin/rpm
+%bcond_without rpm_db          # install library to rootfs for /bin/rpm
 
 %{load:/usr/lib/rpm/macros.d/java}
 
 %define                major           5
 %define                libver          %{major}.3
-%define                ver             %{libver}.21
+%define                ver             %{libver}.28
 %define                patchlevel      0
 Summary:       Berkeley DB database library for C
 Summary(pl.UTF-8):     Biblioteka C do obsÅ‚ugi baz Berkeley DB
 Name:          db5.3
 Version:       %{ver}.%{patchlevel}
-Release:       2
+Release:       5
 License:       BSD-like (see LICENSE)
 Group:         Libraries
 #Source0Download: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
 Source0:       http://download.oracle.com/berkeley-db/db-%{ver}.tar.gz
-# Source0-md5: 3fda0b004acdaa6fa350bfc41a3b95ca
+# Source0-md5: b99454564d5b4479750567031d66fe24
+Patch0:                %{name}-link.patch
+Patch1:                %{name}-sql-features.patch
+Patch2:                db-5.3.28-cwd-db_config.patch
+Patch3:                %{name}-atomic_compare_exchange.patch
 URL:           http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
 BuildRequires: automake
 %if %{with java}
@@ -245,7 +249,7 @@ Pliki programistyczne biblioteki db-tcl.
 Summary:       SQL layer for Berkeley database library
 Summary(pl.UTF-8):     Wartstwa SQL dla biblioteki baz danych Berkeley
 Group:         Libraries
-%if %{with default_bd}
+%if %{with default_db}
 Provides:      db-sql = %{version}-%{release}
 %endif
 
@@ -260,7 +264,7 @@ Summary:    Development files for db-sql library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki db-sql
 Group:         Development/Libraries
 Requires:      %{name}-sql = %{version}-%{release}
-%if %{with default_bd}
+%if %{with default_db}
 Provides:      db-sql-devel = %{version}-%{release}
 Obsoletes:     db-sql-devel
 %endif
@@ -368,9 +372,14 @@ poleceÅ„.
 
 %prep
 %setup -q -n db-%{ver}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 cp -f /usr/share/automake/config.sub dist
+cp -f /usr/share/automake/config.sub lang/sql/sqlite
 
 JAVACFLAGS="-source 1.5 -target 1.5"
 export JAVACFLAGS
This page took 0.054468 seconds and 4 git commands to generate.