Clean up spec

i9m changed/i9m/bcg729-1.1.1-3.el9.inferit
Arkady L. Shane 8 months ago
parent f8a002e905
commit f014c5fc86
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,19 +1,16 @@
%define major 0
%define libname %{name}-libs
%define develname %{name}-devel
Summary: Encoder and decoder of the ITU G.729 Annex A/B speech codec
Name: bcg729
Version: 1.1.1
Release: 2%{?dist}.inferit
Release: 3%{?dist}.inferit
License: GPLv2+
Group: System/Libraries
URL: https://linphone.org/
Source0: https://github.com/BelledonneCommunications/bcg729/archive/%{version}/%{name}-%{version}.tar.gz
# (wally) from OpenSUSE to install pkgconfig .pc file
Patch0: bcg729-fix-pkgconfig.patch
# (wally) alow overriding cmake config file location from cmd line
Patch1: bcg729-cmake-config-location.patch
BuildRequires: cmake
%description
@ -23,24 +20,11 @@ Annex A/B speech codec.
It supports concurrent channels encoding/decoding for multi call application
such as conferencing,
%package -n %{libname}
Summary: Encoder and decoder of the ITU G.729 Annex A/B speech codec
Group: System/Libraries
%description -n %{libname}
Bcg729 is an implementation of both encoder and decoder of the ITU G.729
Annex A/B speech codec.
It supports concurrent channels encoding/decoding for multi call application
such as conferencing.
%package -n %{develname}
%package devel
Summary: Development files for %{name}
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description -n %{develname}
%description devel
This package contains development files for %{name}
%prep
@ -57,12 +41,12 @@ This package contains development files for %{name}
%install
%cmake_install
%files -n %{libname}
%files
%license LICENSE.txt
%doc AUTHORS.md README.md
%{_libdir}/lib%{name}.so.%{major}{,.*}
%{_libdir}/lib%{name}.so.*
%files -n %{develname}
%files devel
%doc README.md CHANGELOG.md
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
@ -71,6 +55,9 @@ This package contains development files for %{name}
%changelog
* Fri May 31 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.1.1-3.inferit
- Clean up spec
* Thu May 30 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> 1.1.1-2.inferit
- Rebuilt for MSVSphere 9.4

Loading…
Cancel
Save