]> git.pld-linux.org Git - packages/tdb.git/blob - tdb.spec
- enabled autoconf regeneration
[packages/tdb.git] / tdb.spec
1 Summary:        TDB - Trivial Database
2 Summary(pl):    TDB - prosta baza danych
3 Name:           tdb
4 Version:        1.0.6
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/tdb/%{name}-%{version}.tar.gz
9 # Source0-md5:  6b643fdeb48304010dcd5f675e458b58
10 Patch0:         %{name}-gcc33.patch
11 URL:            http://sourceforge.net/projects/tdb/
12 BuildRequires:  autoconf
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 TDB is a Trivial Database. In concept, it is very much like GDBM, and
17 BSD's DB except that it allows multiple simultaneous writers and uses
18 locking internally to keep writers from trampling on each other. TDB
19 is also extremely small.
20
21 %description -l pl
22 TDB to Trivial Database, czyli prosta baza danych. W za³o¿eniach jest
23 bardzo podobna do GDBM lub DB z BSD z wyj±tkiem tego, ¿e pozwala na
24 zapis wielu procesom jednocze¶nie i u¿ywa wewnêtrznie blokowania, aby
25 nie pozwoliæ pisz±cym na zadeptanie siê nawzajem. TDB jest ponadto
26 ekstremalnie ma³a.
27
28 %package devel
29 Summary:        Header files for TDB library
30 Summary(pl):    Pliki nag³ówkowe biblioteki TDB
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}
33
34 %description devel
35 Header files for TDB library.
36
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki TDB.
39
40 %package static
41 Summary:        Static TDB library
42 Summary(pl):    Statyczna biblioteka TDB
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Static TDB library.
48
49 %description static -l pl
50 Statyczna biblioteka TDB.
51
52 %prep
53 %setup -q
54 %patch -p1
55
56 %build
57 %{__autoconf}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README TODO
76 %attr(755,root,root) %{_bindir}/*
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/lib*.so
82 %{_libdir}/lib*.la
83 %{_includedir}/tdb.h
84 %{_mandir}/man3/*
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/lib*.a
This page took 0.052837 seconds and 4 git commands to generate.