|
|
@ -7,7 +7,7 @@ License: LGPLv2+
|
|
|
|
URL: https://sourceforge.net/p/soxr/wiki/Home/
|
|
|
|
URL: https://sourceforge.net/p/soxr/wiki/Home/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.xz
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake gcc
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The SoX Resampler library `libsoxr' performs one-dimensional sample-rate
|
|
|
|
The SoX Resampler library `libsoxr' performs one-dimensional sample-rate
|
|
|
@ -24,7 +24,7 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}-Source
|
|
|
|
%autosetup -n %{name}-%{version}-Source
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -32,7 +32,7 @@ rm -rf build && mkdir build && pushd build
|
|
|
|
export LDFLAGS="-Wl,--as-needed"
|
|
|
|
export LDFLAGS="-Wl,--as-needed"
|
|
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
../
|
|
|
|
../
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -47,14 +47,12 @@ rm -rf %{buildroot}%{_docdir}/*
|
|
|
|
pushd build
|
|
|
|
pushd build
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc LICENCE NEWS README
|
|
|
|
%doc NEWS README
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|