summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@votca.org>2017-06-17 10:16:10 -0600
committerChristoph Junghans <junghans@votca.org>2017-06-17 10:16:10 -0600
commit3e41e694d894496600fee8c65adb769cff76017d (patch)
tree91c9a709844ee7dcc23c7ce65baebfab644b004f
parentf67021c866b8fa056d04295073d12e0686a2ff8c (diff)
downloadfedora-review-3e41e694d894496600fee8c65adb769cff76017d.tar.gz
fedora-review-3e41e694d894496600fee8c65adb769cff76017d.tar.xz
fedora-review-3e41e694d894496600fee8c65adb769cff76017d.zip
libaec: fix more warnings
-rw-r--r--libaec/libaec.spec17
1 files changed, 6 insertions, 11 deletions
diff --git a/libaec/libaec.spec b/libaec/libaec.spec
index 08c4e50..7d913b0 100644
--- a/libaec/libaec.spec
+++ b/libaec/libaec.spec
@@ -6,10 +6,8 @@ License: BSD
Url: https://gitlab.dkrz.de/k202009/libaec
Source: https://gitlab.dkrz.de/k202009/libaec/uploads/631e85bcf877c2dcaca9b2e6d6526339/libaec-1.0.0.tar.gz
-BuildRequires: cmake
-
%description
-Libaec provides fast lossless compression of 1 up to 32 bit wide
+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
@@ -34,19 +32,16 @@ Devel files and static library for libaec (Adaptive Entropy Coding library).
%setup -q
%build
-mkdir build
-pushd build
-%cmake ..
+%configure --disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
-#make %{?_smp_mflags} CFLAGS="%{optflags}"
-popd
%install
-%make_install -C build
-[ %{_lib} = lib ] || mv $RPM_BUILD_ROOT/%{_prefix}/{lib,%{_lib}}
+%make_install
%check
-make -C build test
+make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig