!73 remove all third party libraries and fix the issue of opj2_compress/opj2_decompress don't work with png/tiff images

From: @dongyuzhen 
Reviewed-by: @zzm_567, @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-04-13 02:52:36 +00:00 committed by Gitee
commit d8e3e9be49
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: openjpeg2
Version: 2.4.0
Release: 4
Release: 5
Summary: C-Library for JPEG 2000
License: BSD and MIT
URL: https://github.com/uclouvain/openjpeg
@ -44,7 +44,8 @@ Command line tools for JPEG 2000 file manipulation, using OpenJPEG2:
%prep
%autosetup -n openjpeg-%{version} -p1
# rm -rf thirdparty
# Remove all third party libraries just to be sure
find thirdparty/ -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} \;
%build
mkdir %{_target_platform}
@ -98,6 +99,9 @@ mv %{buildroot}%{_mandir}/man1/opj_dump.1 %{buildroot}%{_mandir}/man1/opj2_dump.
%{_bindir}/opj2_dump
%changelog
* Tue Apr 12 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.4.0-5
- fix the issue of opj2_compress/opj2_decompress don't work with png/tiff images
* Tue Jan 18 2022 yangcheng <yangcheng87@huawei.com> - 2.4.0-4
- fix poppler compilation failed to find opj2_decompress