b092110
Summary:	A modern implementation of a DBM
b092110
Name:		tokyocabinet
219af35
Version:	1.4.48
6efe0aa
Release:	7%{?dist}
b092110
License:	LGPLv2+
b092110
Group:		Development/Libraries
b4e561b
URL:		http://fallabs.com/tokyocabinet/
b4e561b
Source:		http://fallabs.com/%{name}/%{name}-%{version}.tar.gz
b092110
Patch0:		tokyocabinet-fedora.patch
219af35
Patch1:		tokyocabinet-manhelp.patch
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
7807bde
%package devel-doc
7807bde
Summary:	Documentation files for developing programs that will use %{name}
7807bde
Group:		Development/Libraries
7807bde
Requires:	%{name} = %{version}-%{release}
7807bde
Requires:	pkgconfig
7807bde
BuildArch:	noarch
7807bde
7807bde
%description devel-doc
7807bde
This package contains documentation files for the libraries and header files
7807bde
needed for developing with %{name}.
7807bde
b092110
%prep
b092110
%setup -q
b092110
%patch0 -p0 -b .fedora
219af35
%patch1 -p1 -b .manhelp
b092110
b092110
%build
b092110
autoconf
c8d38d9
%configure --enable-off64 CFLAGS="$CFLAGS"
b092110
make %{?_smp_mflags}
b092110
										
b092110
%install
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
%post -p /sbin/ldconfig
b092110
b092110
%postun -p /sbin/ldconfig
b092110
b092110
%files
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
%{_includedir}/tc*.h
b092110
%{_libdir}/*.so
b092110
%{_libdir}/pkgconfig/%{name}.pc
b092110
%{_mandir}/man3/t*.gz
7807bde
7807bde
%files devel-doc
b092110
%doc doc/*
b092110
b092110
%changelog
6efe0aa
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.48-7
6efe0aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6efe0aa
a654cee
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.48-6
a654cee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a654cee
116cce8
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-5
116cce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
116cce8
ccaf85f
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-4
ccaf85f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ccaf85f
a6b9ab7
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-3
a6b9ab7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a6b9ab7
3c793a7
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.48-2
3c793a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3c793a7
219af35
* Mon May 20 2013 Honza Horak <hhorak@redhat.com> - 1.4.48-1
219af35
- Update to 1.4.48
219af35
- Fix help vs. man page differences
219af35
333c4fa
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-6
333c4fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
333c4fa
7807bde
* Tue Sep 18 2012 Honza Horak <hhorak@redhat.com> - 1.4.47-5
7807bde
- Split devel documentation files into new sub-package tokyocabinet-devel-doc
7807bde
652e3a5
* Tue Sep 18 2012 Honza Horak <hhorak@redhat.com> - 1.4.47-4
652e3a5
- Minor spec file fixes
652e3a5
3d7546f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-3
3d7546f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3d7546f
c4a270a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-2
c4a270a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c4a270a
a2e50aa
* Thu Jul 14 2011 Honza Horak <hhorak@redhat.com> - 1.4.47-1
a2e50aa
- Update to 1.4.47
a2e50aa
b4e561b
* Wed Jul 13 2011 Honza Horak <hhorak@redhat.com> - 1.4.46-3
b4e561b
- change project URL and source URL to actual destination
b4e561b
9ad610f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.46-2
9ad610f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9ad610f
Deji Akingunola d85bd93
* Fri Aug 06 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.46-1
Deji Akingunola d85bd93
- Update to 1.4.46
Deji Akingunola d85bd93
c8d38d9
* Thu Apr 22 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.43-2
c8d38d9
- Enable 64-bit file offset support (Fix Fedora bug #514383)
c8d38d9
d0a6e1e
* Thu Mar 11 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.43-1
d0a6e1e
- Update to 1.4.43 (Fix Fedora bug #572594)
d0a6e1e
1e96568
* Thu Mar 04 2010 Deji Akingunola <dakingun@gmail.com> - 1.4.42-1
1e96568
- Update to 1.4.42
1e96568
c03565a
* Thu Dec 17 2009 Deji Akingunola <dakingun@gmail.com> - 1.4.41-1
c03565a
- Update to 1.4.41
c03565a
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