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