python-cdb-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Summary: A python interface to constant database files (cdb)
  2. Name: python-cdb
  3. Version: 0.32
  4. Release: 3%{?_dist_release}
  5. Source0: http://pilcrow.madison.wi.us/python-cdb/%{name}-%{version}.tar.gz
  6. License: GPL
  7. Group: Development/Languages
  8. URL: http://pilcrow.madison.wi.us/
  9. BuildRequires: python-devel >= 2.0
  10. Requires: python >= 2.0
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %description
  16. The python-cdb extension module is an adaptation of D. J.
  17. Bernstein's constant database package (see
  18. http://cr.yp.to/cdb.html).
  19. cdb files are mappings of keys to values, designed for wickedly
  20. fast lookups and atomic updates. This module mimics the normal
  21. cdb utilities, cdb(get|dump|make), via convenient, high-level
  22. Python objects.
  23. %prep
  24. %setup -q
  25. %build
  26. CFLAGS="%{optflags}" python setup.py build
  27. %install
  28. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  29. python setup.py install \
  30. --root="%{buildroot}" \
  31. --record="INSTALLED_FILES"
  32. %clean
  33. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  34. %files -f INSTALLED_FILES
  35. %defattr(-,root,root)
  36. %doc ChangeLog README COPYING Example
  37. %changelog
  38. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.32-3
  39. - rebuild with VineSeed environment
  40. * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 0.32-2
  41. - rebuilt with python-2.6
  42. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.32-1vl5
  43. - rebuilt with python-2.5.2
  44. - applied new versioning policy and spec in utf-8
  45. * Tue Aug 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-0vl2
  46. - Rebuilt for Vine Seed (4.0)
  47. - Changed Group to Development/Languages
  48. * Wed Sep 29 2004 <stanimura-ngs@umin.ac.jp>
  49. - Initial package for VineLinux3.0
  50. * Tue Aug 12 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 0.32-4mdk
  51. - really rebuild against new python
  52. * Thu Aug 07 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-3mdk
  53. - rebuilt against new python
  54. * Sun Jul 27 2003 Michael Scherer <scherer.michael@free.fr> 0.32-2mdk
  55. - BuildRequires
  56. * Wed Jul 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-1mdk
  57. - initial cooker contrib