From d516b52046e077a4e3171a1f04d54fd1dd98adf6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:17:34 +0100 Subject: [PATCH] update to 2.3.1 [release 2.3.1-1mamba;Fri Mar 13 2020] --- libopenjpeg.spec | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/libopenjpeg.spec b/libopenjpeg.spec index a1c7907..a1dd6c8 100644 --- a/libopenjpeg.spec +++ b/libopenjpeg.spec @@ -2,18 +2,20 @@ %define majver %(echo %version | cut -d. -f1-2) %define apiver %(echo %version | cut -d. -f1-2) Name: libopenjpeg -Version: 2.1.0 -Release: 2mamba +Version: 2.3.1 +Release: 1mamba Summary: An open-source JPEG 2000 codec written in C language Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openjpeg.org -Source: https://downloads.sourceforge.net/project/openjpeg.mirror/%{version}/openjpeg-%{version}.tar.gz +Source: https://github.com/uclouvain/openjpeg.git/v%{version}/openjpeg-%{version}.tar.bz2 +#Source: https://downloads.sourceforge.net/project/openjpeg.mirror/%{version}/openjpeg-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: liblcms2-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel @@ -43,6 +45,8 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. +%debug_package + %prep %setup -q -n openjpeg-%{version} #sed -i "s|-o root -g root||" Makefile @@ -66,13 +70,14 @@ This package contains utility applications for %{name}. %files %defattr(-,root,root) %{_libdir}/libopenjp2.so.* -%doc LICENSE AUTHORS +%doc LICENSE %files devel %defattr(-,root,root) %dir %{_includedir}/openjpeg-%{apiver} %{_includedir}/openjpeg-%{apiver}/*.h %{_libdir}/libopenjp2.so +%{_libdir}/libopenjp2.a %{_libdir}/openjpeg-%{apiver}/OpenJPEGConfig.cmake %{_libdir}/openjpeg-%{apiver}/OpenJPEGTargets-noconfig.cmake %{_libdir}/openjpeg-%{apiver}/OpenJPEGTargets.cmake @@ -83,12 +88,11 @@ This package contains utility applications for %{name}. %{_bindir}/opj_compress %{_bindir}/opj_decompress %{_bindir}/opj_dump -#%{_mandir}/man1/opj_compress.1* -#%{_mandir}/man1/opj_decompress.1* -#%{_mandir}/man1/opj_dump.1* -#%{_mandir}/man3/libopenjp2.3* %changelog +* Fri Mar 13 2020 Silvan Calarco 2.3.1-1mamba +- update to 2.3.1 + * Sun Aug 18 2019 Silvan Calarco 2.1.0-2mamba - libopenjpeg-devel: require libopenjpeg-tools