Browse Source

libzip-1.8.0-1

Tomohiro "Tomo-p" KATO 3 years ago
parent
commit
49fa9ca9ab
1 changed files with 14 additions and 13 deletions
  1. 14 13
      lib/libz/libzip/libzip-vl.spec

+ 14 - 13
lib/libz/libzip/libzip-vl.spec

@@ -2,9 +2,9 @@
 
 Summary:        C library for reading, creating, and modifying zip archives
 Name:           libzip
-Version:        1.7.3
+Version:        1.8.0
 Release:        1%{?_dist_release}
-Group:          System Environment/Libraries
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -40,7 +40,7 @@ The API is documented by man pages.
 
 %package devel
 Summary: Development files for %{name}
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: pkgconfig
 Requires: zlib-devel
@@ -50,6 +50,9 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 
+%debug_package
+
+
 %prep
 %autosetup -p1
 
@@ -66,30 +69,24 @@ developing applications that use %{name}.
   -DBUILD_TOOLS:BOOL=ON \
   -DBUILD_REGRESS:BOOL=ON \
   -DBUILD_EXAMPLES:BOOL=OFF \
-  -DBUILD_DOC:BOOL=ON \
-  .
+  -DBUILD_DOC:BOOL=ON
 
-make %{?_smp_mflags}
+%cmake_build
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
+%cmake_install
 
 
 %check
-make check
+%ctest
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root,-)
 %license LICENSE*
@@ -109,6 +106,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.0-1
+- new upstream release.
+- built with openssl-3.0.0.
+
 * Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
 - new upstream release.