]> git.pld-linux.org Git - packages/db5.0.git/commitdiff
- new URLs, updated to 5.0.32
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Dec 2011 15:00:48 +0000 (15:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db5.0.spec -> 1.9

db5.0.spec

index a0468299e358d5f74e5938371ccd34c5d3f9b787..59eca166fc7fec554ee9fd4f8ff2680d4809ebad 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without java            # don't build java bindings
+%bcond_without java            # don't build Java bindings
 %bcond_without tcl             # don't build Tcl bindings
 %bcond_without static_libs     # don't build static libraries
 
@@ -8,19 +8,20 @@
 
 %define                major           5
 %define                libver          %{major}.0
-%define                ver             %{libver}.21
+%define                ver             %{libver}.32
 %define                patchlevel      0
 Summary:       Berkeley DB database library for C
 Summary(pl.UTF-8):     Biblioteka C do obsÅ‚ugi baz Berkeley DB
 Name:          db5.0
 Version:       %{ver}.%{patchlevel}
-Release:       2
+Release:       1
 License:       BSD-like (see LICENSE)
 Group:         Libraries
+#Source0Download: http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html
 Source0:       http://download.oracle.com/berkeley-db/db-%{ver}.tar.gz
-# Source0-md5: 9a749fd2e98fe15840493ddc34cc66d8
-# %%patchset_source -f http://www.oracle.com/technology/products/berkeley-db/db/update/%{ver}/patch.%{ver}.%g 1 %{patchlevel}
-URL:           http://www.oracle.com/technology/products/berkeley-db/db/index.html
+# Source0-md5: b63afbd6ab191d0f19e00927f25d66fe
+# %%patchset_source -f http://download.oracle.com/berkeley-db/patches/db/%{ver}/patch.%{ver}.%g 1 %{patchlevel}
+URL:           http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html
 BuildRequires: automake
 %if %{with java}
 BuildRequires: jdk
@@ -325,7 +326,6 @@ poleceÅ„.
 
 %prep
 %setup -q -n db-%{ver}
-
 # official patches
 #%%patchset_patch 1 %{patchlevel}
 
@@ -345,7 +345,6 @@ CXX="%{__cxx}"
 CFLAGS="%{rpmcflags}"
 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
 LDFLAGS="%{rpmcflags} %{rpmldflags}"
-
 export CC CXX CFLAGS CXXFLAGS LDFLAGS
 
 ../dist/%configure \
@@ -397,14 +396,14 @@ install -d $RPM_BUILD_ROOT%{_javadir}
 
 %if %{with static_libs}
 %{__make} -C build_unix.static library_install \
-       docdir=%{_docdir}/db-%{version}-docs \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       docdir=%{_docdir}/db-%{version}-docs
 %endif
 
 %{__make} -C build_unix library_install \
-       docdir=%{_docdir}/db-%{version}-docs \
        DESTDIR=$RPM_BUILD_ROOT \
-       LIB_INSTALL_FILE_LIST=""
+       LIB_INSTALL_FILE_LIST="" \
+       docdir=%{_docdir}/db-%{version}-docs
 
 mv $RPM_BUILD_ROOT%{_libdir}/libdb-%{libver}.so $RPM_BUILD_ROOT/%{_lib}
 
@@ -460,10 +459,10 @@ cp -rf examples_java/* $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version}
 %endif
 
 # in %doc
-rm -f $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/{index.html,license/license_db.html}
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/{index.html,license/license_db.html}
 
 # don't have csharp subpackages yet
-rm -rf $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/csharp
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/csharp
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.111946 seconds and 4 git commands to generate.