From 0f467ab1971eb70fd05838c12ba31f12677ac7a8 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 31 May 2024 13:01:41 +0300 Subject: [PATCH] Update to 5.3.54 and cleanup spec --- .gitignore | 2 +- .ortp.metadata | 2 +- SPECS/ortp.spec | 54 +++++++++++++++++++------------------------------ 3 files changed, 23 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 9894639..6522b0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ortp-5.3.5.tar.gz +SOURCES/ortp-5.3.54.tar.gz diff --git a/.ortp.metadata b/.ortp.metadata index 4bb29c3..dc07360 100644 --- a/.ortp.metadata +++ b/.ortp.metadata @@ -1 +1 @@ -127f37de9d5c1b7ddd7f384c0100858cc0ff56df SOURCES/ortp-5.3.5.tar.gz +c8f854d16abae6125408c3ebcde3eccd57100515 SOURCES/ortp-5.3.54.tar.gz diff --git a/SPECS/ortp.spec b/SPECS/ortp.spec index c46557c..61f8634 100644 --- a/SPECS/ortp.spec +++ b/SPECS/ortp.spec @@ -1,18 +1,15 @@ -%define major 15 -%define libname %{name}-libs -%define libnamedev %{name}-devel - -Summary: Real-time Transport Protocol Stack -Name: ortp -Version: 5.3.5 -Release: 1%{?dist}.inferit -License: LGPLv2+ -Group: Networking/Other -URL: https://linphone.org/technical-corner/ortp -Source0: https://gitlab.linphone.org/BC/public/ortp/-/archive/%{version}/ortp-%{version}.tar.gz +Summary: Real-time Transport Protocol Stack +Name: ortp +Version: 5.3.54 +Release: 1%{?dist}.inferit + +License: LGPLv2+ +URL: https://linphone.org/technical-corner/ortp +Source0: https://gitlab.linphone.org/BC/public/ortp/-/archive/%{version}/ortp-%{version}.tar.gz # (wally) fix pkconfig pc file when cmake is used -Patch0: ortp-cmake-fix-pkgconfig-pc-file.patch -Patch1: ortp-CMake-modules-install-dir.patch +Patch0: ortp-cmake-fix-pkgconfig-pc-file.patch +Patch1: ortp-CMake-modules-install-dir.patch + BuildRequires: cmake BuildRequires: ninja-build BuildRequires: pkgconfig(bctoolbox) >= %{version} @@ -23,24 +20,11 @@ oRTP is a LGPL licensed C library implementing the RTP protocol (RFC1889). It is available for most unix clones (primarily Linux and HP-UX), and Microsoft Windows. -%package -n %{libname} -Summary: Real-time Transport Protocol Stack -Group: System/Libraries - - -%description -n %{libname} -oRTP is a LGPL licensed C library implementing the RTP protocol -(RFC1889). It is available for most unix clones (primarily Linux and -HP-UX), and Microsoft Windows. - -%package -n %{libnamedev} +%package devel Summary: Headers, libraries and docs for the oRTP library -Group: Development/Other -Provides: %{name}-devel = %{version}-%{release} -Provides: lib%{name}-devel = %{version}-%{release} -Requires: %{libname} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} -%description -n %{libnamedev} +%description devel oRTP is a LGPL licensed C library implementing the RTP protocol (RFC1889). It is available for most unix clones (primarily Linux and HP-UX), and Microsoft Windows. @@ -71,12 +55,12 @@ sed -i -e '/project/s/\(VERSION\)\s\+[0-9]\+\(\.[0-9]\+\)\+/\1 %{version}/' CMak #handle docs in file section rm -rf %{buildroot}%{_docdir} -%files -n %{libname} +%files %license LICENSE* %doc AUTHORS* CHANGELOG* README* -%{_libdir}/*.so.%{major}{,.*} +%{_libdir}/*.so.* -%files -n %{libnamedev} +%files devel %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/%{name}/ @@ -84,6 +68,10 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Fri May 31 2024 Arkady L. Shane - 5.3.54-1.inferit +- Update to 5.3.54 +- Clean up spec + * Thu May 30 2024 Sergey Cherevko - 5.3.5-1.inferit - Rebuilt for MSVSphere 9.4