Browse Source

zlib-1.2.11-1

Tomohiro "Tomo-p" KATO 5 years ago
parent
commit
c21de0ba73
1 changed files with 14 additions and 3 deletions
  1. 14 3
      z/zlib/zlib-vl.spec

+ 14 - 3
z/zlib/zlib-vl.spec

@@ -2,8 +2,8 @@
 Summary: The zlib compression and decompression library.
 Summary(ja): zlib 圧縮/展開ライブラリ
 Name: zlib
-Version: 1.2.8
-Release: 2%{?_dist_release}
+Version: 1.2.11
+Release: 1%{?_dist_release}
 Group: System Environment/Libraries
 Source: http://www.zlib.net/zlib-%{version}.tar.xz
 # Patch0: zlib-1.2.5-lfs-decls.patch
@@ -15,6 +15,9 @@ URL: http://www.zlib.net/
 License: zlib and Boost
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
+Vendor: Project Vine
+Distribution: Vine Linux
+
 %description
 The zlib compression library provides in-memory compression and
 decompression functions, including integrity checks of the
@@ -132,6 +135,8 @@ if [ "%{_prefix}/lib" != "%{_libdir}" ]; then
     rmdir ${RPM_BUILD_ROOT}%{_prefix}/lib
 fi
 
+cat %{buildroot}/usr/include/zlib.h | sed -n '1,/*\//p' > LICENSE
+
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
@@ -145,6 +150,7 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %files
 %defattr(-,root,root)
+%license LICENSE
 %doc README
 %{_libdir}/*.so
 %{_libdir}/libz.so.*
@@ -163,15 +169,20 @@ rm -rf ${RPM_BUILD_ROOT}
 %if %{build_compat32}
 %files -n compat32-%{name}
 %defattr(-,root,root)
-%{_libdir}/*.so
 %{_libdir}/libz.so.*
 
 %files -n compat32-%{name}-devel
 %defattr(-,root,root)
+%{_libdir}/*.so
 %{_libdir}/pkgconfig/zlib.pc
 %endif
 
 %changelog
+* Wed Jan 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.11-1
+- new upstream release.
+- added license text.
+- reverted moving libz.so for compat32 package.
+
 * Sat Mar 19 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.8-2
 - moved libz.so into the main package.