qdbm-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: Quick Database Manager
  2. Name: qdbm
  3. Version: 1.8.78
  4. Release: 2%{?_dist_release}
  5. License: LGPL 2.1
  6. URL: http://qdbm.sourceforge.net/
  7. Group: System Environment/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. Requires: zlib-devel
  29. %description devel
  30. Header files and libraries for developing apps which will using QDBM.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure \
  35. --enable-stable \
  36. --enable-pthread \
  37. --enable-zlib \
  38. --enable-iconv
  39. make
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. rm -f $RPM_BUILD_ROOT%{_datadir}/qdbm/{COPYING,ChangeLog,NEWS,THANKS,spex-ja.html,spex.html}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %check
  47. make check
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root)
  52. %doc COPYING ChangeLog NEWS README THANKS doc/*.png doc/*.html
  53. %{_bindir}/*
  54. %{_mandir}/man1/*
  55. %{_libdir}/*.so.*
  56. %files devel
  57. %defattr(-,root,root)
  58. %{_mandir}/man3/*
  59. %{_libdir}/*.so
  60. %{_libdir}/*.a
  61. %{_libdir}/pkgconfig/qdbm.pc
  62. %{_includedir}/*.h
  63. %changelog
  64. * Sun Oct 5 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.78-2
  65. - moved qdbm to System Environment/Libraries Group
  66. * Wed Apr 9 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.78-1
  67. - new upstream release.
  68. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.77-3
  69. - rebuilt with rpm-4.8.1 for pkg-config
  70. * Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.77-2
  71. - rebuilt with new toolchain
  72. - added Requires: zlib-devel to devel package
  73. - added %%post and %%postun section
  74. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.77-1vl5
  75. - applied new versioning policy, spec in utf-8
  76. * Sat Jan 19 2008 IWAI, Masaharu <iwai@alib.jp> 1.8.77-0vl1
  77. - initial release