1 | Summary: Quick Database Manager |
---|
2 | Name: qdbm |
---|
3 | Version: 1.8.77 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: LGPL 2.1 |
---|
6 | URL: http://qdbm.sourceforge.net/ |
---|
7 | Group: Development/Libraries |
---|
8 | Source0: http://qdbm.sourceforge.net/%{name}-%{version}.tar.gz |
---|
9 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildRequires: zlib-devel |
---|
11 | |
---|
12 | %description |
---|
13 | QDBM is a library of routines for managing a database. The database is a |
---|
14 | simple data file containing records, each is a pair of a key and a value. |
---|
15 | Every key and value is serial bytes with variable length. Both binary |
---|
16 | data and character string can be used as a key and a value. There is |
---|
17 | neither concept of data tables nor data types. Records are organized in |
---|
18 | hash table or B+ tree. |
---|
19 | |
---|
20 | %description -l ja |
---|
21 | QDBMはデータベースを扱うルーチン群のライブラリです。データベースといっても |
---|
22 | 単純なもので、キーと値のペアからなるレコード群を格納したデータファイルです。 |
---|
23 | キーと値は任意の長さを持つ一連のバイト列であり、文字列でもバイナリでも扱う |
---|
24 | ことができます。テーブルやデータ型の概念はありません。レコードはハッシュ表 |
---|
25 | またはB+木で編成されます。 |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Header files and libraries for developing apps which will using QDBM. |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | |
---|
32 | %description devel |
---|
33 | Header files and libraries for developing apps which will using QDBM. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --enable-stable --enable-pthread --enable-zlib --enable-iconv |
---|
40 | make |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf %{buildroot} |
---|
44 | %makeinstall DESTDIR=%{buildroot} |
---|
45 | rm -f %{buildroot}/usr/share/qdbm/{COPYING,ChangeLog,NEWS,THANKS,spex-ja.html,spex.html} |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf %{buildroot} |
---|
49 | |
---|
50 | %check |
---|
51 | make check |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | %doc COPYING ChangeLog NEWS README THANKS spex-ja.html spex.html |
---|
56 | %{_bindir}/* |
---|
57 | %{_mandir}/man1/* |
---|
58 | %{_libdir}/*.so.* |
---|
59 | |
---|
60 | %files devel |
---|
61 | %defattr(-,root,root) |
---|
62 | %{_mandir}/man3/* |
---|
63 | %{_libdir}/*.so |
---|
64 | %{_libdir}/*.a |
---|
65 | %{_libdir}/pkgconfig/qdbm.pc |
---|
66 | %{_includedir}/*.h |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.77-1vl5 |
---|
70 | - applied new versioning policy, spec in utf-8 |
---|
71 | |
---|
72 | * Sat Jan 19 2008 IWAI, Masaharu <iwai@alib.jp> 1.8.77-0vl1 |
---|
73 | - initial release |
---|
74 | |
---|