|
|
ce64fb3 |
Name: leveldb
|
|
|
ce64fb3 |
Version: 1.12.0
|
|
|
e32dfcc |
Release: 11%{?dist}
|
|
|
ce64fb3 |
Summary: A fast and lightweight key/value database library by Google
|
|
|
ce64fb3 |
Group: Applications/Databases
|
|
|
ce64fb3 |
License: BSD
|
|
|
ce64fb3 |
URL: http://code.google.com/p/leveldb/
|
|
|
62c1718 |
%if 0%{?el7}%{?fedora}
|
|
|
bfc0460 |
VCS: http://git.fedorahosted.org/git/leveldb.git
|
|
|
62c1718 |
%endif
|
|
|
ce64fb3 |
Source0: http://leveldb.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
bfc0460 |
|
|
|
ce9f2c4 |
# Sent upstream - https://code.google.com/p/leveldb/issues/detail?id=101
|
|
|
ce64fb3 |
Patch1: leveldb-0001-Initial-commit-of-the-autotools-stuff.patch
|
|
|
2b4f7b2 |
# Temporary workaround for secondary arches
|
|
|
ce64fb3 |
Patch2: leveldb-0002-Add-memory-barrier-on-PowerPC.patch
|
|
|
92087ef |
# https://groups.google.com/d/topic/leveldb/SbVPvl4j4vU/discussion
|
|
|
ce64fb3 |
Patch3: leveldb-0003-bloom_test-failure-on-big-endian-archs.patch
|
|
|
48f8bb7 |
# available in https://github.com/fusesource/leveldbjni/blob/leveldbjni-[LEVELDBJNI VERSION]/leveldb.patch
|
|
|
bfc0460 |
Patch4: leveldb-0004-Allow-leveldbjni-build.patch
|
|
|
a04e332 |
# https://github.com/fusesource/leveldbjni/issues/34
|
|
|
a04e332 |
# https://code.google.com/p/leveldb/issues/detail?id=184
|
|
|
a04e332 |
# Add DB::SuspendCompactions() and DB:: ResumeCompactions() methods
|
|
|
bfc0460 |
Patch5: leveldb-0005-Added-a-DB-SuspendCompations-and-DB-ResumeCompaction.patch
|
|
|
bfc0460 |
# Cherry-picked from Basho's fork
|
|
|
bfc0460 |
Patch6: leveldb-0006-allow-Get-calls-to-avoid-copies-into-std-string.patch
|
|
|
ce64fb3 |
BuildRequires: snappy-devel
|
|
|
ce64fb3 |
BuildRequires: autoconf
|
|
|
ce64fb3 |
BuildRequires: automake
|
|
|
ce64fb3 |
BuildRequires: libtool
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%description
|
|
|
ce9f2c4 |
LevelDB is a fast key-value storage library written at Google that provides an
|
|
|
ce9f2c4 |
ordered mapping from string keys to string values.
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%package devel
|
|
|
ce64fb3 |
Summary: The development files for %{name}
|
|
|
ce64fb3 |
Group: Development/Libraries
|
|
|
ce64fb3 |
Requires: pkgconfig
|
|
|
ce64fb3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
ce64fb3 |
Requires: pkgconfig
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%description devel
|
|
|
ce9f2c4 |
Additional header files for development with %{name}.
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%prep
|
|
|
ce9f2c4 |
%setup -q
|
|
|
ce9f2c4 |
%patch1 -p1
|
|
|
ce9f2c4 |
%patch2 -p1
|
|
|
92087ef |
%patch3 -p1
|
|
|
48f8bb7 |
%patch4 -p1
|
|
|
a04e332 |
%patch5 -p1
|
|
|
bfc0460 |
%patch6 -p1
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%build
|
|
|
ce9f2c4 |
autoreconf -ivf
|
|
|
62c1718 |
CFLAGS="%{optflags} -DNDEBUG" CXXFLAGS="%{optflags} -DNDEBUG" %configure --disable-static --with-pic
|
|
|
ce9f2c4 |
make %{?_smp_mflags}
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%install
|
|
|
ce9f2c4 |
make install DESTDIR=%{buildroot}
|
|
|
ce9f2c4 |
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%check
|
|
|
bb2a1f0 |
%ifarch aarch64 armv5tel armv7hl %{power64}
|
|
|
62c1718 |
# FIXME a couple of tests are failing on these secondary arches, see
|
|
|
62c1718 |
# https://bugzilla.redhat.com/908800
|
|
|
ce9f2c4 |
make check || true
|
|
|
ce9f2c4 |
%else
|
|
|
19650f9 |
# x86, x86_64, ppc, ppc64, ppc64v7 s390, and s390x are fine
|
|
|
ce9f2c4 |
make check
|
|
|
ce9f2c4 |
%endif
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%post -p /sbin/ldconfig
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%postun -p /sbin/ldconfig
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%files
|
|
|
ce9f2c4 |
%doc doc/ AUTHORS LICENSE README
|
|
|
ce9f2c4 |
%{_libdir}/lib%{name}.so.*
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%files devel
|
|
|
ce9f2c4 |
%{_includedir}/%{name}/
|
|
|
ce9f2c4 |
%{_libdir}/lib%{name}.so
|
|
|
ce9f2c4 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
%changelog
|
|
|
e32dfcc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-11
|
|
|
e32dfcc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e32dfcc |
|
|
|
c8cc787 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-10
|
|
|
c8cc787 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c8cc787 |
|
|
|
ccd6396 |
* Thu May 14 2015 Tomas Hozza <thozza@redhat.com> - 1.12.0-9
|
|
|
ccd6396 |
- rebuild with newer gcc to resolve linking issues with Ceph
|
|
|
ccd6396 |
|
|
|
e45adf3 |
* Sun Mar 1 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.0-8
|
|
|
e45adf3 |
- F-23: rebuild for gcc5 ABI change
|
|
|
e45adf3 |
|
|
|
9ff2556 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-7
|
|
|
9ff2556 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9ff2556 |
|
|
|
5259192 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-6
|
|
|
5259192 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5259192 |
|
|
|
62c1718 |
* Sun Aug 25 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.12.0-5
|
|
|
62c1718 |
- Don't build with assertions
|
|
|
62c1718 |
|
|
|
21933ec |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-4
|
|
|
21933ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
21933ec |
|
|
|
bfc0460 |
* Wed Jul 10 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.12.0-3
|
|
|
bfc0460 |
- Backported Basho's patch (see rhbz#982980)
|
|
|
bfc0460 |
|
|
|
a04e332 |
* Mon Jul 01 2013 gil cattaneo <puntogil@libero.it> 1.12.0-2
|
|
|
a04e332 |
- add SuspendCompactions and ResumeCompactions methods for allow leveldbjni build
|
|
|
a04e332 |
|
|
|
ce64fb3 |
* Sat Jun 29 2013 gil cattaneo <puntogil@libero.it> - 1.12.0-1
|
|
|
ce64fb3 |
- update to 1.12.0
|
|
|
ce64fb3 |
|
|
|
68cc469 |
* Wed Feb 27 2013 gil cattaneo <puntogil@libero.it> - 1.9.0-1
|
|
|
68cc469 |
- update to 1.9.0
|
|
|
68cc469 |
|
|
|
cdab6fc |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-6
|
|
|
cdab6fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cdab6fc |
|
|
|
2dd12f2 |
* Thu Feb 07 2013 Karsten Hopp <karsten@redhat.com> 1.7.0-5
|
|
|
2dd12f2 |
- temporarily ignore result of self checks on PPC* (rhbz #908800)
|
|
|
2dd12f2 |
|
|
|
48f8bb7 |
* Thu Nov 29 2012 gil cattaneo <puntogil@libero.it> - 1.7.0-4
|
|
|
48f8bb7 |
- Applied patch for allow leveldbjni build
|
|
|
48f8bb7 |
|
|
|
19650f9 |
* Sat Oct 27 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.7.0-3
|
|
|
19650f9 |
- Dirty workarounds for failed tests on ARM
|
|
|
19650f9 |
|
|
|
2b4f7b2 |
* Sat Oct 27 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.7.0-2
|
|
|
2b4f7b2 |
- Restored patch no.2
|
|
|
2b4f7b2 |
|
|
|
2b4f7b2 |
* Sat Oct 27 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.7.0-1
|
|
|
2b4f7b2 |
- Ver. 1.7.0 (API/ABI compatible bugfix release)
|
|
|
2b4f7b2 |
|
|
|
92087ef |
* Tue Aug 21 2012 Dan HorĂ¡k <dan[at]danny.cz> - 1.5.0-4
|
|
|
92087ef |
- add workaround for big endians eg. s390(x)
|
|
|
92087ef |
|
|
|
67bf4cc |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
|
|
|
67bf4cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
67bf4cc |
|
|
|
ce9f2c4 |
* Wed Jul 11 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.5.0-2
|
|
|
ce9f2c4 |
- Cleaned up spec by removing EL5-related stuff
|
|
|
ce9f2c4 |
- Added notes about the patches
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
* Fri Jun 15 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.5.0-1
|
|
|
ce9f2c4 |
- Ver. 1.5.0
|
|
|
ce9f2c4 |
|
|
|
ce9f2c4 |
* Thu May 17 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.4.0-1
|
|
|
ce9f2c4 |
- Initial package
|