-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinphone-srtp.spec.in
58 lines (44 loc) · 1.24 KB
/
linphone-srtp.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- rpm-spec -*-
## rpmbuild options
Name: linphone-srtp
Version: 1.4.4
Release: 1%{?dist}
Summary: Secure Real-time Transport Protocol (SRTP)
Group: Applications/Communications
License: GPL
URL: http://www.linphone.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tgz
%description
SRTP is a security profile for RTP that adds confidentiality, message
authentication, and replay protection to that protocol. It is specified
in RFC 3711.
Provides: libsrtp
%package devel
Summary: Development libraries for srtp
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Libraries and headers required to develop software with srtp
%prep
%setup -qn srtp
%build
%configure
%__make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES README
%{_libdir}/*.so*
%files devel
%defattr(-,root,root)
%{_includedir}/srtp
%{_libdir}/libsrtp.a
%{_libdir}/libsrtp.so
%changelog
* Mon Jan 12 2014 Margaux Clerc <[email protected]>
- Creation of rpm for linphone