]> git.pld-linux.org Git - packages/tdb.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 28 Jul 2003 09:51:01 +0000 (09:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tdb.spec -> 1.1

tdb.spec [new file with mode: 0644]

diff --git a/tdb.spec b/tdb.spec
new file mode 100644 (file)
index 0000000..6becf7a
--- /dev/null
+++ b/tdb.spec
@@ -0,0 +1,87 @@
+Summary:       TDB - Trivial Database
+Summary(pl):   TDB - prosta baza danych
+Name:          tdb
+Version:       1.0.6
+Release:       1
+License:       GPL
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/tdb/%{name}-%{version}.tar.gz
+# Source0-md5: 6b643fdeb48304010dcd5f675e458b58
+Patch0:                %{name}-gcc33.patch
+URL:           http://sourceforge.net/projects/tdb/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+TDB is a Trivial Database. In concept, it is very much like GDBM, and
+BSD's DB except that it allows multiple simultaneous writers and uses
+locking internally to keep writers from trampling on each other. TDB
+is also extremely small.
+
+%description -l pl
+TDB to Trivial Database, czyli prosta baza danych. W za³o¿eniach jest
+bardzo podobna do GDBM lub DB z BSD z wyj±tkiem tego, ¿e pozwala na
+zapis wielu procesom jednocze¶nie i u¿ywa wewnêtrznie blokowania, aby
+nie pozwoliæ pisz±cym na zadeptanie siê nawzajem. TDB jest ponadto
+ekstremalnie ma³a.
+
+%package devel
+Summary:       Header files for TDB library
+Summary(pl):   Pliki nag³ówkowe biblioteki TDB
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+Header files for TDB library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki TDB.
+
+%package static
+Summary:       Static TDB library
+Summary(pl):   Statyczna biblioteka TDB
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static TDB library.
+
+%description static -l pl
+Statyczna biblioteka TDB.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%configure2_13
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/tdb.h
+%{_mandir}/man3/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.886668 seconds and 4 git commands to generate.