tokyocabinet/tokyocabinet.spec

86 lines
2.1 KiB
RPMSpec
Raw Normal View History

2007-11-29 22:34:36 +00:00
Summary: A modern implementation of a DBM
Name: tokyocabinet
2008-02-09 04:02:38 +00:00
Version: 1.1.14
2007-11-29 22:34:36 +00:00
Release: 1%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://tokyocabinet.sourceforge.net/
Source: http://tokyocabinet.sourceforge.net/%{name}-%{version}.tar.gz
Patch0: tokyocabinet-fedora.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig zlib-devel autoconf
%description
Tokyo Cabinet is a library of routines for managing a database. It is the
successor of QDBM. Tokyo Cabinet runs very fast. For example, the time required
to store 1 million records is 1.5 seconds for a hash database and 2.2 seconds
for a B+ tree database. Moreover, the database size is very small and can be up
to 8EB. Furthermore, the scalability of Tokyo Cabinet is great.
%package devel
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains the libraries and header files needed for
developing with %{name}.
%prep
%setup -q
%patch0 -p0 -b .fedora
%build
autoconf
%configure CFLAGS="$CFLAGS"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}%{_datadir}/%{name}
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
%check
make check
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%doc ChangeLog COPYING README
%{_bindir}/tc*
%{_libdir}/libtokyocabinet.so.*
%{_mandir}/man1/tc*.gz
%files devel
%defattr(-, root, root, -)
%{_includedir}/tc*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_mandir}/man3/t*.gz
%doc doc/*
%changelog
2008-02-09 04:02:38 +00:00
* Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.14-1
- Update to 1.1.14
2008-01-11 14:45:58 +00:00
* Fri Jan 11 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.7-1
- Update to 1.1.7
2007-12-19 04:56:37 +00:00
* Tue Dec 18 2007 Deji Akingunola <dakingun@gmail.com> - 1.1.4-1
- Update to 1.1.4
2007-11-29 22:34:36 +00:00
* Sat Nov 24 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.8-1
- Update to 1.0.8
* Sat Nov 24 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.6-1
- Initial package