]> git.pld-linux.org Git - packages/libsrtp2.git/blame - libsrtp2.spec
- updated to 2.5.0
[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
af9c6177 4Version: 2.5.0
e4b721b6 5Release: 1
800158d4
JB
6License: BSD
7Group: Libraries
a3f103ad 8#Source0Download: https://github.com/cisco/libsrtp/releases
d6631e47 9Source0: https://github.com/cisco/libsrtp/archive/v%{version}/libsrtp-%{version}.tar.gz
af9c6177 10# Source0-md5: 740557a07928be1886822ce307736e89
742469a6 11Patch0: test-build.patch
7923a210 12URL: https://github.com/cisco/libsrtp
a3f103ad 13BuildRequires: autoconf >= 2.50
14f1bb99 14BuildRequires: automake
943e4e6f 15BuildRequires: doxygen
d6631e47 16BuildRequires: libpcap-devel
e4b721b6 17# also supported: nspr>=4+nss>=3 or mbedtls (the last only in cmake build)
af9c6177 18BuildRequires: openssl-devel >= 1.1.0
d6631e47 19BuildRequires: pkgconfig
e4b721b6 20BuildRequires: rpm-build >= 4.6
d6631e47 21BuildRequires: zlib-devel
af9c6177 22Requires: openssl >= 1.1.0
e4b721b6 23Obsoletes: srtp < 2
800158d4
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The libSRTP library is an open-source implementation of Secure
28Real-time Transport Protocol (SRTP).
29
e38dbde8
JR
30%description -l pl.UTF-8
31Biblioteka libSRTP to otwarta implementacja protokołu SRTP (Secure
800158d4
JB
32Real-time Transport Protocol).
33
34%package devel
35Summary: Header files for SRTP library
bc75e517 36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SRTP
800158d4
JB
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
d6631e47 39Requires: libpcap-devel
af9c6177 40Requires: openssl-devel >= 1.1.0
d6631e47 41Requires: zlib-devel
e4b721b6 42Obsoletes: srtp-devel < 2
800158d4
JB
43
44%description devel
45Header files for SRTP library.
46
e38dbde8
JR
47%description devel -l pl.UTF-8
48Pliki nagłówkowe biblioteki SRTP.
800158d4
JB
49
50%package static
51Summary: Static SRTP library
bc75e517 52Summary(pl.UTF-8): Statyczna biblioteka SRTP
800158d4
JB
53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
e4b721b6 55Obsoletes: srtp-static < 2
800158d4
JB
56
57%description static
58Static SRTP library.
59
e38dbde8 60%description static -l pl.UTF-8
800158d4
JB
61Statyczna biblioteka SRTP.
62
a3f103ad
JB
63%package apidocs
64Summary: API documentation for SRTP library
65Summary(pl.UTF-8): Dokumentacja API biblioteki SRTP
66Group: Documentation
a3f103ad 67BuildArch: noarch
a3f103ad
JB
68
69%description apidocs
70API documentation for SRTP library.
71
72%description apidocs -l pl.UTF-8
73Dokumentacja API biblioteki SRTP.
74
800158d4 75%prep
d6631e47 76%setup -q -n libsrtp-%{version}
742469a6 77%patch0 -p1
800158d4
JB
78
79%build
14f1bb99 80%{__aclocal}
800158d4
JB
81%{__autoconf}
82%{__autoheader}
742469a6 83cp -a /usr/share/automake/ar-lib .
5e59555a 84%configure \
d6631e47
JB
85 --enable-openssl
86
87%{__make} shared_library
88%{__make} all
943e4e6f 89%{__make} libsrtp2doc
800158d4
JB
90
91%install
92rm -rf $RPM_BUILD_ROOT
e4b721b6 93
800158d4
JB
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%post -p /sbin/ldconfig
101%postun -p /sbin/ldconfig
102
103%files
104%defattr(644,root,root,755)
43fb5af7 105%doc CHANGES LICENSE README.md
943e4e6f 106%attr(755,root,root) %{_libdir}/libsrtp2.so.1
800158d4
JB
107
108%files devel
109%defattr(644,root,root,755)
943e4e6f
JB
110%attr(755,root,root) %{_libdir}/libsrtp2.so
111%{_pkgconfigdir}/libsrtp2.pc
112%{_includedir}/srtp2
800158d4
JB
113
114%files static
115%defattr(644,root,root,755)
943e4e6f 116%{_libdir}/libsrtp2.a
a3f103ad
JB
117
118%files apidocs
119%defattr(644,root,root,755)
120%doc doc/html/*
This page took 0.227082 seconds and 4 git commands to generate.