Update to 5.3.54 and cleanup spec

i9m changed/i9m/bzrtp-5.3.54-1.el9.inferit
Arkady L. Shane 8 months ago
parent c9f4a8f086
commit 5e6a261964
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1 +1 @@
591aba998e6375027bc6832ee00308f12151364b SOURCES/bzrtp-5.3.5.tar.gz
5bf630b808bfbaf77cdbd6b74d039520d7f098f2 SOURCES/bzrtp-5.3.54.tar.gz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/bzrtp-5.3.5.tar.gz
SOURCES/bzrtp-5.3.54.tar.gz

@ -1,19 +1,16 @@
%define major 0
%define libname %{name}-libs
%define develname %{name}-devel
Summary: ZRTP keys exchange protocol implementation
Name: bzrtp
Version: 5.3.5
Version: 5.3.54
Release: 1%{?dist}.inferit
License: GPLv2
Group: System/Libraries
URL: https://linphone.org/
Source0: https://gitlab.linphone.org/BC/public/bzrtp/-/archive/%{version}/bzrtp-%{version}.tar.gz
# (wally) install .pc file with cmake
Patch0: bzrtp-cmake-install-pkgconfig-pc-file.patch
# (wally) fix cmake config file location
Patch1: bzrtp-cmake-config-location.patch
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: pkgconfig(bctoolbox) >= %{version}
@ -25,22 +22,11 @@ bzrtp is a FOSS implementation of ZRTP keys exchange protocol.
The library is written in C 89, is fully portable, and can be executed
on many platforms including x86 and ARM processors.
%package -n %{libname}
Summary: ZRTP keys exchange protocol implementation
Group: System/Libraries
%description -n %{libname}
bzrtp is a FOSS implementation of ZRTP keys exchange protocol.
The library is written in C 89, is fully portable, and can be executed
on many platforms including x86 and ARM processors.
%package -n %{develname}
%package devel
Summary: Development files for %{name}
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: bzrtp-devel = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description -n %{develname}
%description devel
This package contains development files for %{name}
%prep
@ -59,12 +45,12 @@ sed -i -e '/project/s/\(VERSION\)\s\+[0-9]\+\(\.[0-9]\+\)\+/\1 %{version}/' CMak
%install
%cmake_install
%files -n %{libname}
%files
%license LICENSE.txt
%doc CHANGELOG.md README.md
%{_libdir}/lib%{name}.so.%{major}{,.*}
%{_libdir}/lib%{name}.so.*
%files -n %{develname}
%files devel
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
@ -72,6 +58,10 @@ sed -i -e '/project/s/\(VERSION\)\s\+[0-9]\+\(\.[0-9]\+\)\+/\1 %{version}/' CMak
%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
* Thu May 30 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 5.3.5-1.inferit
- Rebuilt for MSVSphere 9.4

Loading…
Cancel
Save