commit 6a6c41a24649ccc972a2b3010c488dd1cf3bb608 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:18:35 2019 -0400 Package init diff --git a/tokyocabinet-1.4.48.tar.gz b/tokyocabinet-1.4.48.tar.gz new file mode 100644 index 0000000..3016a4c Binary files /dev/null and b/tokyocabinet-1.4.48.tar.gz differ diff --git a/tokyocabinet.spec b/tokyocabinet.spec new file mode 100644 index 0000000..003833b --- /dev/null +++ b/tokyocabinet.spec @@ -0,0 +1,78 @@ +Name: tokyocabinet +Version: 1.4.48 +Release: 13 +Summary: A manual book for managing a database +License: LGPLv2+ +URL: http://fallabs.com/tokyocabinet/ +Source: http://fallabs.com/%{name}/%{name}-%{version}.tar.gz + +BuildRequires: pkgconfig zlib-devel bzip2-devel autoconf + +%description +Tokyo Cabinet is a library of routines for managing a database. It is the successor + of QDBM and GDBM but more space snd time efficient. Tokyo Cabinet is written in +the C language, and prvided as API of C, Perl, Ruby, Java and Lua. Tokyo Cabinet is + available on platforms which have API conforming to C99 and POSIX. Tokyo Cabinet + is a free software licensed under the GNU Lesser General Public License. + +%package devel +Summary: Headers files for programing with tokyocabinet. +Requires: %{name} = %{version}-%{release} pkgconfig + +%description devel +Necessary libraries and header files for developing with tokyocabinet. + +%package help +Summary: Manual book for using tokyocabinet +Requires: %{name} = %{version}-%{release} pkgconfig +BuildArch: noarch + + +%description help +Documentation for using tokyocabinet. + +%prep +%setup -q + +%build +autoconf +%configure --enable-off64 +%make_build + +%install +%make_install + +rm -rf %{buildroot}%{_datadir}/%{name} + +%check +make check + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%doc ChangeLog COPYING README +%{_bindir}/tc* +%{_libdir}/libtokyocabinet.so.* +%{_libexecdir}/tcawmgr.cgi + +%files devel +%{_includedir}/tc*.h +%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/lib%{name}.a +%{_libdir}/*.so + +%files help +%doc doc/* +%{_mandir}/man1/tc*.gz +%{_mandir}/man3/t*.gz + + +%changelog +* Mon Sep 2 2019 Zaiwang Li -1.4.48-13 +-Package init + +