Accepting request 294587 from home:pluskalm:branches:devel:libraries:c_c++
- Update project url - Use url for source - Enable tests OBS-URL: https://build.opensuse.org/request/show/294587 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leveldb?expand=0&rev=16
This commit is contained in:
parent
b7d50aa5a5
commit
af654968fa
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d5c449b7057f7991e6ede897ba524889cb925120a53f6533398ee9685749665d
|
|
||||||
size 159372
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 5 13:29:58 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update project url
|
||||||
|
- Use url for source
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 20 12:13:47 UTC 2014 - dmueller@suse.com
|
Mon Oct 20 12:13:47 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
15
leveldb.spec
15
leveldb.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package leveldb
|
# spec file for package leveldb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,8 +22,8 @@ Release: 0
|
|||||||
Summary: A key/value-store
|
Summary: A key/value-store
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://code.google.com/p/leveldb/
|
Url: https://github.com/google/leveldb
|
||||||
Source: leveldb-%{version}.tar.bz2
|
Source0: https://github.com/google/leveldb/archive/v%{version}.tar.gz
|
||||||
Patch0: 0001-debian-ports.patch
|
Patch0: 0001-debian-ports.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
@ -33,6 +33,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
leveldb implements a system for maintaining a persistent key/value store.
|
leveldb implements a system for maintaining a persistent key/value store.
|
||||||
|
|
||||||
%define lib_name libleveldb1
|
%define lib_name libleveldb1
|
||||||
|
|
||||||
%package -n %{lib_name}
|
%package -n %{lib_name}
|
||||||
Summary: Shared library from leveldb
|
Summary: Shared library from leveldb
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -69,7 +70,10 @@ This package holds the development files for statically linking leveldb.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_flags} OPT="%{optflags}"
|
make %{?_smp_mflags} OPT="%{optflags}"
|
||||||
|
|
||||||
|
%check
|
||||||
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 0755 %{buildroot}%{_includedir} %{buildroot}%{_libdir}
|
install -d -m 0755 %{buildroot}%{_includedir} %{buildroot}%{_libdir}
|
||||||
@ -80,9 +84,10 @@ cp -a \
|
|||||||
%{buildroot}%{_libdir}
|
%{buildroot}%{_libdir}
|
||||||
|
|
||||||
cp -a include/leveldb %{buildroot}%{_includedir}
|
cp -a include/leveldb %{buildroot}%{_includedir}
|
||||||
find %{buildroot} -name \*.la -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %{lib_name} -p /sbin/ldconfig
|
%post -n %{lib_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{lib_name} -p /sbin/ldconfig
|
%postun -n %{lib_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{lib_name}
|
%files -n %{lib_name}
|
||||||
|
3
v1.18.tar.gz
Normal file
3
v1.18.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5
|
||||||
|
size 209376
|
Loading…
Reference in New Issue
Block a user