2024-01-06 06:27:10 +01:00
|
|
|
Name: lmdb
|
|
|
|
Epoch: 1
|
2024-01-06 06:27:12 +01:00
|
|
|
Version: 0.9.31
|
2024-01-06 06:27:10 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Lightning Memory-Mapped Database from Symas
|
|
|
|
Group: Applications/Databases
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:27:11 +01:00
|
|
|
URL: https://www.symas.com/lmdb
|
2024-01-06 06:27:10 +01:00
|
|
|
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
|
2024-01-06 06:27:10 +01:00
|
|
|
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
|
2024-01-06 06:27:10 +01:00
|
|
|
%setup -q -n openldap-LMDB_%{version}
|
2024-01-06 06:27:10 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 06:27:12 +01:00
|
|
|
* Tue Jul 11 2023 Automatic Build System <autodist@mambasoft.it> 0.9.31-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:27:11 +01:00
|
|
|
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 0.9.30-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:27:10 +01:00
|
|
|
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 0.9.29-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:27:10 +01:00
|
|
|
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 0.9.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:27:10 +01:00
|
|
|
* Tue Oct 27 2020 Automatic Build System <autodist@mambasoft.it> 0.9.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:27:10 +01:00
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.26-1mamba
|
|
|
|
- update to 0.9.26
|
|
|
|
|
2024-01-06 06:27:10 +01:00
|
|
|
* Thu Aug 01 2019 Automatic Build System <autodist@mambasoft.it> 0.9.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:27:10 +01:00
|
|
|
* Mon Jul 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.23-1mamba
|
|
|
|
- package created using the webbuild interface
|