[521] | 1 | Summary: A python interface to constant database files (cdb) |
---|
| 2 | Name: python-cdb |
---|
| 3 | Version: 0.32 |
---|
[868] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 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 | |
---|
| 16 | %description |
---|
| 17 | The python-cdb extension module is an adaptation of D. J. |
---|
| 18 | Bernstein's constant database package (see |
---|
| 19 | http://cr.yp.to/cdb.html). |
---|
| 20 | |
---|
| 21 | cdb files are mappings of keys to values, designed for wickedly |
---|
| 22 | fast lookups and atomic updates. This module mimics the normal |
---|
| 23 | cdb utilities, cdb(get|dump|make), via convenient, high-level |
---|
| 24 | Python objects. |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | |
---|
| 28 | %setup -q |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | |
---|
| 32 | CFLAGS="%{optflags}" python setup.py build |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
| 36 | |
---|
| 37 | python setup.py install \ |
---|
| 38 | --root="%{buildroot}" \ |
---|
| 39 | --record="INSTALLED_FILES" |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
| 43 | |
---|
| 44 | %files -f INSTALLED_FILES |
---|
| 45 | %defattr(-,root,root) |
---|
| 46 | %doc ChangeLog README COPYING Example |
---|
| 47 | |
---|
| 48 | %changelog |
---|
[868] | 49 | * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 0.32-2 |
---|
| 50 | - rebuilt with python-2.6 |
---|
| 51 | |
---|
[521] | 52 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.32-1vl5 |
---|
| 53 | - rebuilt with python-2.5.2 |
---|
| 54 | - applied new versioning policy and spec in utf-8 |
---|
| 55 | |
---|
| 56 | * Tue Aug 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-0vl2 |
---|
| 57 | - Rebuilt for Vine Seed (4.0) |
---|
| 58 | - Changed Group to Development/Languages |
---|
| 59 | |
---|
| 60 | * Wed Sep 29 2004 <stanimura-ngs@umin.ac.jp> |
---|
| 61 | - Initial package for VineLinux3.0 |
---|
| 62 | |
---|
| 63 | * Tue Aug 12 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 0.32-4mdk |
---|
| 64 | - really rebuild against new python |
---|
| 65 | |
---|
| 66 | * Thu Aug 07 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-3mdk |
---|
| 67 | - rebuilt against new python |
---|
| 68 | |
---|
| 69 | * Sun Jul 27 2003 Michael Scherer <scherer.michael@free.fr> 0.32-2mdk |
---|
| 70 | - BuildRequires |
---|
| 71 | |
---|
| 72 | * Wed Jul 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-1mdk |
---|
| 73 | - initial cooker contrib |
---|