- new URLs, updated to 4.8.30
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Dec 2011 12:44:22 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db4.8.spec -> 1.6

db4.8.spec

index d857fac..006e779 100644 (file)
@@ -7,7 +7,7 @@
 %include       /usr/lib/rpm/macros.java
 
 %define                libver          4.8
-%define                ver                     %{libver}.26
+%define                ver             %{libver}.30
 %define                patchlevel      0
 Summary:       Berkeley DB database library for C
 Summary(pl.UTF-8):     Biblioteka C do obsługi baz Berkeley DB
@@ -17,10 +17,11 @@ Release:    1
 Epoch:         0
 License:       GPL-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: 3476bac9ec0f3c40729c8a404151d5e3
-# %%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/index.html
+# Source0-md5: f80022099c5742cd179343556179aa8c
+# %%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
@@ -249,7 +250,6 @@ poleceń.
 
 %prep
 %setup -q -n db-%{ver}
-
 # official patches
 #%%patchset_patch 1 %{patchlevel}
 
@@ -269,7 +269,6 @@ CXX="%{__cxx}"
 CFLAGS="%{rpmcflags}"
 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
 LDFLAGS="%{rpmcflags} %{rpmldflags}"
-
 export CC CXX CFLAGS CXXFLAGS LDFLAGS
 
 ../dist/%configure \
@@ -314,14 +313,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}
 
@@ -369,10 +368,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.080789 seconds and 4 git commands to generate.