代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/CharLS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: CharLS
Version: 2.4.2
Release: 1
Summary: An optimized implementation of the JPEG-LS standard
License: BSD
URL: https://github.com/team-charls/charls
Source0: https://github.com/team-charls/charls/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake >= 2.6.0
%description
An optimized implementation of the JPEG-LS standard for loss less and
near loss less image compression. JPEG-LS is a low-complexity standard that
matches JPEG 2000 compression ratios. In terms of speed, CharLS outperforms
open source and commercial JPEG LS implementations.
JPEG-LS (ISO-14495-1/ITU-T.87) is a standard derived from the Hewlett Packard
LOCO algorithm. JPEG LS has low complexity (meaning fast compression) and high
compression ratios, similar to JPEG 2000. JPEG-LS is more similar to the old
loss less JPEG than to JPEG 2000, but interestingly the two different techniques
result in vastly different performance characteristics.
%package devel
Summary: Libraries and headers for CharLS
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
CharLS Library Header Files and Link Libraries.
%prep
%autosetup -n charls-%{version}
%{__rm} CharLS*.sln* -v
%build
%cmake -DBUILD_SHARED_LIBS:BOOL=ON\
-DCMAKE_BUILD_TYPE:STRING="Release"\
-DCMAKE_VERBOSE_MAKEFILE=ON\
-DBUILD_TESTING=ON
%install
make install DESTDIR=$RPM_BUILD_ROOT
%check
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
ctest .
%ldconfig_scriptlets
%files
%{_libdir}/*
%files devel
%{_includedir}/charls/*
%changelog
* Fri Jul 28 2023 chenzixuan <chenzixuan@kylinos.cn> - 2.4.2-1
- upgrade upstream version 2.4.2
* Tue Mar 22 2022 tanyulong <tanyulong@kylinos.cn> - 2.0.0-1
- upgrade upstream version 2.0.0
* Thu Aug 27 2020 geyanan <geyanan2@huawei.com> - 1.0-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。