Browse Source

lmdb-0.9.29-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
03febb52dd
1 changed files with 18 additions and 9 deletions
  1. 18 9
      l/lmdb/lmdb-vl.spec

+ 18 - 9
l/lmdb/lmdb-vl.spec

@@ -2,11 +2,10 @@
 %global archive_path libraries/lib%{name}
 
 Name:           lmdb
-Version:        0.9.24
+Version:        0.9.29
 Release:        1%{?_dist_release}
 Summary:        Memory-mapped key-value database
-Group:          Development/Libraries
-
+Group:          programming
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -15,8 +14,8 @@ URL:            http://symas.com/mdb/
 Source0:        https://github.com/LMDB/lmdb/archive/LMDB_%{version}.tar.gz
 Source1:        lmdb.pc.in
 # Patch description in the corresponding file
-Patch0: lmdb-make.patch
-Patch1: lmdb-s390-check.patch
+Patch0:         lmdb-make.patch
+Patch1:         lmdb-s390-check.patch
 
 BuildRequires: make
 BuildRequires: gcc
@@ -31,6 +30,7 @@ to the size of the virtual address space.
 
 %package        libs
 Summary:        Shared libraries for %{name}
+Group:          system
 
 %description    libs
 The %{name}-libs package contains shared libraries necessary for running
@@ -39,6 +39,7 @@ applications that use %{name}.
 %package        devel
 Summary:        Development files for %{name}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
+Group:          programming
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -47,11 +48,15 @@ developing applications that use %{name}.
 %package        doc
 Summary:        Documentation files for %{name}
 BuildArch:      noarch
+Group:          documentation
 
 %description    doc
 The %{name}-doc package contains automatically generated documentation for %{name}.
 
 
+%debug_package
+
+
 %prep
 %setup -q -n %{name}-LMDB_%{version}
 %patch0 -p1 -b .make
@@ -60,7 +65,9 @@ The %{name}-doc package contains automatically generated documentation for %{nam
 
 %build
 pushd %{archive_path}
-make XCFLAGS="%{optflags}" %{?_smp_mflags}
+%set_build_flags
+make %{?_smp_mflags} XCFLAGS="%{build_cflags}"
+
 # Build doxygen documentation
 doxygen
 # remove unpackaged files
@@ -68,6 +75,7 @@ rm -f Doxyfile
 rm -rf man # Doxygen generated manpages
 popd
 
+
 %install
 pushd %{archive_path}
 # make install expects existing directory tree
@@ -85,15 +93,13 @@ sed -e 's:@PREFIX@:%{_prefix}:g' \
     %{SOURCE1} >lmdb.pc
 install -Dpm 0644 -t %{buildroot}%{_libdir}/pkgconfig lmdb.pc
 
+
 %check
 pushd %{archive_path}
 rm -rf testdb
 LD_LIBRARY_PATH=$PWD make test
 popd
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
 
 %files
 %{_bindir}/*
@@ -118,6 +124,9 @@ popd
 
 
 %changelog
+* Tue May 31 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.29-1
+- new upstream release.
+
 * Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.24-1
 - initial build for Vine Linux.
 - new upstream release.