|
|
@ -1,18 +1,15 @@
|
|
|
|
%define major 15
|
|
|
|
|
|
|
|
%define libname %{name}-libs
|
|
|
|
|
|
|
|
%define libnamedev %{name}-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Real-time Transport Protocol Stack
|
|
|
|
Summary: Real-time Transport Protocol Stack
|
|
|
|
Name: ortp
|
|
|
|
Name: ortp
|
|
|
|
Version: 5.3.5
|
|
|
|
Version: 5.3.54
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: Networking/Other
|
|
|
|
|
|
|
|
URL: https://linphone.org/technical-corner/ortp
|
|
|
|
URL: https://linphone.org/technical-corner/ortp
|
|
|
|
Source0: https://gitlab.linphone.org/BC/public/ortp/-/archive/%{version}/ortp-%{version}.tar.gz
|
|
|
|
Source0: https://gitlab.linphone.org/BC/public/ortp/-/archive/%{version}/ortp-%{version}.tar.gz
|
|
|
|
# (wally) fix pkconfig pc file when cmake is used
|
|
|
|
# (wally) fix pkconfig pc file when cmake is used
|
|
|
|
Patch0: ortp-cmake-fix-pkgconfig-pc-file.patch
|
|
|
|
Patch0: ortp-cmake-fix-pkgconfig-pc-file.patch
|
|
|
|
Patch1: ortp-CMake-modules-install-dir.patch
|
|
|
|
Patch1: ortp-CMake-modules-install-dir.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: pkgconfig(bctoolbox) >= %{version}
|
|
|
|
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
|
|
|
|
(RFC1889). It is available for most unix clones (primarily Linux and
|
|
|
|
HP-UX), and Microsoft Windows.
|
|
|
|
HP-UX), and Microsoft Windows.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
%package devel
|
|
|
|
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}
|
|
|
|
|
|
|
|
Summary: Headers, libraries and docs for the oRTP library
|
|
|
|
Summary: Headers, libraries and docs for the oRTP library
|
|
|
|
Group: Development/Other
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
Provides: lib%{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{libnamedev}
|
|
|
|
%description devel
|
|
|
|
oRTP is a LGPL licensed C library implementing the RTP protocol
|
|
|
|
oRTP is a LGPL licensed C library implementing the RTP protocol
|
|
|
|
(RFC1889). It is available for most unix clones (primarily Linux and
|
|
|
|
(RFC1889). It is available for most unix clones (primarily Linux and
|
|
|
|
HP-UX), and Microsoft Windows.
|
|
|
|
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
|
|
|
|
#handle docs in file section
|
|
|
|
rm -rf %{buildroot}%{_docdir}
|
|
|
|
rm -rf %{buildroot}%{_docdir}
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%files
|
|
|
|
%license LICENSE*
|
|
|
|
%license LICENSE*
|
|
|
|
%doc AUTHORS* CHANGELOG* README*
|
|
|
|
%doc AUTHORS* CHANGELOG* README*
|
|
|
|
%{_libdir}/*.so.%{major}{,.*}
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{libnamedev}
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_includedir}/%{name}/
|
|
|
@ -84,6 +68,10 @@ rm -rf %{buildroot}%{_docdir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Thu May 30 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 5.3.5-1.inferit
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|
|
|