diff --git a/LMDB_0.9.23.tar.gz b/LMDB_0.9.23.tar.gz deleted file mode 100644 index d313b95..0000000 --- a/LMDB_0.9.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:abf42e91f046787ed642d9eb21812a5c473f3ba5854124484d16eadbe0aa9c81 -size 143813 diff --git a/LMDB_0.9.24.tar.gz b/LMDB_0.9.24.tar.gz new file mode 100644 index 0000000..ac4cd96 --- /dev/null +++ b/LMDB_0.9.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44602436c52c29d4f301f55f6fd8115f945469b868348e3cddaf91ab2473ea26 +size 143916 diff --git a/lmdb.changes b/lmdb.changes index 1649d9e..e3ebbda 100644 --- a/lmdb.changes +++ b/lmdb.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Mar 21 23:12:06 UTC 2020 - Marcus Rueckert + +- copy the pkg config support from the fedora package + +------------------------------------------------------------------- +Sat Mar 21 23:05:48 UTC 2020 - Marcus Rueckert + +- 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 diff --git a/lmdb.pc.in b/lmdb.pc.in new file mode 100644 index 0000000..7366004 --- /dev/null +++ b/lmdb.pc.in @@ -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} diff --git a/lmdb.spec b/lmdb.spec index 1d13b79..d9a161c 100644 --- a/lmdb.spec +++ b/lmdb.spec @@ -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