]> git.pld-linux.org Git - SPECS.git/blob - libsrtp2.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libsrtp2.spec
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
3 Name:           libsrtp2
4 Version:        2.3.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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 URL:            https://github.com/cisco/libsrtp
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  doxygen
15 BuildRequires:  libpcap-devel
16 BuildRequires:  openssl-devel >= 1.0.1
17 BuildRequires:  pkgconfig
18 BuildRequires:  zlib-devel
19 Obsoletes:      srtp
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The libSRTP library is an open-source implementation of Secure
24 Real-time Transport Protocol (SRTP).
25
26 %description -l pl.UTF-8
27 Biblioteka libSRTP to otwarta implementacja protokołu SRTP (Secure
28 Real-time Transport Protocol).
29
30 %package devel
31 Summary:        Header files for SRTP library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki SRTP
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       libpcap-devel
36 Requires:       openssl-devel >= 1.0.1
37 Requires:       zlib-devel
38 Obsoletes:      srtp-devel
39
40 %description devel
41 Header files for SRTP library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki SRTP.
45
46 %package static
47 Summary:        Static SRTP library
48 Summary(pl.UTF-8):      Statyczna biblioteka SRTP
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51 Obsoletes:      srtp-static
52
53 %description static
54 Static SRTP library.
55
56 %description static -l pl.UTF-8
57 Statyczna biblioteka SRTP.
58
59 %package apidocs
60 Summary:        API documentation for SRTP library
61 Summary(pl.UTF-8):      Dokumentacja API biblioteki SRTP
62 Group:          Documentation
63 BuildArch:      noarch
64
65 %description apidocs
66 API documentation for SRTP library.
67
68 %description apidocs -l pl.UTF-8
69 Dokumentacja API biblioteki SRTP.
70
71 %prep
72 %setup -q -n libsrtp-%{version}
73
74 %build
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %configure \
79         --enable-openssl
80
81 %{__make} shared_library
82 %{__make} all
83 %{__make} libsrtp2doc
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc CHANGES LICENSE README.md
99 %attr(755,root,root) %{_libdir}/libsrtp2.so.1
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libsrtp2.so
104 %{_pkgconfigdir}/libsrtp2.pc
105 %{_includedir}/srtp2
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/libsrtp2.a
110
111 %files apidocs
112 %defattr(644,root,root,755)
113 %doc doc/html/*
This page took 0.405497 seconds and 3 git commands to generate.