From b0578753f10eb548832ba45c6945bedfcec7c0a6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:41:55 +0100 Subject: [PATCH] update to 4.0.0 [release 4.0.0-1mamba;Thu Sep 21 2023] --- libjasper.spec | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/libjasper.spec b/libjasper.spec index b941ea3..842030b 100644 --- a/libjasper.spec +++ b/libjasper.spec @@ -1,5 +1,5 @@ Name: libjasper -Version: 2.0.33 +Version: 4.0.0 Release: 1mamba Summary: A free-software based reference implementation of the JPEG-2000 codec Group: System/Libraries @@ -7,14 +7,18 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://ece.engr.uvic.ca/~frodo/jasper/ -Source: https://github.com/mdadams/jasper.git/version-%{version}/jasper-%{version}.tar.bz2 +Source: https://github.com/jasper-software/jasper/releases/download/version-%{version}/jasper-%{version}.tar.gz +#Source: https://github.com/mdadams/jasper.git/version-%{version}/jasper-%{version}.tar.bz2 #Source: http://www.ece.uvic.ca/~frodo/jasper/software/jasper-%{version}.tar.gz License: JasPer License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libGLU-devel +BuildRequires: libXi-devel +BuildRequires: libXmu-devel BuildRequires: libfreeglut-devel +BuildRequires: libglu-devel BuildRequires: libglvnd-devel +BuildRequires: libheif-devel BuildRequires: libjpeg-devel ## AUTOBUILDREQ-END @@ -30,7 +34,6 @@ Requires: %{name} = %{version} %description devel The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). The JasPer software has been included in the JPEG-2000 Part-5 standard (i.e., ISO/IEC 15444-5), as an official reference implementation of the JPEG-2000 Part-1 codec. - This package contains static libraries and header files needed for development. %package tools @@ -41,24 +44,34 @@ Requires: %{name} = %{version} %description tools The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). The JasPer software has been included in the JPEG-2000 Part-5 standard (i.e., ISO/IEC 15444-5), as an official reference implementation of the JPEG-2000 Part-1 codec. - This package contains tools provided by %{name}. +%debug_package + %prep %setup -q -n jasper-%{version} +#-D -T +#:<< _EOF +sed -r 's|(CMAKE_SKIP_BUILD_RPATH) FALSE|\1 TRUE|g' -i CMakeLists.txt %build -%cmake -d build +#:<< _EOF +%cmake -d buildx \ + -DJAS_ENABLE_OPENGL=ON \ + -DJAS_ENABLE_LIBJPEG=ON \ + -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \ + -DCMAKE_SKIP_RPATH=ON \ + -DJAS_ENABLE_SHARED=ON #% configure \ # --enable-shared \ # --enable-static -%make +%make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%makeinstall -C buildx %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -69,7 +82,7 @@ This package contains tools provided by %{name}. %files %defattr(-,root,root) %{_libdir}/libjasper.so.* -%doc LICENSE +%doc COPYRIGHT.txt LICENSE.txt %files devel %defattr(-,root,root) @@ -79,7 +92,7 @@ This package contains tools provided by %{name}. %{_libdir}/pkgconfig/jasper.pc %dir %{_docdir}/JasPer %{_docdir}/JasPer/* -%doc README +#%doc README %files tools %defattr(-,root,root) @@ -94,6 +107,9 @@ This package contains tools provided by %{name}. %{_mandir}/man1/jiv.1* %changelog +* Thu Sep 21 2023 Silvan Calarco 4.0.0-1mamba +- update to 4.0.0 + * Mon Aug 02 2021 Automatic Build System 2.0.33-1mamba - automatic version update by autodist