1 | %define pyver %(python -c 'import sys;print(sys.version[0:3])') |
---|
2 | Summary: Python bindings for Berkeley DB |
---|
3 | Summary(ja): Berkeley DB 用 python バインディング |
---|
4 | Name: python-bsddb3 |
---|
5 | Version: 6.0.1 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | |
---|
8 | License: MIT |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://www.jcea.es/programacion/pybsddb.htm |
---|
11 | |
---|
12 | Source0: http://pypi.python.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: python-devel |
---|
16 | BuildRequires: libdb-devel |
---|
17 | |
---|
18 | Requires: python |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | python-bsddb3 are the Python "bindings" for the excellent Oracle Berkeley DB. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | python-bsddb3 は Oracle Berkeley DB 用の python バインディングです。 |
---|
28 | |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Development files for %{name} |
---|
32 | Summary(ja): %{name} の開発用ファイル |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | |
---|
36 | %description devel |
---|
37 | %{summary} |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q -n bsddb3-%{version} |
---|
42 | |
---|
43 | |
---|
44 | %build |
---|
45 | %{__python} setup.py build |
---|
46 | |
---|
47 | %install |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
49 | %{__python} setup.py install --root ${RPM_BUILD_ROOT} |
---|
50 | |
---|
51 | |
---|
52 | %clean |
---|
53 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
54 | |
---|
55 | |
---|
56 | %files |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %doc ChangeLog README.txt |
---|
59 | %{python_sitearch}/bsddb3/ |
---|
60 | %{python_sitearch}/bsddb3-%{version}-py%{pyver}.egg-info |
---|
61 | |
---|
62 | %files devel |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %{_includedir}/python%{pyver}/bsddb3/bsddb.h |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Thu Feb 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 6.0.1-2 |
---|
69 | - rebuilt with libdb 5.3.28 |
---|
70 | |
---|
71 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.0.1-1 |
---|
72 | - new upstream release |
---|
73 | |
---|
74 | * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.0-1 |
---|
75 | - initial build |
---|
76 | |
---|