update to 4.0.0 [release 4.0.0-1mamba;Thu Sep 21 2023]
This commit is contained in:
parent
5456168f97
commit
b0578753f1
@ -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 <silvan.calarco@mambasoft.it>
|
||||
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 <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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user