commit 49922734427a828064284d44c53adbc1d97fca2e Author: dogsheng <960055655@qq.com> Date: Tue Nov 19 11:49:01 2019 +0800 Package init diff --git a/libaec-v1.0.4.tar.gz b/libaec-v1.0.4.tar.gz new file mode 100644 index 0000000..b93e9e1 Binary files /dev/null and b/libaec-v1.0.4.tar.gz differ diff --git a/libaec.spec b/libaec.spec new file mode 100644 index 0000000..58ee344 --- /dev/null +++ b/libaec.spec @@ -0,0 +1,59 @@ +Name: libaec +Version: 1.0.4 +Release: 1 +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 cmake3 + +%description +Libaec provides fast lossless 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][1] and [120.0-G-2][2]. + +%package devel +Summary: Devel package for libaec +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development files for libaec. + +%prep +%setup -q -n %{name}-v%{version} + +%build +mkdir build +pushd build +%{cmake3} .. +%make_build +popd + +%install +%make_install -C build + +%check +make -C build test CTEST_OUTPUT_ON_FAILURE=1 +%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 +* Tue Oct 22 2019 openEuler Buildteam - 1.0.4-1 +- Package init