|
|
@ -1,11 +1,10 @@
|
|
|
|
Name: libaec
|
|
|
|
Name: libaec
|
|
|
|
Version: 1.0.3
|
|
|
|
Version: 1.0.4
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Adaptive Entropy Coding library
|
|
|
|
Summary: Adaptive Entropy Coding library
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Url: https://gitlab.dkrz.de/k202009/libaec
|
|
|
|
Url: https://gitlab.dkrz.de/k202009/libaec
|
|
|
|
Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/libaec-v%{version}.tar.gz
|
|
|
|
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: gcc
|
|
|
|
BuildRequires: cmake3 >= 3.1
|
|
|
|
BuildRequires: cmake3 >= 3.1
|
|
|
@ -33,9 +32,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Devel files for libaec (Adaptive Entropy Coding library).
|
|
|
|
Devel files for libaec (Adaptive Entropy Coding library).
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-v%{version} -a 1
|
|
|
|
%setup -q -n %{name}-v%{version}
|
|
|
|
mv 121B2TestData data
|
|
|
|
|
|
|
|
mv data/121B2TestData/AllOptions/test_P512n22.dat data/121B2TestData/AllOptions/test_p512n22.dat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir build
|
|
|
|
mkdir build
|
|
|
@ -46,8 +43,6 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install -C build
|
|
|
|
%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
|
|
|
|
%check
|
|
|
|
make -C build test CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
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
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Sat Feb 09 2019 Christoph Junghans <junghans@votca.org> - 1.0.3-3
|
|
|
|
- Include missing header
|
|
|
|
- Include missing header
|
|
|
|
|
|
|
|
|
|
|
|