%define pyver %(python -c 'import sys;print(sys.version[0:3])') Summary: Python bindings for Berkeley DB Summary(ja): Berkeley DB 用 python バインディング Name: python-bsddb3 Version: 6.0.1 Release: 2%{?_dist_release} License: MIT Group: System Environment/Libraries URL: http://www.jcea.es/programacion/pybsddb.htm Source0: http://pypi.python.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-devel BuildRequires: libdb-devel Requires: python Vendor: Project Vine Distribution: Vine Linux %description python-bsddb3 are the Python "bindings" for the excellent Oracle Berkeley DB. %description -l ja python-bsddb3 は Oracle Berkeley DB 用の python バインディングです。 %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel %{summary} %prep %setup -q -n bsddb3-%{version} %build %{__python} setup.py build %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__python} setup.py install --root ${RPM_BUILD_ROOT} %clean %{__rm} -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %doc ChangeLog README.txt %{python_sitearch}/bsddb3/ %{python_sitearch}/bsddb3-%{version}-py%{pyver}.egg-info %files devel %defattr(-,root,root,-) %{_includedir}/python%{pyver}/bsddb3/bsddb.h %changelog * Thu Feb 5 2015 Ryoichi INAGAKI 6.0.1-2 - rebuilt with libdb 5.3.28 * Sun Jan 12 2014 Yoji TOYODA 6.0.1-1 - new upstream release * Sun Oct 28 2012 Yoji TOYODA 5.3.0-1 - initial build