|
|
19a642d |
Summary: A straightforward implementation of DBM
|
|
Casey Dahlin |
af991d6 |
Name: kyotocabinet
|
|
|
3f5e0e0 |
Version: 1.2.76
|
|
|
083c61b |
Release: 17%{?dist}
|
|
Casey Dahlin |
af991d6 |
License: GPLv3
|
|
|
19a642d |
Group: Applications/Databases
|
|
|
19a642d |
URL: http://fallabs.com/%{name}/
|
|
|
19a642d |
Source: http://fallabs.com/%{name}/pkg/%{name}-%{version}.tar.gz
|
|
|
c213903 |
Patch0: kyotocabinet-1.2.76-cflags.patch
|
|
|
c213903 |
Patch1: kyotocabinet-1.2.76-8-byte-atomics.patch
|
|
|
c213903 |
Patch2: kyotocabinet-1.2.76-tr1_hashtable.patch
|
|
|
988ed3a |
Patch3: kyotocabinet-1.2.76-gcc6.patch
|
|
|
19a642d |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
Igor Gnatenko |
b3072b6 |
BuildRequires: gcc
|
|
|
c213903 |
BuildRequires: zlib-devel, lzo-devel, xz-devel
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%description
|
|
|
19a642d |
Kyoto Cabinet is a library of routines for managing a database. The
|
|
|
19a642d |
database is a simple data file containing records, each is a pair of
|
|
|
19a642d |
a key and a value. Every key and value is serial bytes with variable
|
|
|
19a642d |
length. Both binary data and character string can be used as a key
|
|
|
19a642d |
and a value. Each key must be unique within a database. And there is
|
|
|
19a642d |
neither concept of data tables nor data types. Records are organized
|
|
|
19a642d |
in hash table or B+ tree.
|
|
|
19a642d |
|
|
|
19a642d |
%package libs
|
|
|
19a642d |
Summary: Libraries for applications using Kyoto Cabinet
|
|
|
19a642d |
Group: System Environment/Libraries
|
|
|
19a642d |
Provides: %{name}-lib = %{version}-%{release}
|
|
|
19a642d |
Provides: %{name}-lib%{?_isa} = %{version}-%{release}
|
|
|
19a642d |
Obsoletes: %{name}-lib < 1.2.76-3
|
|
|
19a642d |
|
|
|
19a642d |
%description libs
|
|
|
19a642d |
The kyotocabinet-libs package provides the essential shared libraries
|
|
|
19a642d |
for any Kyoto Cabinet client program or interface.
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%package devel
|
|
|
19a642d |
Summary: Development files for Kyoto Cabinet
|
|
Casey Dahlin |
af991d6 |
Group: Development/Libraries
|
|
|
c213903 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}, pkgconfig
|
|
Casey Dahlin |
af991d6 |
|
|
|
19a642d |
%description devel
|
|
|
19a642d |
The kyotocabinet-devel package contains libraries and header files for
|
|
|
19a642d |
developing applications that use Kyoto Cabinet.
|
|
Casey Dahlin |
af991d6 |
|
|
|
19a642d |
%package apidocs
|
|
|
19a642d |
Summary: API documentation for Kyoto Cabinet library
|
|
|
19a642d |
Group: Documentation
|
|
|
19a642d |
%if 0%{?fedora}%{?rhel} >= 6
|
|
|
19a642d |
BuildArch: noarch
|
|
|
19a642d |
%endif
|
|
|
19a642d |
Provides: %{name}-api-doc = %{version}-%{release}
|
|
|
19a642d |
Obsoletes: %{name}-api-doc < 1.2.76-3
|
|
Casey Dahlin |
af991d6 |
|
|
|
19a642d |
%description apidocs
|
|
|
19a642d |
The kyotocabinet-apidocs package contains API documentation for developing
|
|
|
19a642d |
applications that use Kyoto Cabinet.
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%prep
|
|
Casey Dahlin |
af991d6 |
%setup -q
|
|
|
c213903 |
%patch0 -p1 -b .cflags
|
|
|
c213903 |
%patch1 -p1 -b .8-byte-atomics
|
|
|
19a642d |
%if 0%{?rhel} == 5
|
|
|
c213903 |
%patch2 -p1 -b .tr1_hashtable
|
|
|
19a642d |
%endif
|
|
|
988ed3a |
%patch3 -p1 -b .gcc6
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%build
|
|
|
c213903 |
%configure --disable-opt --enable-lzo --enable-lzma
|
|
|
19a642d |
make %{?_smp_mflags}
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%install
|
|
Casey Dahlin |
af991d6 |
rm -rf $RPM_BUILD_ROOT
|
|
|
19a642d |
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
|
|
19a642d |
|
|
|
19a642d |
# Don't install any static .a file
|
|
|
19a642d |
rm -f $RPM_BUILD_ROOT%{_libdir}/libkyotocabinet.a
|
|
|
19a642d |
|
|
|
19a642d |
# Clean up for later usage in documentation
|
|
|
19a642d |
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
|
Casey Dahlin |
af991d6 |
|
|
|
c213903 |
%check
|
|
|
c213903 |
# All kcutilmgr compression tests on RHEL 5 (ppc) just cause 99.9% CPU
|
|
|
c213903 |
# usage but do not continue or simply fail. However all the other tests
|
|
|
c213903 |
# including compression ones work as expected. What is the impact here?
|
|
|
c213903 |
%if 0%{?rhel} == 5 && "%{_arch}" == "ppc"
|
|
|
c213903 |
sed -e '/$(RUNENV) $(RUNCMD) .\/kcutilmgr comp /d' -i Makefile
|
|
|
c213903 |
%endif
|
|
|
c213903 |
make check
|
|
|
c213903 |
|
|
|
19a642d |
%post libs -p /sbin/ldconfig
|
|
Casey Dahlin |
af991d6 |
|
|
|
19a642d |
%postun libs -p /sbin/ldconfig
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%files
|
|
|
19a642d |
%doc doc/{command.html,common.css,icon16.png}
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kccachetest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcdirmgr
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcdirtest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcforestmgr
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcforesttest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcgrasstest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kchashmgr
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kchashtest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kclangctest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcpolymgr
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcpolytest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcprototest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcstashtest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kctreemgr
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kctreetest
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcutilmgr
|
|
Casey Dahlin |
af991d6 |
%{_bindir}/kcutiltest
|
|
|
19a642d |
%{_mandir}/man1/kccachetest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcdirmgr.1*
|
|
|
19a642d |
%{_mandir}/man1/kcdirtest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcforestmgr.1*
|
|
|
19a642d |
%{_mandir}/man1/kcforesttest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcgrasstest.1*
|
|
|
19a642d |
%{_mandir}/man1/kchashmgr.1*
|
|
|
19a642d |
%{_mandir}/man1/kchashtest.1*
|
|
|
19a642d |
%{_mandir}/man1/kclangctest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcpolymgr.1*
|
|
|
19a642d |
%{_mandir}/man1/kcpolytest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcprototest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcstashtest.1*
|
|
|
19a642d |
%{_mandir}/man1/kctreemgr.1*
|
|
|
19a642d |
%{_mandir}/man1/kctreetest.1*
|
|
|
19a642d |
%{_mandir}/man1/kcutilmgr.1*
|
|
|
19a642d |
%{_mandir}/man1/kcutiltest.1*
|
|
|
19a642d |
|
|
|
19a642d |
%files libs
|
|
|
1e16abd |
%{!?_licensedir:%global license %%doc}
|
|
|
1e16abd |
%license COPYING FOSSEXCEPTION LINKEXCEPTION
|
|
|
1e16abd |
%doc ChangeLog
|
|
|
19a642d |
%{_libdir}/libkyotocabinet.so.*
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%files devel
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kccachedb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kccommon.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kccompare.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kccompress.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcdb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcdbext.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcdirdb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcfile.h
|
|
|
c213903 |
%if 0%{?rhel} == 5
|
|
|
c213903 |
%{_includedir}/kcfunctional.h
|
|
|
c213903 |
%endif
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kchashdb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kclangc.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcmap.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcplantdb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcpolydb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcprotodb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcregex.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcstashdb.h
|
|
Casey Dahlin |
bebfb1e |
%{_includedir}/kctextdb.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcthread.h
|
|
Casey Dahlin |
af991d6 |
%{_includedir}/kcutil.h
|
|
Casey Dahlin |
af991d6 |
%{_libdir}/libkyotocabinet.so
|
|
Casey Dahlin |
af991d6 |
%{_libdir}/pkgconfig/kyotocabinet.pc
|
|
Casey Dahlin |
af991d6 |
|
|
|
19a642d |
%files apidocs
|
|
|
19a642d |
%doc COPYING doc/api/* kyotocabinet.idl
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
af991d6 |
%changelog
|
|
|
083c61b |
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 1.2.76-17
|
|
|
083c61b |
- Rebuild to fix GCC 8 mis-compilation
|
|
|
083c61b |
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
|
|
|
083c61b |
|
|
|
339bfd2 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.76-16
|
|
|
339bfd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
339bfd2 |
|
|
|
d80ba21 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.76-15
|
|
|
d80ba21 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d80ba21 |
|
|
|
29b2915 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.76-14
|
|
|
29b2915 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
29b2915 |
|
|
|
1e16abd |
* Sun Feb 12 2017 Robert Scheck <robert@fedoraproject.org> 1.2.76-13
|
|
|
1e16abd |
- Replace patch from openSUSE by the Debian one to not only build
|
|
|
1e16abd |
kyotocabinet with GCC >= 6 but also with GCC >= 7 (#1307706 #c15)
|
|
|
1e16abd |
|
|
|
2ef6cad |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.76-12
|
|
|
2ef6cad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2ef6cad |
|
|
|
988ed3a |
* Sun Aug 14 2016 Robert Scheck <robert@fedoraproject.org> 1.2.76-11
|
|
|
988ed3a |
- Added patch from openSUSE to build with GCC >= 6 (#1307706)
|
|
|
988ed3a |
|
|
|
863afbd |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.76-10
|
|
|
863afbd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
863afbd |
|
|
|
7cadac7 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.76-9
|
|
|
7cadac7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7cadac7 |
|
|
|
d664b3d |
* Sun May 03 2015 Kalev Lember <kalevlember@gmail.com> - 1.2.76-8
|
|
|
d664b3d |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
d664b3d |
|
|
|
243c8d6 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.76-7
|
|
|
243c8d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
243c8d6 |
|
|
|
4b626c6 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.76-6
|
|
|
4b626c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4b626c6 |
|
|
|
c213903 |
* Sun Nov 17 2013 Robert Scheck <robert@fedoraproject.org> 1.2.76-5
|
|
|
c213903 |
- Corrected wrong dependency of -devel from main to -libs package
|
|
|
c213903 |
- Always enable 8 byte atomics patch e.g. for ppc32 (#1007732 #c5)
|
|
|
c213903 |
- Fixed previously added patch for building under RHEL 5 (#915123)
|
|
|
c213903 |
- Added dependencies to enable lzo and lzma/xz compression support
|
|
|
c213903 |
- Enabled the built-in test suite (with limitations at RHEL 5 ppc)
|
|
|
c213903 |
|
|
|
da6e6df |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.76-4
|
|
|
da6e6df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
da6e6df |
|
|
|
19a642d |
* Sat Mar 02 2013 Robert Scheck <robert@fedoraproject.org> 1.2.76-3
|
|
|
19a642d |
- Splitted main package into an additional library subpackage
|
|
|
19a642d |
- Added patch and workaround for building under RHEL 5 (#915123)
|
|
|
19a642d |
- Corrected duplicate doc packaging, renamed package to apidocs
|
|
|
19a642d |
|
|
|
004bc94 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.76-2
|
|
|
004bc94 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
004bc94 |
|
|
|
3f5e0e0 |
* Sat Jan 12 2013 Robert Scheck <robert@fedoraproject.org> - 1.2.76-1
|
|
|
3f5e0e0 |
- Update to 1.2.76 (#760939)
|
|
|
3f5e0e0 |
|
|
|
5b2759e |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.70-5
|
|
|
5b2759e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5b2759e |
|
|
|
5400674 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.70-4
|
|
|
5400674 |
- Rebuilt for c++ ABI breakage
|
|
|
5400674 |
|
|
|
4553a14 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.70-3
|
|
|
4553a14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4553a14 |
|
|
Casey Dahlin |
28048c7 |
* Wed Oct 19 2011 Casey Dahlin <cdahlin@redhat.com> - 1.2.70-2
|
|
Casey Dahlin |
28048c7 |
- Prevent -march=native build flag [735822], credit Ville Skyatta
|
|
Casey Dahlin |
28048c7 |
<ville.skyata@iki.fi>
|
|
Casey Dahlin |
28048c7 |
|
|
|
c213903 |
* Wed Aug 31 2011 Casey Dahlin <cdahlin@redhat.com> - 1.2.70-1
|
|
Casey Dahlin |
bebfb1e |
- Update to latest upstream
|
|
Casey Dahlin |
bebfb1e |
|
|
|
e4cf271 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.31-3
|
|
|
e4cf271 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e4cf271 |
|
|
Casey Dahlin |
cb76934 |
* Mon Jan 3 2011 Casey Dahlin <cjdahlin@ncsu.edu> - 1.2.31-2
|
|
Casey Dahlin |
cb76934 |
- Correct files list for soname bump
|
|
Casey Dahlin |
cb76934 |
|
|
Casey Dahlin |
bebfb1e |
* Mon Jan 3 2011 Casey Dahlin <cdahlin@redhat.com> - 1.2.31-1
|
|
Casey Dahlin |
2da5d56 |
- Update to latest upstream
|
|
Casey Dahlin |
2da5d56 |
|
|
Casey Dahlin |
bebfb1e |
* Mon Dec 13 2010 Casey Dahlin <cdahlin@redhat.com> - 1.2.29-1
|
|
Casey Dahlin |
ae55e67 |
- Update to latest upstream
|
|
Casey Dahlin |
ae55e67 |
|
|
Casey Dahlin |
bebfb1e |
* Fri Dec 10 2010 Casey Dahlin <cdahlin@redhat.com> - 1.2.27-2
|
|
Casey Dahlin |
af991d6 |
- Separate out devel-doc package
|
|
Casey Dahlin |
af991d6 |
- Make sure we own our documentation folder
|
|
Casey Dahlin |
af991d6 |
- Kill rpath
|
|
Casey Dahlin |
af991d6 |
|
|
Casey Dahlin |
bebfb1e |
* Wed Dec 8 2010 Casey Dahlin <cdahlin@redhat.com> - 1.2.27-1
|
|
Casey Dahlin |
af991d6 |
- Initial packaging
|