|
|
|
@ -1,15 +1,14 @@
|
|
|
|
|
Name: CharLS
|
|
|
|
|
Version: 2.4.2
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: An optimized implementation of the JPEG-LS standard
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
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
|
|
|
|
|
Provides: charls
|
|
|
|
|
BuildRequires: cmake >= 2.6.0
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
An optimized implementation of the JPEG-LS standard for loss less and
|
|
|
|
@ -26,7 +25,6 @@ result in vastly different performance characteristics.
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Libraries and headers for CharLS
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Provides: charls-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
CharLS Library Header Files and Link Libraries.
|
|
|
|
@ -34,7 +32,7 @@ CharLS Library Header Files and Link Libraries.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n charls-%{version}
|
|
|
|
|
rm CharLS*.sln* -v
|
|
|
|
|
%{__rm} CharLS*.sln* -v
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake -DBUILD_SHARED_LIBS:BOOL=ON\
|
|
|
|
@ -50,57 +48,24 @@ rm CharLS*.sln* -v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%ctest
|
|
|
|
|
pushd %{__cmake_builddir}
|
|
|
|
|
# Enter a key + enter to finish
|
|
|
|
|
echo "a" | ./charlstest
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE.md
|
|
|
|
|
%doc CHANGELOG.md README.md SECURITY.md
|
|
|
|
|
%{_libdir}/libcharls.so.2*
|
|
|
|
|
%license License.txt
|
|
|
|
|
%{_libdir}/lib%{name}.so.2
|
|
|
|
|
%{_libdir}/lib%{name}.so.2.0
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%dir %{_includedir}/charls/
|
|
|
|
|
%{_includedir}/charls/*
|
|
|
|
|
%{_libdir}/cmake/charls/
|
|
|
|
|
%{_libdir}/libcharls.so
|
|
|
|
|
%{_libdir}/pkgconfig/charls.pc
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%dir %{_includedir}/%{name}/
|
|
|
|
|
%{_includedir}/%{name}/*
|
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 24 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 2.4.2-7
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 2.4.2-7
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 04 2023 Orion Poplawski <orion@nwra.com> - 2.4.2-1
|
|
|
|
|
- Update to 2.4.2
|
|
|
|
|
- Provide lowercase names
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|