From af47a52af4734943841dec14410ebdfc3963adf5 Mon Sep 17 00:00:00 2001 From: Dmitry Samoylik Date: Tue, 24 Dec 2024 12:04:15 +0300 Subject: [PATCH] import CharLS-2.4.2-7.el10 --- .CharLS.metadata | 1 + .gitignore | 1 + SPECS/CharLS.spec | 190 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) create mode 100644 .CharLS.metadata create mode 100644 .gitignore create mode 100644 SPECS/CharLS.spec diff --git a/.CharLS.metadata b/.CharLS.metadata new file mode 100644 index 0000000..859bcb0 --- /dev/null +++ b/.CharLS.metadata @@ -0,0 +1 @@ +6e4865751b91669c09dc28ea0606a1e1bdb50bae SOURCES/CharLS-2.4.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0bbcf2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/CharLS-2.4.2.tar.gz diff --git a/SPECS/CharLS.spec b/SPECS/CharLS.spec new file mode 100644 index 0000000..ad3cfe8 --- /dev/null +++ b/SPECS/CharLS.spec @@ -0,0 +1,190 @@ +Name: CharLS +Version: 2.4.2 +Release: 7%{?dist} +Summary: An optimized implementation of the JPEG-LS standard +License: BSD-3-Clause +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 + +%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} +Provides: charls-devel + +%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 + +%cmake_build + + +%install +%cmake_install + + +%check +%ctest + + +%files +%license LICENSE.md +%doc CHANGELOG.md README.md SECURITY.md +%{_libdir}/libcharls.so.2* + +%files devel +%dir %{_includedir}/charls/ +%{_includedir}/charls/* +%{_libdir}/cmake/charls/ +%{_libdir}/libcharls.so +%{_libdir}/pkgconfig/charls.pc + + +%changelog +* Tue Dec 24 2024 Dmitriy Samoylik - 2.4.2-7 +- Rebuilt for MSVSphere 10 + +* Mon Sep 02 2024 Miroslav Suchý - 2.4.2-7 +- convert license to SPDX + +* Wed Jul 17 2024 Fedora Release Engineering - 2.4.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 2.4.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.4.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 18 2024 Fedora Release Engineering - 2.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 2.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jun 04 2023 Orion Poplawski - 2.4.2-1 +- Update to 2.4.2 +- Provide lowercase names + +* Wed Jan 18 2023 Fedora Release Engineering - 2.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 2.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 2.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 2.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Feb 22 2021 Alessio - 2.0.0-6> +- cmake_builddir change + +* Mon Jan 25 2021 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 2.0.0-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Jul 28 2019 Ankur Sinha - 2.0.0-1 +- Update to version 2.0.0 +- Remove unneded patches +- Note: soname changes here + +* Wed Jul 24 2019 Fedora Release Engineering - 1.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 1.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 1.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 26 2016 Peter Lemenkov - 1.0-11 +- Spec-file cleanups + +* Tue Jun 16 2015 Fedora Release Engineering - 1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 1.0-9 +- Rebuilt for GCC 5 C++11 ABI change + +* Fri Aug 15 2014 Fedora Release Engineering - 1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Aug 02 2013 Fedora Release Engineering - 1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Feb 3 2011 Mario Ceresa mrceresa@gmail.com CharLS 1.0-1 +- Update to new version +- Applied patch to fix bug http://charls.codeplex.com/workitem/7823 + +* Wed Feb 17 2010 Mario Ceresa mrceresa@gmail.com CharLS 1.0-0.1.b +- Changed name schema to comply with pre-release packages + +* Wed Feb 17 2010 Mario Ceresa mrceresa@gmail.com CharLS 1.0b-1 +- Initial RPM Release