qdbm-vl.spec 2.2 KB

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