db/db.spec

changeset 699
da76d565ccd3
parent 122
d170463cc57b
equal deleted inserted replaced
1:bbc26e757bad 2:2bca35e9e7fa
21 ## SUCH DAMAGE. 21 ## SUCH DAMAGE.
22 ## 22 ##
23 23
24 # package version 24 # package version
25 %define V_version 4.7.25 25 %define V_version 4.7.25
26 %define V_revision 3 26 %define V_revision 4
27 27
28 # package information 28 # package information
29 Name: db 29 Name: db
30 Summary: Berkeley-DB Library 30 Summary: Berkeley-DB Library
31 URL: http://www.oracle.com/database/berkeley-db.html 31 URL: http://www.oracle.com/database/berkeley-db.html
34 Distribution: OpenPKG Community 34 Distribution: OpenPKG Community
35 Class: BASE 35 Class: BASE
36 Group: Database 36 Group: Database
37 License: BSD 37 License: BSD
38 Version: %{V_version}.%{V_revision} 38 Version: %{V_version}.%{V_revision}
39 Release: 20090401 39 Release: 20120800
40 40
41 # package options 41 # package options
42 %option with_pthreads no 42 %option with_pthreads no
43 %option with_compat no 43 %option with_compat no
44 %option with_cxx no 44 %option with_cxx no
53 Source1: db.pc 53 Source1: db.pc
54 Patch0: db.patch 54 Patch0: db.patch
55 Patch1: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.1 55 Patch1: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.1
56 Patch2: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.2 56 Patch2: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.2
57 Patch3: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.3 57 Patch3: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.3
58 Patch4: http://www.oracle.com/technology/products/berkeley-db/db/update/%{V_version}/patch.%{V_version}.4
58 59
59 # build information 60 # build information
60 Prefix: %{l_prefix} 61 Prefix: %{l_prefix}
61 BuildRoot: %{l_buildroot} 62 BuildRoot: %{l_buildroot}
62 BuildPreReq: OpenPKG, openpkg >= 20040130, gcc 63 BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
87 %setup -q -n db-%{V_version} 88 %setup -q -n db-%{V_version}
88 %patch -p0 -P 0 89 %patch -p0 -P 0
89 %patch -p0 -P 1 90 %patch -p0 -P 1
90 %patch -p0 -P 2 91 %patch -p0 -P 2
91 %patch -p0 -P 3 92 %patch -p0 -P 3
93 %patch -p0 -P 4
92 94
93 %{l_shtool} subst \ 95 %{l_shtool} subst \
94 -e 's;\($(ar) cr .*\);\1 _udivdi3.o _muldi3.o _clz.o;' \ 96 -e 's;\($(ar) cr .*\);\1 _udivdi3.o _muldi3.o _clz.o;' \
95 -e 's;install_utilities install_docs;install_utilities;' \ 97 -e 's;install_utilities install_docs;install_utilities;' \
96 dist/Makefile.in 98 dist/Makefile.in

mercurial