SHA256
1
0
forked from pool/lmdb

Accepting request 787179 from home:darix:branches:systemsmanagement

- copy the pkg config support from the fedora package 

- LMDB 0.9.24 Release (2019/07/24)
  * ITS#8969 Tweak mdb_page_split
  * ITS#8975 WIN32 fix writemap set_mapsize crash
  * ITS#9007 Fix loose pages in WRITEMAP

OBS-URL: https://build.opensuse.org/request/show/787179
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/lmdb?expand=0&rev=33
This commit is contained in:
Lars Vogdt 2020-03-22 20:56:03 +00:00 committed by Git OBS Bridge
parent f9a5b7cdfb
commit f7d5ebbcca
5 changed files with 41 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abf42e91f046787ed642d9eb21812a5c473f3ba5854124484d16eadbe0aa9c81
size 143813

3
LMDB_0.9.24.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44602436c52c29d4f301f55f6fd8115f945469b868348e3cddaf91ab2473ea26
size 143916

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Mar 21 23:12:06 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
- copy the pkg config support from the fedora package
-------------------------------------------------------------------
Sat Mar 21 23:05:48 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
- LMDB 0.9.24 Release (2019/07/24)
* ITS#8969 Tweak mdb_page_split
* ITS#8975 WIN32 fix writemap set_mapsize crash
* ITS#9007 Fix loose pages in WRITEMAP
-------------------------------------------------------------------
Mon Mar 25 21:10:07 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

11
lmdb.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@PREFIX@
exec_prefix=@EXEC_PREFIX@
libdir=@LIBDIR@
includedir=@INCLUDEDIR@
Name: liblmdb
Description: Lightning Memory-mapped key-value database
URL: http://symas.com/mdb/
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -llmdb
Cflags: -I${includedir}

View File

@ -20,13 +20,15 @@ Name: lmdb
Summary: Lightning Memory-Mapped Database Manager
License: OLDAP-2.8
Group: Productivity/Databases/Tools
%define lname liblmdb-0_9_23
Version: 0.9.23
%define lname liblmdb-0_9_24
Version: 0.9.24
Release: 0
Url: https://symas.com/mdb/
#Git-Clone: git://git.openldap.org/openldap mdb.master
Source: https://github.com/LMDB/lmdb/archive/LMDB_%version.tar.gz
# from https://src.fedoraproject.org/rpms/lmdb/tree/master
Source1: lmdb.pc.in
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM - debugging tools (https://github.com/kacfengine/lmdb)
@ -102,6 +104,15 @@ make install DESTDIR="%buildroot" SOVERSION=%{version} \
datarootdir=%{_datadir}
ln -s %{_libdir}/liblmdb-%{version}.so %{buildroot}%{_libdir}/liblmdb.so
# Install pkgconfig file
sed -e 's:@PREFIX@:%{_prefix}:g' \
-e 's:@EXEC_PREFIX@:%{_exec_prefix}:g' \
-e 's:@LIBDIR@:%{_libdir}:g' \
-e 's:@INCLUDEDIR@:%{_includedir}:g' \
-e 's:@PACKAGE_VERSION@:%{version}:g' \
%{SOURCE1} >lmdb.pc
install -Dpm 0644 -t %{buildroot}%{_libdir}/pkgconfig lmdb.pc
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -118,5 +129,6 @@ ln -s %{_libdir}/liblmdb-%{version}.so %{buildroot}%{_libdir}/liblmdb.so
%files devel
%_includedir/*
%_libdir/liblmdb.so
%_libdir/pkgconfig/lmdb.pc
%changelog