source: projects/specs/trunk/t/tokyocabinet/tokyocabinet-vl.spec @ 521

Revision 521, 2.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        A modern implementation of a DBM
2Summary(ja):Tokeyo Cabinet は DBM の現代的な壱実装です
3Name:           tokyocabinet
4Version:        1.4.35
5Release:        1%{?_dist_release}
6License:        LGPL v2.1
7Group:          Development/Libraries
8#URL:           http://tokyocabinet.sourceforge.net/
9#Source:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10URL:            http://1978th.net/tokyocabinet/
11Source:         http://1978th.net/tokyocabinet/%{name}-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  pkgconfig autoconf
14BuildRequires:  zlib-devel bzip2-devel
15Vendor: Project Vine
16Distribution:   Vine Linux
17
18%description
19Tokyo Cabinet is a library of routines for managing a database.  The database is a
20simple data file containing records,   each is a pair of a key and a value.  Every
21key and value is serial bytes with variable length. Both binary data and character
22string can be used as a key and a value.   There is neither concept of data tables
23nor data types. Records are organized in hash table, B+ tree, or fixed-length array.
24
25%description -l ja
26Tokyo Cabinet はデータベースを扱うルーチン群のライブラリです。データベースといっても単
27純なもので、キーと値のペアからなるレコード群を格納したデータファイルです。キーと値は任
28意の長さを持つ一連のバイト列であり、文字列でもバイナリでも扱うことができます。テーブル
29やデータ型の概念はありません。レコードはハッシュ表かB+木か固定長配列で編成されます。
30
31
32%package devel
33Summary:        The libraries and header files needed for Tokyo Cabinet development.
34Summary(ja):Tokyo Cabinet の利用に必要なライブラリやヘッダファイル
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       pkgconfig
38
39%description devel
40This package contains the libraries and header files needed for
41developing 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
53make %{?_smp_mflags}
54                                                                               
55%install
56rm -rf $RPM_BUILD_ROOT
57make DESTDIR=$RPM_BUILD_ROOT install
58
59# remove unuse files
60rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
61rm -rf $RPM_BUILD_ROOT%{_libdir}/lib%{name}.a
62
63%check
64make check
65
66%post -p /sbin/ldconfig
67%postun -p /sbin/ldconfig
68%clean
69rm -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
Note: See TracBrowser for help on using the repository browser.