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