update to 0.2.1 [release 0.2.1-1mamba;Fri Feb 19 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:43:51 +01:00
parent 77e5b1a085
commit 40540f36ff

View File

@ -1,18 +1,20 @@
Name: libsamplerate
Version: 0.1.9
Release: 2mamba
Version: 0.2.1
Release: 1mamba
Summary: Library for performing sample rate conversion on audio
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.mega-nerd.com
Source: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
URL: https://www.mega-nerd.com
Source: https://github.com/libsndfile/libsamplerate.git/%{version}/libsamplerate-%{version}.tar.bz2
#Source: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libsndfile-devel
## AUTOBUILDREQ-ENDBuildRequires: pkgconfig >= 0.15
## AUTOBUILDREQ-END
BuildRequires: pkgconfig >= 0.15
BuildRequires: libfftw-devel >= 0.15.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -27,7 +29,7 @@ The conversion ratio can also vary with time for speeding up and slowing down ef
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains the header files, static libraries and development documentation for %{name}.
@ -36,7 +38,7 @@ This package contains static libraries and header files needed for development.
%package tools
Summary: Tools provided with %{name}
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains the header files, static libraries and development documentation for %{name}.
@ -46,15 +48,15 @@ This package contains the tools provided with %{name}.
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," Cfg/config.sub
%build
%configure
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -70,20 +72,22 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," Cfg/config.sub
%files devel
%defattr(-, root, root)
%{_includedir}/samplerate.h
%{_libdir}/libsamplerate.a
%{_libdir}/libsamplerate.la
%{_libdir}/libsamplerate.so
%{_libdir}/pkgconfig/*.pc
%dir %{_datadir}/doc/libsamplerate0-dev
%dir %{_datadir}/doc/libsamplerate0-dev/html
%{_datadir}/doc/libsamplerate0-dev/html/*
%doc ChangeLog NEWS README
%dir %{_libdir}/cmake/SampleRate
%{_libdir}/cmake/SampleRate/SampleRate*.cmake
%dir %{_docdir}/libsamplerate
%{_docdir}/libsamplerate/*
%doc ChangeLog NEWS
%files tools
%defattr(-, root, root)
%{_bindir}/*
#%files tools
#%defattr(-, root, root)
#%{_bindir}/*
%changelog
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba
- update to 0.2.1
* Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.9-2mamba
- rebuilt with debug package and aarch64 build fix