You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.5 KiB
99 lines
2.5 KiB
%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
|
|
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
|
|
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 %{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}
|
|
Summary: Development files for %{name}
|
|
Group: Development/C
|
|
Requires: %{libname} = %{version}-%{release}
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
%description -n %{develname}
|
|
This package contains development files for %{name}
|
|
|
|
%prep
|
|
%setup -q
|
|
%autopatch -p1
|
|
|
|
%build
|
|
%cmake \
|
|
-DENABLE_STATIC:BOOL=NO \
|
|
-DENABLE_STRICT:BOOL=NO \
|
|
-DCONFIG_PACKAGE_LOCATION:PATH=%{_libdir}/cmake/Bcg729
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files -n %{libname}
|
|
%license LICENSE.txt
|
|
%doc AUTHORS.md README.md
|
|
%{_libdir}/lib%{name}.so.%{major}{,.*}
|
|
|
|
%files -n %{develname}
|
|
%doc README.md CHANGELOG.md
|
|
%{_includedir}/%{name}/
|
|
%{_libdir}/lib%{name}.so
|
|
%{_libdir}/cmake/Bcg729/
|
|
%{_libdir}/pkgconfig/lib%{name}.pc
|
|
|
|
|
|
%changelog
|
|
* Thu May 30 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> 1.1.1-2.inferit
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
* Thu Mar 17 2022 umeabot <umeabot> 1.1.1-2.mga9
|
|
+ Revision: 1795377
|
|
- Mageia 9 Mass Rebuild
|
|
|
|
* Mon Nov 23 2020 wally <wally> 1.1.1-1.mga8
|
|
+ Revision: 1648751
|
|
- new version 1.1.1
|
|
|
|
* Wed Feb 12 2020 umeabot <umeabot> 1.0.4-3.mga8
|
|
+ Revision: 1510666
|
|
- Mageia 8 Mass Rebuild
|
|
+ wally <wally>
|
|
- build with new cmake macros
|
|
|
|
* Fri Sep 21 2018 umeabot <umeabot> 1.0.4-2.mga7
|
|
+ Revision: 1295350
|
|
- Mageia 7 Mass Rebuild
|
|
|
|
* Sun Dec 31 2017 wally <wally> 1.0.4-1.mga7
|
|
+ Revision: 1188374
|
|
- imported package bcg729
|
|
|