2016-11-22 00:16:22 +01:00
|
|
|
#
|
2017-08-01 14:35:16 +02:00
|
|
|
# spec file for package libsrtp2
|
2016-11-22 00:16:22 +01:00
|
|
|
#
|
2023-02-01 12:27:13 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-11-22 00:16:22 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-15 07:06:59 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-11-22 00:16:22 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libsrtp2
|
|
|
|
%define lname libsrtp2-1
|
2023-02-01 12:27:13 +01:00
|
|
|
Version: 2.5.0
|
2016-11-22 00:16:22 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Secure Real-Time Transport Protocol (SRTP) library v2
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-15 07:06:59 +02:00
|
|
|
URL: https://github.com/cisco/libsrtp
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
Source: https://github.com/cisco/libsrtp/archive/v%version.tar.gz
|
|
|
|
Source99: baselibs.conf
|
2023-04-26 00:15:35 +02:00
|
|
|
Patch1: libsrtp2-test-verbose.patch
|
|
|
|
BuildRequires: libpcap-devel
|
2016-11-22 00:16:22 +01:00
|
|
|
BuildRequires: pkg-config
|
2023-04-26 00:15:35 +02:00
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: pkgconfig(openssl) >= 1.1.0
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
%description
|
2023-04-26 00:15:35 +02:00
|
|
|
libsrtp is Cisco's implementation of the Secure Real-time Transport
|
|
|
|
Protocol (SRTP), the Universal Security Transform (UST), +and a
|
|
|
|
supporting cryptographic kernel.
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Secure Real-Time Transport Protocol (SRTP) library v2
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
2023-04-26 00:15:35 +02:00
|
|
|
libsrtp is Cisco's implementation of the Secure Real-time Transport
|
|
|
|
Protocol (SRTP), the Universal Security Transform (UST), +and a
|
|
|
|
supporting cryptographic kernel.
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
SRTP is a security profile for RTP that adds confidentiality, message
|
|
|
|
authentication, and replay protection to that protocol. It is
|
|
|
|
specified in RFC 3711. More information about the SRTP protocol
|
|
|
|
itself can be found on the Secure RTP page.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Secure Real-Time Transport Protocol (SRTP) library v2
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
2023-04-26 00:15:35 +02:00
|
|
|
libsrtp is Cisco's implementation of the Secure Real-time Transport
|
|
|
|
Protocol (SRTP), the Universal Security Transform (UST), +and a
|
|
|
|
supporting cryptographic kernel.
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
This subpackage contains the development headers.
|
|
|
|
|
|
|
|
%prep
|
2023-04-26 00:15:35 +02:00
|
|
|
%autosetup -p1 -n libsrtp-%version
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-openssl
|
2020-09-06 15:13:05 +02:00
|
|
|
%make_build shared_library
|
2016-11-22 00:16:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2023-04-26 00:15:35 +02:00
|
|
|
%check
|
2023-04-26 11:16:36 +02:00
|
|
|
%make_build runtest
|
2023-04-26 00:15:35 +02:00
|
|
|
|
2016-11-22 00:16:22 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%_libdir/libsrtp2.so.1
|
|
|
|
|
|
|
|
%files devel
|
2020-09-06 15:13:05 +02:00
|
|
|
%doc CHANGES README.md doc/*.txt
|
|
|
|
%license LICENSE
|
2016-11-22 00:16:22 +01:00
|
|
|
%_includedir/srtp2/
|
|
|
|
%_libdir/libsrtp2.so
|
|
|
|
%_libdir/pkgconfig/libsrtp2.pc
|
|
|
|
|
|
|
|
%changelog
|