Ana Guerrero 2024-03-05 17:47:06 +00:00 committed by Git OBS Bridge
commit 9ce9250566
4 changed files with 27 additions and 10 deletions

BIN
openjpeg-2.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
openjpeg-2.5.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Feb 28 14:43:25 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 2.5.2:
* Make sure openjpeg.h includes opj_config.h #1514
-------------------------------------------------------------------
Tue Feb 27 06:16:30 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 2.5.1:
* CMake: drop support for cmake < 3.5
* Several bugfixes, including #1509 for CVE-2021-3575 (bsc#1187048)
* Significant speed-up rate allocation by rate/distoratio ratio #1440
- Set devel-doc subpackage to noarch
- Change cmake parameters (see c7bccf)
-------------------------------------------------------------------
Wed Mar 8 14:11:29 UTC 2023 - Martin Pluskal <mpluskal@suse.com>

View File

@ -19,7 +19,7 @@
%define library_name libopenjp2-7
%define base_version 2.5
Name: openjpeg2
Version: 2.5.0
Version: 2.5.2
Release: 0
Summary: Opensource JPEG 2000 Codec Implementation
License: BSD-2-Clause
@ -27,7 +27,7 @@ Group: Productivity/Graphics/Other
URL: https://www.openjpeg.org/
Source0: https://github.com/uclouvain/openjpeg/archive/v%{version}.tar.gz#/openjpeg-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: cmake > 2.8.2
BuildRequires: cmake > 3.5
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
@ -79,6 +79,7 @@ Summary: API documentation for %{name}
Group: Documentation/HTML
Recommends: %{library_name} = %{version}
Recommends: %{name} = %{version}
BuildArch: noarch
%description devel-doc
The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
@ -106,14 +107,13 @@ done
-DBUILD_TESTING=OFF \
-DBUILD_DOC=ON \
-DBUILD_THIRDPARTY=OFF \
-DOPENJPEG_INSTALL_LIB_DIR=%{_lib} \
-DOPENJPEG_INSTALL_DOC_DIR=share/doc/packages/%{name}-devel-doc
-DCMAKE_INSTALL_LIB_DIR=%{_lib} \
-DCMAKE_INSTALL_DOC_DIR=share/doc/packages/%{name}-devel-doc
%cmake_build all doc
%install
%cmake_install
rm %{buildroot}%{_defaultdocdir}/%{name}-devel-doc/LICENSE
%fdupes %{buildroot}%{_defaultdocdir}
%post -n %{library_name} -p /sbin/ldconfig
@ -131,12 +131,13 @@ rm %{buildroot}%{_defaultdocdir}/%{name}-devel-doc/LICENSE
%{_includedir}/openjpeg-%{base_version}/
%{_libdir}/libopenjp2.so
%{_libdir}/pkgconfig/libopenjp2.pc
%{_libdir}/openjpeg-%{base_version}/
%{_libdir}/cmake/openjpeg-2.5/
%{_mandir}/man3/libopenjp2.3%{?ext_man}
%files devel-doc
%license LICENSE
%doc AUTHORS.md CHANGELOG.md NEWS.md README.md THANKS.md
%doc %{_defaultdocdir}/%{name}-devel-doc/html
%dir %{_defaultdocdir}/%{name}
%doc %{_defaultdocdir}/%{name}/html
%changelog