source: projects/specs/trunk/q/qdbm/qdbm-vl.spec @ 8999

Revision 8999, 2.8 KB checked in by inagaki, 9 years ago (diff)

2014-10-05 Ryoichi INAGAKI <ryo1@…>

  • dtc, libXaw3dXft, protobuf, qdbm: update


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