python-bsddb3-vl.spec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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: 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. Requires: python
  12. BuildRequires: python-devel
  13. BuildRequires: db4-devel
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. %{summary}
  27. %prep
  28. %setup -q -n bsddb3-%{version}
  29. %build
  30. %{__python} setup.py build
  31. %install
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %{__python} setup.py install --root ${RPM_BUILD_ROOT}
  34. %clean
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc ChangeLog README.txt
  39. %{python_sitearch}/bsddb3/
  40. %{python_sitearch}/bsddb3-%{version}-py%{pyver}.egg-info
  41. %files devel
  42. %defattr(-,root,root,-)
  43. %{_includedir}/python%{pyver}/bsddb3/bsddb.h
  44. %changelog
  45. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.0.1-1
  46. - new upstream release
  47. * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.0-1
  48. - initial build