python-bsddb3-vl.spec 1.7 KB

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