Update to 5.3.54 and cleanup spec

i9m changed/i9m/ortp-5.3.54-1.el9.inferit
Arkady L. Shane 8 months ago
parent 488c8c902b
commit 0f467ab197
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

2
.gitignore vendored

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

@ -1 +1 @@
127f37de9d5c1b7ddd7f384c0100858cc0ff56df SOURCES/ortp-5.3.5.tar.gz
c8f854d16abae6125408c3ebcde3eccd57100515 SOURCES/ortp-5.3.54.tar.gz

@ -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 <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