b09211
Summary:	A modern implementation of a DBM
b09211
Name:		tokyocabinet
219af3
Version:	1.4.48
6efe0a
Release:	7%{?dist}
b09211
License:	LGPLv2+
b09211
Group:		Development/Libraries
b4e561
URL:		http://fallabs.com/tokyocabinet/
b4e561
Source:		http://fallabs.com/%{name}/%{name}-%{version}.tar.gz
b09211
Patch0:		tokyocabinet-fedora.patch
219af3
Patch1:		tokyocabinet-manhelp.patch
98839f
BuildRequires:	pkgconfig zlib-devel bzip2-devel autoconf
b09211
b09211
%description
b09211
Tokyo Cabinet is a library of routines for managing a database. It is the 
b09211
successor of QDBM. Tokyo Cabinet runs very fast. For example, the time required
b09211
to store 1 million records is 1.5 seconds for a hash database and 2.2 seconds
b09211
for a B+ tree database. Moreover, the database size is very small and can be up
b09211
to 8EB. Furthermore, the scalability of Tokyo Cabinet is great.
b09211
b09211
%package devel
b09211
Summary:	Headers for developing programs that will use %{name}
b09211
Group:		Development/Libraries
b09211
Requires:	%{name} = %{version}-%{release}
b09211
Requires:	pkgconfig
b09211
b09211
%description devel
b09211
This package contains the libraries and header files needed for
b09211
developing with %{name}.
b09211
7807bd
%package devel-doc
7807bd
Summary:	Documentation files for developing programs that will use %{name}
7807bd
Group:		Development/Libraries
7807bd
Requires:	%{name} = %{version}-%{release}
7807bd
Requires:	pkgconfig
7807bd
BuildArch:	noarch
7807bd
7807bd
%description devel-doc
7807bd
This package contains documentation files for the libraries and header files
7807bd
needed for developing with %{name}.
7807bd
b09211
%prep
b09211
%setup -q
b09211
%patch0 -p0 -b .fedora
219af3
%patch1 -p1 -b .manhelp
b09211
b09211
%build
b09211
autoconf
c8d38d
%configure --enable-off64 CFLAGS="$CFLAGS"
b09211
make %{?_smp_mflags}
b09211
										
b09211
%install
b09211
make DESTDIR=%{buildroot} install
b09211
b09211
rm -rf %{buildroot}%{_datadir}/%{name}
b09211
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
b09211
b09211
%check
b09211
make check
b09211
b09211
%post -p /sbin/ldconfig
b09211
b09211
%postun -p /sbin/ldconfig
b09211
b09211
%files
b09211
%doc ChangeLog COPYING README
b09211
%{_bindir}/tc*
b09211
%{_libdir}/libtokyocabinet.so.*
bbf1fe
%{_libexecdir}/tcawmgr.cgi
b09211
%{_mandir}/man1/tc*.gz
b09211
b09211
%files devel
b09211
%{_includedir}/tc*.h
b09211
%{_libdir}/*.so
b09211
%{_libdir}/pkgconfig/%{name}.pc
b09211
%{_mandir}/man3/t*.gz
7807bd
7807bd
%files devel-doc
b09211
%doc doc/*
b09211
b09211
%changelog
6efe0a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.48-7
6efe0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6efe0a
a654ce
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.48-6
a654ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a654ce
116cce
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-5
116cce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
116cce
ccaf85
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-4
ccaf85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ccaf85
a6b9ab
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-3
a6b9ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a6b9ab
3c793a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-2
3c793a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3c793a
219af3
* Mon May 20 2013 Honza Horak <hhorak@redhat.com> - 1.4.48-1
219af3
- Update to 1.4.48
219af3
- Fix help vs. man page differences
219af3
333c4f
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-6
333c4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
333c4f
7807bd
* Tue Sep 18 2012 Honza Horak <hhorak@redhat.com> - 1.4.47-5
7807bd
- Split devel documentation files into new sub-package tokyocabinet-devel-doc
7807bd
652e3a
* Tue Sep 18 2012 Honza Horak <hhorak@redhat.com> - 1.4.47-4
652e3a
- Minor spec file fixes
652e3a
3d7546
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-3
3d7546
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3d7546
c4a270
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-2
c4a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c4a270
a2e50a
* Thu Jul 14 2011 Honza Horak <hhorak@redhat.com> - 1.4.47-1
a2e50a
- Update to 1.4.47
a2e50a
b4e561
* Wed Jul 13 2011 Honza Horak <hhorak@redhat.com> - 1.4.46-3
b4e561
- change project URL and source URL to actual destination
b4e561
9ad610
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.46-2
9ad610
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9ad610
Deji Akingunola d85bd9
* Fri Aug 06 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.46-1
Deji Akingunola d85bd9
- Update to 1.4.46
Deji Akingunola d85bd9
c8d38d
* Thu Apr 22 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.43-2
c8d38d
- Enable 64-bit file offset support (Fix Fedora bug #514383)
c8d38d
d0a6e1
* Thu Mar 11 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.43-1
d0a6e1
- Update to 1.4.43 (Fix Fedora bug #572594)
d0a6e1
1e9656
* Thu Mar 04 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.42-1
1e9656
- Update to 1.4.42
1e9656
c03565
* Thu Dec 17 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.41-1
c03565
- Update to 1.4.41
c03565
4e95df
* Wed Sep 30 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.33-1
4e95df
- Update to 1.4.33
4e95df
fd6bb7
* Fri Aug 28 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.32-1
fd6bb7
- Update to 1.4.32
fd6bb7
d13b84
* Mon Aug 10 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.30-1
d13b84
- New upstream version
d13b84
b98317
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.23-2
b98317
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b98317
a01dd7
* Wed Jun 03 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.23-1
a01dd7
- Update to version 1.4.23
a01dd7
e24b54
* Tue Mar 03 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.9-1
e24b54
- Update to version 1.4.9
e24b54
0d04cb
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.27-2
0d04cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0d04cb
c210f4
* Tue Jan 13 2009 Deji Akingunola <dakingun@gmail.com> - 1.3.27-1
c210f4
- Update to version 1.3.27
c210f4
fbf3d1
* Mon Aug 25 2008 Deji Akingunola <dakingun@gmail.com> - 1.3.4-1
fbf3d1
- Update to 1.3.4
fbf3d1
bbf1fe
* Sun May 25 2008 Masahiro Hasegawa <masahase@gmail.com> - 1.2.6-1
bbf1fe
- Update to 1.2.6
bbf1fe
467534
* Mon Apr 28 2008 Deji Akingunola <dakingun@gmail.com> - 1.2.5-1
467534
- Update to 1.2.5
467534
5842b7
* Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.14-1
5842b7
- Update to 1.1.14
5842b7
80289d
* Fri Jan 11 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.7-1
80289d
- Update to 1.1.7
80289d
99a0d1
* Tue Dec 18 2007 Deji Akingunola <dakingun@gmail.com> - 1.1.4-1
99a0d1
- Update to 1.1.4
99a0d1
b09211
* Sat Nov 24 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.8-1
b09211
- Update to 1.0.8
b09211
b09211
* Sat Nov 24 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.6-1
b09211
- Initial package