代码拉取完成,页面将自动刷新
Name: jasper
Version: 4.2.5
Release: 1
Summary: Reference implementation of the codec specified in the JPEG-2000 standard, Part 1
License: JasPer-2.0
URL: https://www.ece.uvic.ca/~frodo/jasper/
Source0: https://github.com/jasper-software/jasper/releases/download/version-%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake freeglut-devel libGLU-devel libjpeg-devel libXmu-devel libXi-devel
BuildRequires: pkgconfig doxygen mesa-libGL-devel
Provides: jasper-libs = %{version}-%{release}
Obsoletes: jasper-libs < %{version}-%{release}
Conflicts: jasper < 1.900.1-4
%description
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.
%package devel
Summary: Development files for jasper
Provides: libjasper-devel = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description devel
Development files for jasper.
%package utils
Summary: Nonessential utilities of jasper
Requires: %{name} = %{version}-%{release}
%description utils
Nonessential utilities of jasper, including jiv and tmrdemo.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%cmake \
-DALLOW_IN_SOURCE_BUILD=ON \
-DJAS_ENABLE_DOC:BOOL=OFF \
-DJAS_ENABLE_OPENGL=ON \
-DJAS_ENABLE_LIBJPEG=ON \
-DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \
-DCMAKE_SKIP_RPATH=ON \
-DJAS_ENABLE_SHARED=ON
%cmake_build
%install
%cmake_install
%check
export LD_LIBRARY_PATH="`pwd`/%{__cmake_builddir}/src/libjasper/"
%ctest
%files
%license COPYRIGHT.txt LICENSE.txt
%{_bindir}/imgcmp
%{_bindir}/imginfo
%{_bindir}/jasper
%{_docdir}/JasPer/*
%{_libdir}/libjasper.so.7*
%files devel
%doc doc/*
%{_includedir}/jasper/
%{_libdir}/pkgconfig/jasper.pc
%{_libdir}/libjasper.so
%files utils
%{_bindir}/jiv
%files help
%{_mandir}/man1/*
%doc README.md
%changelog
* Sun Apr 06 2025 Funda Wang <fundawang@yeah.net> - 4.2.5-1
- update to 4.2.5
* Sun Nov 03 2024 Funda Wang <fundawang@yeah.net> - 4.2.4-1
- update to 4.2.4
* Mon Jul 8 2024 zhangxingrong-<zhangxingrong@uniontech.cn> - 4.1.0-5
- Fixed a potential integer overflow problem in the jas_get_total_mem_size
function (for the Windows platform).
- Fixed a potential integer overflow problem in the
* Sun Apr 28 2024 cenhuilin <cenhuilin@kylinos.cn> - 4.1.0-4
- fix CVE-2024-31744
* Wed Mar 27 2024 panchenbo <panchenbo@kylinsec.com.cn> - 4.1.0-3
- fix rpmbuild build error : add BuildRequires: git
* Mon Mar 25 2024 licihua <licihua@huawei.com> - 4.1.0-2
- Fix CVE-2023-51257
* Wed Feb 7 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 4.1.0-1
- Upgrade to version 4.1.0
* Mon Feb 5 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.0.14-11
- Fix obs compile failure
* Wed Sep 8 2021 liwu <liwu13@huawei.com> - 2.0.14-10
- fix CVE-2021-27845
* Wed Sep 16 2020 wutao <wutao61@huawei.com> - 2.0.14-9
- fix folllowing CVE in this revision
CVE-2018-18873
CVE-2018-19541
CVE-2018-9055
CVE-2018-9154
CVE-2018-19539
CVE-2018-20570
CVE-2018-9252
CVE-2018-19540
CVE-2018-20622
CVE-2018-19139
* Wed Apr 22 2020 leiju <leiju4@huawei.com> - 2.0.14-8
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。