Clean up spec

i9m changed/i9m/spandsp-3.0.0-git20201019.3.el9.inferit.1
Arkady L. Shane 8 months ago
parent ed38faf1f0
commit 42047b1932
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

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

Loading…
Cancel
Save