upgrade to 0.2.2

This commit is contained in:
liqingqing_1229 2023-01-28 14:54:48 +08:00
parent 3368001617
commit e0b0e3949d
3 changed files with 11 additions and 10 deletions

Binary file not shown.

BIN
libsamplerate-0.2.2.tar.xz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: libsamplerate
Version: 0.1.9
Release: 4
Version: 0.2.2
Release: 1
Summary: Sample Rate Converter for audio
License: BSD
URL: http://www.mega-nerd.com/SRC/
Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz
License: BSD-2-Clause license
URL: https://github.com/libsndfile/libsamplerate
Source0: https://github.com/libsndfile/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: alsa-lib-devel gcc pkgconfig
BuildRequires: fftw-devel >= 0.15.0 libsndfile-devel >= 1.0.6
@ -33,8 +33,8 @@ make %{?_smp_mflags}
%install
%make_install
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsamplerate0-dev _doc
cp -a doc _doc
rm _doc/Makefile*
cp -a docs _doc
rm _doc/CMakeLists.txt
%check
export LD_LIBRARY_PATH=`pwd`/src/.libs
@ -45,10 +45,8 @@ unset LD_LIBRARY_PATH
%postun -p /sbin/ldconfig
%files
%doc AUTHORS COPYING README _doc/*
%{_bindir}/sndfile-resample
%doc AUTHORS COPYING README.md _doc/*
%{_libdir}/%{name}.so.*
%exclude %{_libdir}/%{name}.a
%exclude %{_libdir}/%{name}.la
%files devel
@ -57,6 +55,9 @@ unset LD_LIBRARY_PATH
%{_libdir}/pkgconfig/samplerate.pc
%changelog
* Sat Jan 28 2023 Qingqing Li <liqingqing3@huawei.com> - 0.2.2-1
- upgrade to 0.2.2
* Mon Dec 23 2019 wangshuo <wangshuo47@huawei.com> - 0.1.9-4
- Type:bugfix
- ID:NA