summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@votca.org>2017-06-16 19:26:16 -0600
committerChristoph Junghans <junghans@votca.org>2017-06-16 19:26:16 -0600
commit30e66f55dec911ef39cf035ebd194f4137df85d4 (patch)
tree55bc5b2b7330dce65a400faa09b85c00686bf37c
parent0d7a0b50dc93e0cf5b597866a05e579a54ad74bb (diff)
downloadfedora-review-30e66f55dec911ef39cf035ebd194f4137df85d4.tar.gz
fedora-review-30e66f55dec911ef39cf035ebd194f4137df85d4.tar.xz
fedora-review-30e66f55dec911ef39cf035ebd194f4137df85d4.zip
libaec: fix some errors
-rw-r--r--libaec/libaec.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/libaec/libaec.spec b/libaec/libaec.spec
index 3925b7c..a8a4fed 100644
--- a/libaec/libaec.spec
+++ b/libaec/libaec.spec
@@ -1,11 +1,13 @@
Name: libaec
Version: 1.0.0
-Release: 0
+Release: 1%{?dist}
Summary: Adaptive Entropy Coding library
-License: BSD-2-Clause
+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
signed or unsigned integers (samples). The library achieves best
@@ -32,16 +34,18 @@ Devel files and static library for libaec (Adaptive Entropy Coding library).
%setup -q
%build
-%configure --disable-static
+mkdir build
+pushd build
+%cmake ..
%make_build
#make %{?_smp_mflags} CFLAGS="%{optflags}"
+popd
%install
-%make_install
-find $RPM_BUILD_ROOT%{_libdir} -name 'lib*.la' -delete
+%make_install -C build
%check
-make %{?_smp_mflags} check VERBOSE=1
+make -C build test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -57,3 +61,5 @@ make %{?_smp_mflags} check VERBOSE=1
%{_libdir}/lib*.so
%changelog
+* Mon Mar 13 2017 Christoph Junghans <junghans@votca.org> - 1.0.0-1
+- initial import