瀏覽代碼

openjpeg2-2.3.1-1

Tomohiro "Tomo-p" KATO 5 年之前
父節點
當前提交
b70b098b0a
共有 1 個文件被更改,包括 12 次插入2 次删除
  1. 12 2
      o/openjpeg2/openjpeg2-vl.spec

+ 12 - 2
o/openjpeg2/openjpeg2-vl.spec

@@ -9,7 +9,7 @@
 %global minor_version 2.3
 
 Name:           openjpeg2
-Version:        2.3.0
+Version:        2.3.1
 Release:        1%{?_dist_release}
 Summary:        C-Library for JPEG 2000
 Summary(ja):    JPEG 2000 用の C ライブラリ
@@ -35,6 +35,9 @@ Source1: data.tar.xz
 # Remove bundled libraries
 Patch0:         openjpeg2_remove-thirdparty.patch
 
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 BuildRequires:  cmake
 BuildRequires:  zlib-devel
 BuildRequires:  libpng-devel
@@ -261,6 +264,8 @@ EOF
 chmod +x %{buildroot}%{_bindir}/opj2_jpip_viewer
 %endif
 
+# drop a static library.
+rm -f %{buildroot}%{_libdir}/libopenjp2.a
 
 %post -p /sbin/ldconfig
 
@@ -275,7 +280,9 @@ make test -C %{_target_platform}
 
 
 %files
-%doc AUTHORS* CHANGELOG* LICENSE NEWS* README* THANKS*
+%{!?_licensedir:%global license %doc}
+%license LICENSE
+%doc AUTHORS* CHANGELOG* NEWS* README* THANKS*
 %{_libdir}/libopenjp2.so.*
 %{_mandir}/man3/libopenjp2.3*
 
@@ -345,6 +352,9 @@ make test -C %{_target_platform}
 
 
 %changelog
+* Mon Aug 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.1-1
+- new upstream release.
+
 * Fri Dec 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
 - new upstream release.
 - dropped %%patch1 and 2: fixed in upstream.