]> git.pld-linux.org Git - packages/libsrtp2.git/blame - libsrtp2.spec
- updated to 2.1.0 (note: AES 256 ICM/AES GCM ciphers for RTCP are compatible with...
[packages/libsrtp2.git] / libsrtp2.spec
CommitLineData
800158d4 1Summary: Open-source implementation of Secure Real-time Transport Protocol
bc75e517 2Summary(pl.UTF-8): Otwarta implementacja protokołu Secure Real-time Transport Protocol
943e4e6f 3Name: libsrtp2
43fb5af7 4Version: 2.1.0
7923a210 5Release: 1
800158d4
JB
6License: BSD
7Group: Libraries
d6631e47 8Source0: https://github.com/cisco/libsrtp/archive/v%{version}/libsrtp-%{version}.tar.gz
43fb5af7 9# Source0-md5: 49e2b9973c6fe77de46100e4c9547426
7923a210 10URL: https://github.com/cisco/libsrtp
800158d4 11BuildRequires: autoconf
14f1bb99 12BuildRequires: automake
943e4e6f 13BuildRequires: doxygen
d6631e47
JB
14BuildRequires: libpcap-devel
15BuildRequires: openssl-devel >= 1.0.1
16BuildRequires: pkgconfig
17BuildRequires: zlib-devel
800158d4
JB
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21The libSRTP library is an open-source implementation of Secure
22Real-time Transport Protocol (SRTP).
23
e38dbde8
JR
24%description -l pl.UTF-8
25Biblioteka libSRTP to otwarta implementacja protokołu SRTP (Secure
800158d4
JB
26Real-time Transport Protocol).
27
28%package devel
29Summary: Header files for SRTP library
bc75e517 30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SRTP
800158d4
JB
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
d6631e47
JB
33Requires: libpcap-devel
34Requires: openssl-devel >= 1.0.1
35Requires: zlib-devel
800158d4
JB
36
37%description devel
38Header files for SRTP library.
39
e38dbde8
JR
40%description devel -l pl.UTF-8
41Pliki nagłówkowe biblioteki SRTP.
800158d4
JB
42
43%package static
44Summary: Static SRTP library
bc75e517 45Summary(pl.UTF-8): Statyczna biblioteka SRTP
800158d4
JB
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static SRTP library.
51
e38dbde8 52%description static -l pl.UTF-8
800158d4
JB
53Statyczna biblioteka SRTP.
54
55%prep
d6631e47 56%setup -q -n libsrtp-%{version}
800158d4
JB
57
58%build
14f1bb99 59%{__aclocal}
800158d4
JB
60%{__autoconf}
61%{__autoheader}
5e59555a 62%configure \
d6631e47
JB
63 --enable-openssl
64
65%{__make} shared_library
66%{__make} all
943e4e6f 67%{__make} libsrtp2doc
800158d4
JB
68
69%install
70rm -rf $RPM_BUILD_ROOT
800158d4
JB
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
80%files
81%defattr(644,root,root,755)
43fb5af7 82%doc CHANGES LICENSE README.md
943e4e6f 83%attr(755,root,root) %{_libdir}/libsrtp2.so.1
800158d4
JB
84
85%files devel
86%defattr(644,root,root,755)
43fb5af7 87%doc doc/html/*
943e4e6f
JB
88%attr(755,root,root) %{_libdir}/libsrtp2.so
89%{_pkgconfigdir}/libsrtp2.pc
90%{_includedir}/srtp2
800158d4
JB
91
92%files static
93%defattr(644,root,root,755)
943e4e6f 94%{_libdir}/libsrtp2.a
This page took 0.598848 seconds and 4 git commands to generate.