|
|
|
@ -1,23 +1,16 @@
|
|
|
|
|
%define major 3
|
|
|
|
|
%define libname %{name}-libs
|
|
|
|
|
%define libnamedev %{name}-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define date 20201019
|
|
|
|
|
%global githash e08c74db
|
|
|
|
|
|
|
|
|
|
# rel to bump
|
|
|
|
|
%define rel 3
|
|
|
|
|
|
|
|
|
|
Summary: Steve's SpanDSP library for telephony spans
|
|
|
|
|
Name: spandsp
|
|
|
|
|
Version: 3.0.0
|
|
|
|
|
Release: git20201019.3%{?dist}.inferit
|
|
|
|
|
Release: git20201019.3%{?dist}.inferit.1
|
|
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
URL: https://github.com/freeswitch/spandsp
|
|
|
|
|
# git archive --prefix=spandsp-e08c74db/ HEAD|xz> ../SOURCES/spandsp-e08c74db.tar.xz
|
|
|
|
|
Source0: spandsp-%{githash}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: audiofile-devel
|
|
|
|
|
BuildRequires: fftw-devel
|
|
|
|
|
BuildRequires: file
|
|
|
|
@ -32,22 +25,11 @@ spandsp is a library for DSP in telephony spans. It can perform many of the
|
|
|
|
|
common DSP functions, such as the generation and detection of DTMF and
|
|
|
|
|
supervisory tones.
|
|
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
|
Summary: Steve's SpanDSP library for telephony spans
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
|
spandsp is a library for DSP in telephony spans. It can perform many of the
|
|
|
|
|
common DSP functions, such as the generation and detection of DTMF and
|
|
|
|
|
supervisory tones.
|
|
|
|
|
|
|
|
|
|
%package -n %{libnamedev}
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Header files and libraries needed for development with SpanDSP
|
|
|
|
|
Group: Development/C
|
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n %{libnamedev}
|
|
|
|
|
%description devel
|
|
|
|
|
This package includes the header files and libraries needed for developing
|
|
|
|
|
programs using SpanDSP.
|
|
|
|
|
|
|
|
|
@ -66,11 +48,11 @@ autoreconf -vfi
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS ChangeLog COPYING DueDiligence NEWS README
|
|
|
|
|
%{_libdir}/lib*.so.%{major}{,.*}
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
%files -n %{libnamedev}
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/spandsp
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
@ -78,6 +60,9 @@ find %{buildroot} -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 31 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.0.0-git20201019.3.inferit.1
|
|
|
|
|
- Clean up spec
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> 3.0.0-0.git20201019.3.inferit
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|