[521] | 1 | Summary: A modern implementation of a DBM |
---|
| 2 | Summary(ja):Tokeyo Cabinet は DBM の現代的な壱実装です |
---|
| 3 | Name: tokyocabinet |
---|
| 4 | Version: 1.4.35 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: LGPL v2.1 |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | #URL: http://tokyocabinet.sourceforge.net/ |
---|
| 9 | #Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
| 10 | URL: http://1978th.net/tokyocabinet/ |
---|
| 11 | Source: http://1978th.net/tokyocabinet/%{name}-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: pkgconfig autoconf |
---|
| 14 | BuildRequires: zlib-devel bzip2-devel |
---|
| 15 | Vendor: Project Vine |
---|
| 16 | Distribution: Vine Linux |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Tokyo Cabinet is a library of routines for managing a database. The database is a |
---|
| 20 | simple data file containing records, each is a pair of a key and a value. Every |
---|
| 21 | key and value is serial bytes with variable length. Both binary data and character |
---|
| 22 | string can be used as a key and a value. There is neither concept of data tables |
---|
| 23 | nor data types. Records are organized in hash table, B+ tree, or fixed-length array. |
---|
| 24 | |
---|
| 25 | %description -l ja |
---|
| 26 | Tokyo Cabinet はデータベースを扱うルーチン群のライブラリです。データベースといっても単 |
---|
| 27 | 純なもので、キーと値のペアからなるレコード群を格納したデータファイルです。キーと値は任 |
---|
| 28 | 意の長さを持つ一連のバイト列であり、文字列でもバイナリでも扱うことができます。テーブル |
---|
| 29 | やデータ型の概念はありません。レコードはハッシュ表かB+木か固定長配列で編成されます。 |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: The libraries and header files needed for Tokyo Cabinet development. |
---|
| 34 | Summary(ja):Tokyo Cabinet の利用に必要なライブラリやヘッダファイル |
---|
| 35 | Group: Development/Libraries |
---|
| 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | Requires: pkgconfig |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | This package contains the libraries and header files needed for |
---|
| 41 | developing with Tokyo Cabinet. |
---|
| 42 | |
---|
| 43 | %description -l ja devel |
---|
| 44 | このパッケージは Tokyo Cabinet を利用した開発に必要なライブラリやヘッダファイル |
---|
| 45 | を含んでいます。 |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | %configure |
---|
| 53 | make %{?_smp_mflags} |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 58 | |
---|
| 59 | # remove unuse files |
---|
| 60 | rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name} |
---|
| 61 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib%{name}.a |
---|
| 62 | |
---|
| 63 | %check |
---|
| 64 | make check |
---|
| 65 | |
---|
| 66 | %post -p /sbin/ldconfig |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | %clean |
---|
| 69 | rm -rf %{buildroot} |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-, root, root, -) |
---|
| 73 | %doc COPYING ChangeLog README THANKS |
---|
| 74 | %{_bindir}/tc* |
---|
| 75 | %{_libexecdir}/tcawmgr.cgi |
---|
| 76 | %{_libdir}/libtokyocabinet.so.* |
---|
| 77 | %{_mandir}/man1/tc*.gz |
---|
| 78 | |
---|
| 79 | %files devel |
---|
| 80 | %defattr(-, root, root, -) |
---|
| 81 | %doc doc/* |
---|
| 82 | %{_includedir}/tc*.h |
---|
| 83 | %{_libdir}/*.so |
---|
| 84 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 85 | %{_mandir}/man3/t*.gz |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %changelog |
---|
| 89 | * Sun Oct 25 2009 Shu KONNO <owa@bg.wakwak.com> 1.4.35-1 |
---|
| 90 | - initial build for vine |
---|
| 91 | |
---|