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