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