Unretire qm-dsp
This commit is contained in:
parent
53c676ef11
commit
84036dba19
25
qm-dsp.spec
25
qm-dsp.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: qm-dsp
|
||||
Version: 1.7.1
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: Library for DSP and Music Informatics purposes
|
||||
|
||||
# some source files with different original licenses, see README.txt
|
||||
@ -80,26 +80,12 @@ EXTRA_CFLAGS="-msse -msse2 -mfpmath=sse"
|
||||
# build
|
||||
CFLAGS="$EXTRA_CFLAGS %{?optflags} -I%{_includedir}/kissfft" \
|
||||
LDFLAGS="%{?__global_ldflags}" \
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
||||
|
||||
|
||||
%check
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
BOOST_CPPFLAGS="-I%{_includedir}/boost148"
|
||||
BOOST_LDFLAGS="-L%{_libdir}/boost148"
|
||||
%endif
|
||||
# disable valgrind on AArch64
|
||||
%ifarch aarch64
|
||||
MAKE_ARGS='-f Makefile.novg'
|
||||
%endif
|
||||
CFLAGS="${BOOST_CPPFLAGS} %{?optflags} -Dkiss_fft_scalar=double" \
|
||||
LDFLAGS="${BOOST_LDFLAGS} %{?__global_ldflags} -lkiss_fft_double -lkiss_fftr_double" \
|
||||
make %{?_smp_mflags} -C tests $MAKE_ARGS
|
||||
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
||||
|
||||
# Tests are broken
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
@ -109,6 +95,9 @@ make %{?_smp_mflags} -C tests $MAKE_ARGS
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 02 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.7.1-10
|
||||
- Unretire qm-dsp
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user