|
|
|
@ -1,17 +1,14 @@
|
|
|
|
|
%define major 1
|
|
|
|
|
%define libname %{name}-libs
|
|
|
|
|
%define develname %{name}-devel
|
|
|
|
|
|
|
|
|
|
Summary: Language recognition library
|
|
|
|
|
Name: belr
|
|
|
|
|
Version: 5.3.5
|
|
|
|
|
Release: 2%{?dist}.inferit
|
|
|
|
|
Version: 5.3.54
|
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
URL: https://linphone.org/
|
|
|
|
|
Source0: https://gitlab.linphone.org/BC/public/belr/-/archive/%{version}/belr-%{version}.tar.gz
|
|
|
|
|
# (wally) from OpenSUSE to install pkgconfig .pc file
|
|
|
|
|
Patch0: belr-fix-pkgconfig.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: cmake(BCToolbox) >= %{version}
|
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
@ -21,21 +18,18 @@ BuildRequires: pkgconfig(udev)
|
|
|
|
|
Belr aims at parsing any input formatted according to a language defined by
|
|
|
|
|
an ABNF grammar, such as the protocols standardised at IETF.
|
|
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: Language recognition library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
|
%description libs
|
|
|
|
|
Belr aims at parsing any input formatted according to a language defined by
|
|
|
|
|
an ABNF grammar, such as the protocols standardised at IETF.
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
@ -63,12 +57,12 @@ find %{buildroot} -name "*.la" -delete
|
|
|
|
|
%{_bindir}/belr-parse
|
|
|
|
|
%{_bindir}/belr-compiler
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
|
%files libs
|
|
|
|
|
%license LICENSE*
|
|
|
|
|
%doc README*
|
|
|
|
|
%{_libdir}/lib%{name}.so.%{major}{,.*}
|
|
|
|
|
%{_libdir}/lib%{name}.so.*
|
|
|
|
|
|
|
|
|
|
%files -n %{develname}
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
|
%{_libdir}/cmake/Belr/
|
|
|
|
@ -76,6 +70,10 @@ find %{buildroot} -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 31 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.3.54-1.inferit
|
|
|
|
|
- Update to 5.3.54
|
|
|
|
|
- Clean up spec
|
|
|
|
|
|
|
|
|
|
* Wed May 29 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 5.3.5-2.inferit
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|