1 Summary: Open-source implementation of Secure Real-time Transport Protocol
2 Summary(pl.UTF-8): Otwarta implementacja protokołu Secure Real-time Transport Protocol
8 #Source0Download: https://github.com/cisco/libsrtp/releases
9 Source0: https://github.com/cisco/libsrtp/archive/v%{version}/libsrtp-%{version}.tar.gz
10 # Source0-md5: da38ee5d9c31be212a12964c22d7f795
11 Patch0: test-build.patch
12 URL: https://github.com/cisco/libsrtp
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: doxygen
16 BuildRequires: libpcap-devel
17 BuildRequires: openssl-devel >= 1.0.1
18 BuildRequires: pkgconfig
19 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The libSRTP library is an open-source implementation of Secure
25 Real-time Transport Protocol (SRTP).
27 %description -l pl.UTF-8
28 Biblioteka libSRTP to otwarta implementacja protokołu SRTP (Secure
29 Real-time Transport Protocol).
32 Summary: Header files for SRTP library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SRTP
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: libpcap-devel
37 Requires: openssl-devel >= 1.0.1
42 Header files for SRTP library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki SRTP.
48 Summary: Static SRTP library
49 Summary(pl.UTF-8): Statyczna biblioteka SRTP
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
52 Obsoletes: srtp-static
57 %description static -l pl.UTF-8
58 Statyczna biblioteka SRTP.
61 Summary: API documentation for SRTP library
62 Summary(pl.UTF-8): Dokumentacja API biblioteki SRTP
67 API documentation for SRTP library.
69 %description apidocs -l pl.UTF-8
70 Dokumentacja API biblioteki SRTP.
73 %setup -q -n libsrtp-%{version}
80 cp -a /usr/share/automake/ar-lib .
84 %{__make} shared_library
89 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
101 %doc CHANGES LICENSE README.md
102 %attr(755,root,root) %{_libdir}/libsrtp2.so.1
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libsrtp2.so
107 %{_pkgconfigdir}/libsrtp2.pc
111 %defattr(644,root,root,755)
112 %{_libdir}/libsrtp2.a
115 %defattr(644,root,root,755)