]> git.pld-linux.org Git - packages/tdb.git/commitdiff
- turned on regeneration
authortommat <tommat@pld-linux.org>
Fri, 12 Nov 2004 09:53:53 +0000 (09:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: gdbm-devel
- added patch for tdb_store() function from project page
- added extras package for tools
- rel 3

Changed files:
    tdb.spec -> 1.5

tdb.spec

index 62bf0ace0e0c27be9681d03d7cff1596650d170a..c789e99b9e5a2676f1767c0e6ed56e918fa7cba2 100644 (file)
--- a/tdb.spec
+++ b/tdb.spec
@@ -2,15 +2,19 @@ Summary:      TDB - Trivial Database
 Summary(pl):   TDB - prosta baza danych
 Name:          tdb
 Version:       1.0.6
-Release:       2
+Release:       3
 License:       GPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/tdb/%{name}-%{version}.tar.gz
 # Source0-md5: 6b643fdeb48304010dcd5f675e458b58
 Patch0:                %{name}-gcc33.patch
+Patch1:                %{name}-tdb_store.patch
+Patch2:                %{name}-Makefile-extras.patch
 URL:           http://sourceforge.net/projects/tdb/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gdbm-devel
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,13 +54,31 @@ Static TDB library.
 %description static -l pl
 Statyczna biblioteka TDB.
 
+%package extras
+Summary:       TDB additional utilities
+Summary(pl):   Dodatkowe narzêdzia do TDB
+Group:         Applications/Databases
+Requires:      %{name} = %{version}
+
+%description extras
+TDB additional utilities.
+
+%description extras -l pl
+Dodatkowe narzêdzia do TDB.
+
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
+rm -f *.m4 missing
 cp -f /usr/share/automake/config.* .
+%{__aclocal}
+%{__libtoolize}
 %{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
@@ -66,6 +88,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+#install tdbiterate $RPM_BUILD_ROOT%{_bindir}
+#install tdbspeed $RPM_BUILD_ROOT%{_bindir}
+#install tdbtest $RPM_BUILD_ROOT%{_bindir}
+#install tdbtorture $RPM_BUILD_ROOT%{_bindir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -75,7 +102,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/tdbdump
+%attr(755,root,root) %{_bindir}/tdbtool
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
 %files devel
@@ -88,3 +116,10 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+
+%files extras
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/tdbiterate
+%attr(755,root,root) %{_bindir}/tdbspeed
+%attr(755,root,root) %{_bindir}/tdbtest
+%attr(755,root,root) %{_bindir}/tdbtorture
This page took 0.099074 seconds and 4 git commands to generate.