b092110
Summary:	A modern implementation of a DBM
b092110
Name:		tokyocabinet
4e95dfa
Version:	1.4.33
d13b84f
Release:	1%{?dist}
b092110
License:	LGPLv2+
b092110
Group:		Development/Libraries
b092110
URL:		http://tokyocabinet.sourceforge.net/
fbf3d1c
Source:		http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
b092110
Patch0:		tokyocabinet-fedora.patch
b092110
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
98839fe
BuildRequires:	pkgconfig zlib-devel bzip2-devel autoconf
b092110
b092110
%description
b092110
Tokyo Cabinet is a library of routines for managing a database. It is the 
b092110
successor of QDBM. Tokyo Cabinet runs very fast. For example, the time required
b092110
to store 1 million records is 1.5 seconds for a hash database and 2.2 seconds
b092110
for a B+ tree database. Moreover, the database size is very small and can be up
b092110
to 8EB. Furthermore, the scalability of Tokyo Cabinet is great.
b092110
b092110
%package devel
b092110
Summary:	Headers for developing programs that will use %{name}
b092110
Group:		Development/Libraries
b092110
Requires:	%{name} = %{version}-%{release}
b092110
Requires:	pkgconfig
b092110
b092110
%description devel
b092110
This package contains the libraries and header files needed for
b092110
developing with %{name}.
b092110
b092110
%prep
b092110
%setup -q
b092110
%patch0 -p0 -b .fedora
b092110
b092110
%build
b092110
autoconf
b092110
%configure CFLAGS="$CFLAGS"
b092110
make %{?_smp_mflags}
b092110
										
b092110
%install
b092110
rm -rf %{buildroot}
b092110
make DESTDIR=%{buildroot} install
b092110
b092110
rm -rf %{buildroot}%{_datadir}/%{name}
b092110
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
b092110
b092110
%check
b092110
make check
b092110
b092110
%clean
b092110
rm -rf %{buildroot}
b092110
b092110
%post -p /sbin/ldconfig
b092110
b092110
%postun -p /sbin/ldconfig
b092110
b092110
%files
b092110
%defattr(-, root, root, -)
b092110
%doc ChangeLog COPYING README
b092110
%{_bindir}/tc*
b092110
%{_libdir}/libtokyocabinet.so.*
bbf1fe6
%{_libexecdir}/tcawmgr.cgi
b092110
%{_mandir}/man1/tc*.gz
b092110
b092110
%files devel
b092110
%defattr(-, root, root, -)
b092110
%{_includedir}/tc*.h
b092110
%{_libdir}/*.so
b092110
%{_libdir}/pkgconfig/%{name}.pc
b092110
%{_mandir}/man3/t*.gz
b092110
%doc doc/*
b092110
b092110
%changelog
4e95dfa
* Wed Sep 30 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.33-1
4e95dfa
- Update to 1.4.33
4e95dfa
fd6bb72
* Fri Aug 28 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.32-1
fd6bb72
- Update to 1.4.32
fd6bb72
d13b84f
* Mon Aug 10 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.30-1
d13b84f
- New upstream version
d13b84f
b983170
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.23-2
b983170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b983170
a01dd7e
* Wed Jun 03 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.23-1
a01dd7e
- Update to version 1.4.23
a01dd7e
e24b54f
* Tue Mar 03 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.9-1
e24b54f
- Update to version 1.4.9
e24b54f
0d04cb8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.27-2
0d04cb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0d04cb8
c210f48
* Tue Jan 13 2009 Deji Akingunola <dakingun@gmail.com> - 1.3.27-1
c210f48
- Update to version 1.3.27
c210f48
fbf3d1c
* Mon Aug 25 2008 Deji Akingunola <dakingun@gmail.com> - 1.3.4-1
fbf3d1c
- Update to 1.3.4
fbf3d1c
bbf1fe6
* Sun May 25 2008 Masahiro Hasegawa <masahase@gmail.com> - 1.2.6-1
bbf1fe6
- Update to 1.2.6
bbf1fe6
4675343
* Mon Apr 28 2008 Deji Akingunola <dakingun@gmail.com> - 1.2.5-1
4675343
- Update to 1.2.5
4675343
5842b79
* Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.14-1
5842b79
- Update to 1.1.14
5842b79
80289d0
* Fri Jan 11 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.7-1
80289d0
- Update to 1.1.7
80289d0
99a0d17
* Tue Dec 18 2007 Deji Akingunola <dakingun@gmail.com> - 1.1.4-1
99a0d17
- Update to 1.1.4
99a0d17
b092110
* Sat Nov 24 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.8-1
b092110
- Update to 1.0.8
b092110
b092110
* Sat Nov 24 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.6-1
b092110
- Initial package