rpms/libtdb/F-11 libtdb.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Simo Sorce simo at fedoraproject.org
Mon Jul 6 13:40:24 UTC 2009


Author: simo

Update of /cvs/pkgs/rpms/libtdb/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17002

Modified Files:
	.cvsignore sources 
Added Files:
	libtdb.spec 
Log Message:
* Mon Jul  6 2009 Simo Sorce <ssorce at redhat.com> - 1.1.5-0
Build tdb as a separate package in F-11 too.



--- NEW FILE libtdb.spec ---
Name: libtdb
Version: 1.1.5
Release: 0%{?dist}
Group: System Environment/Daemons
Summary: The tdb library
License: LGPLv3+
URL: http://tdb.samba.org/
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires: autoconf

%description
A library that implements a trivial database.

%package devel
Group: Development/Libraries
Summary: Header files need to link the Tdb library
Requires: libtdb = %{version}-%{release}
Requires: pkgconfig

%description devel
Header files needed to develop programs that link against the Tdb library.

%package -n tdb-tools
Group: Development/Libraries
Summary: Developer tools for the Tdb library
Requires: libtdb = %{version}-%{release}

%description -n tdb-tools
Tools to manage Tdb files

%prep
%setup -q -n tdb-%{version}

%build
./autogen.sh
%configure --prefix=%{_usr} --disable-python
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

ln -s libtdb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtdb.so

rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/tdb.so


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_libdir}/libtdb.so.*

%files devel
%defattr(-,root,root)
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc

%files -n tdb-tools
%defattr(-,root,root,-)
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool


%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%changelog
* Mon Jul  6 2009 Simo Sorce <ssorce at redhat.com> - 1.1.5-0
Build tdb as a separate package in F-11 too.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libtdb/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	9 May 2009 21:05:16 -0000	1.1
+++ .cvsignore	6 Jul 2009 13:39:54 -0000	1.2
@@ -0,0 +1 @@
+tdb-1.1.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libtdb/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	9 May 2009 21:05:16 -0000	1.1
+++ sources	6 Jul 2009 13:39:54 -0000	1.2
@@ -0,0 +1 @@
+3e9be7c1dbfba0679dc3463d55e3a830  tdb-1.1.5.tar.gz




More information about the fedora-extras-commits mailing list