From 1f432bfebc5430df7969d2024874a85ddb62a0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 15:31:07 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libaec#b5912c68d41f9b6f09a75002409529f4d56436d3 --- .gitignore | 7 +++ libaec.spec | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 128 insertions(+) create mode 100644 libaec.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..83e7b53 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,7 @@ +/libaec-1.0.0.tar.gz +/libaec-*.src.rpm +/libaec-1.0.1.tar.gz +/libaec-1.0.2.tar.gz +/libaec-v1.0.3.tar.gz +/121B2TestData.zip +/libaec-v1.0.4.tar.gz diff --git a/libaec.spec b/libaec.spec new file mode 100644 index 0000000..c978adf --- /dev/null +++ b/libaec.spec @@ -0,0 +1,120 @@ +Name: libaec +Version: 1.0.4 +Release: 6%{?dist} +Summary: Adaptive Entropy Coding library +License: BSD +Url: https://gitlab.dkrz.de/k202009/libaec +Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/libaec-v%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: cmake >= 3.1 + +%description +Libaec provides fast loss-less compression of 1 up to 32 bit wide +signed or unsigned integers (samples). The library achieves best +results for low entropy data as often encountered in space imaging +instrument data or numerical model output from weather or climate +simulations. While floating point representations are not directly +supported, they can also be efficiently coded by grouping exponents +and mantissa. + +Libaec implements Golomb Rice coding as defined in the Space Data +System Standard documents 121.0-B-2 and 120.0-G-2. + +Libaec includes a free drop-in replacement for the SZIP +library (http://www.hdfgroup.org/doc_resource/SZIP). + +%package devel +Summary: Devel package for libaec (Adaptive Entropy Coding library) +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Devel files for libaec (Adaptive Entropy Coding library). + +%prep +%setup -q -n %{name}-v%{version} + +%build +%{cmake} +%cmake_build + +%install +%cmake_install + +%check +%ctest + +%ldconfig_scriptlets + +%files +%doc README.md README.SZIP CHANGELOG.md +%license Copyright.txt doc/patent.txt +%{_bindir}/aec +%{_libdir}/lib*.so.* +%{_mandir}/man1/aec.* + +%files devel +%{_includedir}/*.h +%{_libdir}/lib*.so + +%changelog +* Mon Aug 03 2020 Christoph Junghans - 1.0.4-6 +- Fix out-of-source build on F33 (bug #1863972) + +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.4-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Feb 12 2019 Christoph Junghans - 1.0.4-1 +- Version bump to 1.0.4 + +* Sat Feb 09 2019 Christoph Junghans - 1.0.3-3 +- Include missing header + +* Tue Feb 05 2019 Christoph Junghans - 1.0.3-2 +- Enable all tests + +* Mon Feb 04 2019 Christoph Junghans - 1.0.3-1 +- Version bump to 1.0.3 (bug #1672326) + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 1.0.2-2 +- Switch to %%ldconfig_scriptlets + +* Tue Oct 24 2017 Christoph Junghans - 1.0.2-1 +- Version bump to 1.0.2 (#1504372) + +* Sun Aug 13 2017 Christoph Junghans - 1.0.1-4 +- Tweaks for EPEL7 + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 17 2017 Christoph Junghans - 1.0.1-1 +- version bump to 1.0.1 - bug #1471766 + +* Wed Jun 21 2017 Christoph Junghans - 1.0.0-2 +- comments from review #1462443 + +* Sat Jun 17 2017 Christoph Junghans - 1.0.0-1 +- initial import diff --git a/sources b/sources new file mode 100644 index 0000000..da4b553 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libaec-v1.0.4.tar.gz) = 74d01208ad3a426d68895dbfa8a830c96618a219f27745ecfd94b248462748e772c266e7fb0d4e4f4c75f8953a97f835fb2ece67317cf9e9a7495360362d22eb