|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
Name: libaec
|
|
|
|
|
Version: 1.0.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.0.4
|
|
|
|
|
Release: 1%{?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
|
|
|
|
|
Source1: http://cwe.ccsds.org/sls/docs/SLS-DC/BB121B2TestData/121B2TestData.zip
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: cmake3 >= 3.1
|
|
|
|
@ -33,9 +32,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Devel files for libaec (Adaptive Entropy Coding library).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-v%{version} -a 1
|
|
|
|
|
mv 121B2TestData data
|
|
|
|
|
mv data/121B2TestData/AllOptions/test_P512n22.dat data/121B2TestData/AllOptions/test_p512n22.dat
|
|
|
|
|
%setup -q -n %{name}-v%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir build
|
|
|
|
@ -46,8 +43,6 @@ 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
|
|
|
|
@ -66,6 +61,9 @@ make -C build test CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 12 2019 Christoph Junghans <junghans@votca.org> - 1.0.4-1
|
|
|
|
|
- Version bump to 1.0.4
|
|
|
|
|
|
|
|
|
|
* Sat Feb 09 2019 Christoph Junghans <junghans@votca.org> - 1.0.3-3
|
|
|
|
|
- Include missing header
|
|
|
|
|
|
|
|
|
|