11Vendor: Microsoft Corporation
22Distribution: Azure Linux
3- %global shortname srtp
4-
53Name: libsrtp
6- Version: 2.3 .0
7- Release: 3 %{?dist }
4+ Version: 2.6 .0
5+ Release: 1 %{?dist }
86Summary: An implementation of the Secure Real-time Transport Protocol (SRTP)
9- License: BSD
7+ License: BSD-3-Clause
108URL: https://github.com/cisco/libsrtp
119Source0: https://github.com/cisco/libsrtp/archive/v%{version }.tar.gz#/%{name}-%{version}.tar.gz
12- BuildRequires: gcc, nss-devel, libpcap-devel
13- # Fix shared lib so ldconfig doesn't complain
14- Patch0: libsrtp-2.3.0-shared-fix.patch
10+ BuildRequires: gcc
11+ BuildRequires: doxygen
12+ BuildRequires: meson
13+ BuildRequires: procps-ng
14+ BuildRequires: pkgconfig(openssl)
15+ BuildRequires: pkgconfig(libpcap)
16+ Provides: libsrtp-tools = %{version }-%{release }
17+ Obsoletes: libsrtp-tools < 2.6.0-1
1518
1619%description
1720This package provides an implementation of the Secure Real-time
@@ -21,44 +24,36 @@ a supporting cryptographic kernel.
2124%package devel
2225Summary: Development files for %{name }
2326Requires: %{name }%{?_isa } = %{version }-%{release }
24- Requires: pkgconfig
2527
2628%description devel
2729The %{name }-devel package contains libraries and header files for
2830developing applications that use %{name }.
2931
3032%prep
3133%setup -q -n %{name }-%{version }
32- %patch 0 -p1 -b .sharedfix
33-
34- %if 0%{?rhel } > 0
35- %ifarch ppc64
36- sed -i 's/-z noexecstack//' Makefile.in
37- %endif
38- %endif
3934
4035%build
41- export CFLAGS=" %{optflags} -fPIC"
42- %configure --enable-nss
43- make %{?_smp_mflags } shared_library
44-
36+ %meson -Dcrypto-library=openssl -Dcrypto-library-kdf=disabled
37+ %meson_build
4538%install
46- make install DESTDIR=%{buildroot }
47- find %{buildroot } -name ' *.la' -exec rm -f {} ' ;'
48-
49- %ldconfig_scriptlets
50-
39+ %meson_install
40+ %check
41+ %meson_test
5142%files
5243%license LICENSE
5344%doc CHANGES README.md
5445%{_libdir }/* .so.*
5546
5647%files devel
57- %{_includedir }/%{ shortname }2 /
48+ %{_includedir }/srtp2 /
5849%{_libdir }/pkgconfig/libsrtp2.pc
5950%{_libdir }/* .so
6051
6152%changelog
53+ *
Tue Nov 12 2024 Sumit Jena <[email protected] > -
2.6.0-1 54+ - Update to version 2.6.0
55+ - License verified.
56+
6257*
Fri Oct 15 2021 Pawel Winogrodzki <[email protected] > -
2.3.0-3 6358- Initial CBL-Mariner import from Fedora 32 (license: MIT).
6459
0 commit comments