Version 0.2.1
New upstream URL Some spec cleanup
This commit is contained in:
parent
2dc2ba777b
commit
2eaada53fa
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
libsamplerate-0.1.7.tar.gz
|
||||
/libsamplerate-0.1.8.tar.gz
|
||||
/libsamplerate-0.1.9.tar.gz
|
||||
/libsamplerate-0.2.1.tar.bz2
|
||||
|
@ -1,16 +1,16 @@
|
||||
Summary: Sample rate conversion library for audio data
|
||||
Name: libsamplerate
|
||||
Version: 0.1.9
|
||||
Release: 8%{?dist}
|
||||
Version: 0.2.1
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
URL: http://www.mega-nerd.com/SRC/
|
||||
Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz
|
||||
URL: https://libsndfile.github.io/libsamplerate/
|
||||
Source0: https://github.com/libsndfile/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: fftw-devel >= 0.15.0
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libsndfile-devel >= 1.0.6
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: make
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Secret Rabbit Code is a sample rate converter for audio. It is capable
|
||||
@ -22,7 +22,8 @@ also vary with time for speeding up and slowing down effects.
|
||||
|
||||
%package devel
|
||||
Summary: Development related files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}, pkgconfig
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Secret Rabbit Code is a sample rate converter for audio. It is capable
|
||||
@ -38,7 +39,7 @@ This package contains development files for %{name}
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-dependency-tracking --disable-fftw --disable-static
|
||||
%configure --disable-dependency-tracking --disable-static
|
||||
# Don't use rpath!
|
||||
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
|
||||
@ -47,33 +48,35 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsamplerate0-dev _doc
|
||||
cp -a doc _doc
|
||||
rm _doc/Makefile*
|
||||
rm %{buildroot}%{_libdir}/%{name}.la
|
||||
|
||||
|
||||
%check
|
||||
%set_build_flags
|
||||
export LD_LIBRARY_PATH=`pwd`/src/.libs
|
||||
make check
|
||||
%make_build check
|
||||
unset LD_LIBRARY_PATH
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING README _doc/*
|
||||
%{_bindir}/sndfile-resample
|
||||
%{_libdir}/%{name}.so.*
|
||||
%doc AUTHORS README.md
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}.so.0*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/samplerate.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/samplerate.pc
|
||||
|
||||
%{_pkgdocdir}/*
|
||||
%exclude %{_pkgdocdir}/AUTHORS
|
||||
%exclude %{_pkgdocdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Mon Apr 26 2021 Guido Aulisi <guido.aulisi@gmail.com> - 0.2.1-1
|
||||
- Version 0.2.1
|
||||
- New upstream URL
|
||||
- Some spec cleanup
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libsamplerate-0.1.9.tar.gz) = 78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728
|
||||
SHA512 (libsamplerate-0.2.1.tar.bz2) = f54f7f12c9536868d7a11fc9cbb86857505e7b75fe34cedaf0b9bfc864da6037296b3eae303a33d4c87b7fd20d96933b91ef59c8cc3d1313b9fc21654e5daa2d
|
||||
|
Loading…
Reference in New Issue
Block a user