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