Name: lmdb Epoch: 1 Version: 0.9.33 Release: 1mamba Summary: Lightning Memory-Mapped Database from Symas Group: Applications/Databases Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.symas.com/lmdb Source: https://git.openldap.org/openldap/openldap/-/archive/LMDB_%{version}/openldap-LMDB_%{version}.tar.gz #Source: https://github.com/LMDB/lmdb.git/LMDB_%{version}/lmdb-%{version}.tar.bz2 Source1: lmdb.pc License: OpenLDAP Public License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END Provides: liblmdb-tools Obsoletes: liblmdb-tools Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Lightning Memory-Mapped Database from Symas. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n openldap-LMDB_%{version} %build %make -C libraries/liblmdb \ SOLIBS="-Wl,-soname,liblmdb.so.0" \ SOEXT=".so.0" \ prefix=%{_prefix} \ libdir=%{_libdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C libraries/liblmdb \ SOLIBS="-Wl,-soname,liblmdb.so.0" \ SOEXT=".so.0" \ prefix=%{_prefix} \ libdir=%{_libdir} ln -s liblmdb.so.0 %{buildroot}%{_libdir}/liblmdb.so install -D -m0755 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/lmdb.pc sed -i "s|@LIBDIR@|%{_libdir}|" %{buildroot}%{_libdir}/pkgconfig/lmdb.pc sed -i "s|@PKGVER@|%{version}|" %{buildroot}%{_libdir}/pkgconfig/lmdb.pc %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/mdb_copy %{_bindir}/mdb_dump %{_bindir}/mdb_load %{_bindir}/mdb_stat %{_mandir}/man1/mdb_copy.1* %{_mandir}/man1/mdb_dump.1* %{_mandir}/man1/mdb_load.1* %{_mandir}/man1/mdb_stat.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/liblmdb.so.* %doc libraries/liblmdb/LICENSE libraries/liblmdb/COPYRIGHT %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/lmdb.h %{_libdir}/liblmdb.a %{_libdir}/liblmdb.so %{_libdir}/pkgconfig/lmdb.pc %changelog * Wed May 22 2024 Automatic Build System 0.9.33-1mamba - automatic version update by autodist * Tue Jan 30 2024 Automatic Build System 0.9.32-1mamba - automatic version update by autodist * Tue Jul 11 2023 Automatic Build System 0.9.31-1mamba - automatic version update by autodist * Thu Feb 09 2023 Automatic Build System 0.9.30-1mamba - automatic version update by autodist * Wed Mar 17 2021 Automatic Build System 0.9.29-1mamba - automatic version update by autodist * Tue Feb 09 2021 Automatic Build System 0.9.28-1mamba - automatic version update by autodist * Tue Oct 27 2020 Automatic Build System 0.9.27-1mamba - automatic version update by autodist * Sun Sep 06 2020 Silvan Calarco 0.9.26-1mamba - update to 0.9.26 * Thu Aug 01 2019 Automatic Build System 0.9.24-1mamba - automatic version update by autodist * Mon Jul 08 2019 Silvan Calarco 0.9.23-1mamba - package created using the webbuild interface