python-cdb-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Summary: A python interface to constant database files (cdb)
  2. Name: python-cdb
  3. Version: 0.32
  4. Release: 2%{?_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. * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 0.32-2
  39. - rebuilt with python-2.6
  40. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.32-1vl5
  41. - rebuilt with python-2.5.2
  42. - applied new versioning policy and spec in utf-8
  43. * Tue Aug 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-0vl2
  44. - Rebuilt for Vine Seed (4.0)
  45. - Changed Group to Development/Languages
  46. * Wed Sep 29 2004 <stanimura-ngs@umin.ac.jp>
  47. - Initial package for VineLinux3.0
  48. * Tue Aug 12 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 0.32-4mdk
  49. - really rebuild against new python
  50. * Thu Aug 07 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-3mdk
  51. - rebuilt against new python
  52. * Sun Jul 27 2003 Michael Scherer <scherer.michael@free.fr> 0.32-2mdk
  53. - BuildRequires
  54. * Wed Jul 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-1mdk
  55. - initial cooker contrib