update to 4.0.0 [release 4.0.0-1mamba;Thu Sep 21 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 04:41:55 +01:00
parent 5456168f97
commit b0578753f1

View File

@ -1,5 +1,5 @@
Name: libjasper Name: libjasper
Version: 2.0.33 Version: 4.0.0
Release: 1mamba Release: 1mamba
Summary: A free-software based reference implementation of the JPEG-2000 codec Summary: A free-software based reference implementation of the JPEG-2000 codec
Group: System/Libraries Group: System/Libraries
@ -7,14 +7,18 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://ece.engr.uvic.ca/~frodo/jasper/ 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 #Source: http://www.ece.uvic.ca/~frodo/jasper/software/jasper-%{version}.tar.gz
License: JasPer License 2.0 License: JasPer License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libGLU-devel BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libfreeglut-devel BuildRequires: libfreeglut-devel
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libheif-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -30,7 +34,6 @@ Requires: %{name} = %{version}
%description devel %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 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. 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. This package contains static libraries and header files needed for development.
%package tools %package tools
@ -41,24 +44,34 @@ Requires: %{name} = %{version}
%description tools %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 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. 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}. This package contains tools provided by %{name}.
%debug_package
%prep %prep
%setup -q -n jasper-%{version} %setup -q -n jasper-%{version}
#-D -T
#:<< _EOF
sed -r 's|(CMAKE_SKIP_BUILD_RPATH) FALSE|\1 TRUE|g' -i CMakeLists.txt
%build %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 \ #% configure \
# --enable-shared \ # --enable-shared \
# --enable-static # --enable-static
%make %make -j1
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C buildx
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -69,7 +82,7 @@ This package contains tools provided by %{name}.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libjasper.so.* %{_libdir}/libjasper.so.*
%doc LICENSE %doc COPYRIGHT.txt LICENSE.txt
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -79,7 +92,7 @@ This package contains tools provided by %{name}.
%{_libdir}/pkgconfig/jasper.pc %{_libdir}/pkgconfig/jasper.pc
%dir %{_docdir}/JasPer %dir %{_docdir}/JasPer
%{_docdir}/JasPer/* %{_docdir}/JasPer/*
%doc README #%doc README
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
@ -94,6 +107,9 @@ This package contains tools provided by %{name}.
%{_mandir}/man1/jiv.1* %{_mandir}/man1/jiv.1*
%changelog %changelog
* Thu Sep 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-1mamba
- update to 4.0.0
* Mon Aug 02 2021 Automatic Build System <autodist@mambasoft.it> 2.0.33-1mamba * Mon Aug 02 2021 Automatic Build System <autodist@mambasoft.it> 2.0.33-1mamba
- automatic version update by autodist - automatic version update by autodist