|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libaec
|
|
|
|
|
Version: 1.0.3
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Adaptive Entropy Coding library
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: https://gitlab.dkrz.de/k202009/libaec
|
|
|
|
@ -8,7 +8,7 @@ Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/liba
|
|
|
|
|
Source1: http://cwe.ccsds.org/sls/docs/SLS-DC/BB121B2TestData/121B2TestData.zip
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: %{?fedora:cmake >= 3.1}%{?rhel:cmake3 >= 3.1}
|
|
|
|
|
BuildRequires: cmake3 >= 3.1
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libaec provides fast loss-less compression of 1 up to 32 bit wide
|
|
|
|
@ -46,6 +46,8 @@ popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install -C build
|
|
|
|
|
cp -a build/config.h %{buildroot}%{_includedir}/%{name}_config.h
|
|
|
|
|
sed -i '/include/s/config.h/%{name}_&/' %{buildroot}%{_includedir}/szlib.h
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make -C build test CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
@ -64,6 +66,9 @@ make -C build test CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Feb 09 2019 Christoph Junghans <junghans@votca.org> - 1.0.3-3
|
|
|
|
|
- Include missing header
|
|
|
|
|
|
|
|
|
|
* Tue Feb 05 2019 Christoph Junghans <junghans@votca.org> - 1.0.3-2
|
|
|
|
|
- Enable all tests
|
|
|
|
|
|
|
|
|
|