| [521] | 1 | Summary: A python interface to constant database files (cdb) |
|---|
| 2 | Name: python-cdb |
|---|
| 3 | Version: 0.32 |
|---|
| [8154] | 4 | Release: 3%{?_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 |
|---|
| [8154] | 49 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.32-3 |
|---|
| 50 | - rebuild with VineSeed environment |
|---|
| 51 | |
|---|
| [868] | 52 | * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 0.32-2 |
|---|
| 53 | - rebuilt with python-2.6 |
|---|
| 54 | |
|---|
| [521] | 55 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.32-1vl5 |
|---|
| 56 | - rebuilt with python-2.5.2 |
|---|
| 57 | - applied new versioning policy and spec in utf-8 |
|---|
| 58 | |
|---|
| 59 | * Tue Aug 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-0vl2 |
|---|
| 60 | - Rebuilt for Vine Seed (4.0) |
|---|
| 61 | - Changed Group to Development/Languages |
|---|
| 62 | |
|---|
| 63 | * Wed Sep 29 2004 <stanimura-ngs@umin.ac.jp> |
|---|
| 64 | - Initial package for VineLinux3.0 |
|---|
| 65 | |
|---|
| 66 | * Tue Aug 12 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 0.32-4mdk |
|---|
| 67 | - really rebuild against new python |
|---|
| 68 | |
|---|
| 69 | * Thu Aug 07 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-3mdk |
|---|
| 70 | - rebuilt against new python |
|---|
| 71 | |
|---|
| 72 | * Sun Jul 27 2003 Michael Scherer <scherer.michael@free.fr> 0.32-2mdk |
|---|
| 73 | - BuildRequires |
|---|
| 74 | |
|---|
| 75 | * Wed Jul 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.32-1mdk |
|---|
| 76 | - initial cooker contrib |
|---|