source: projects/specs/trunk/lib/libs/libsrtp/libsrtp-vl.spec @ 12380

Revision 12380, 1.8 KB checked in by tomop, 3 years ago (diff)

updated 12 packages

alsa-firmware-1.2.1-1

alsa-lib-1.2.2-1

alsa-tools-1.2.2-1

alsa-utils-1.2.2-1

gstreamer1-1.16.2-1

linux-firmware-20200316-1

libsrtp-2.3.0-1

libvpx-1.8.2-1

libwebp-1.1.0-1

opus-1.3.1-1

pulseaudio-13.0-1

speex-1.2.0-2

Line 
1%global shortname srtp
2
3Summary:        Secure RTP (SRTP) and UST Reference Implementations
4Name:           libsrtp
5Version:        2.3.0
6Release:        1%{?_dist_release}
7Group:          System Environment/Libraries
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11License:        BSD
12URL:            https://github.com/cisco/libsrtp
13Source0:        https://github.com/cisco/libsrtp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
14# Fix shared lib so ldconfig doesn't complain
15Patch0:         libsrtp-2.3.0-shared-fix.patch
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19%description
20The libSRTP library is an open-source implementation of the Secure Real-time
21Transport Protocol (SRTP) originally authored by Cisco Systems, Inc.
22
23
24%package devel
25Summary:        Development environment for libsrtp
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28
29%description devel
30Header files and libraries for building a extension library for the
31libsrtp
32
33
34%prep
35%setup -q
36%patch0 -p1 -b .sharedfix
37
38
39%build
40export CFLAGS="%{optflags} -fPIC"
41%configure --disable-static
42%{__make} %{?_smp_mflags} shared_library
43
44
45%install
46%{__rm} -rf %{buildroot}
47%{__make} install DESTDIR=%{buildroot}
48find %{buildroot} -name '*.la' -exec rm -f {} ';'
49
50
51%clean
52%{__rm} -rf %{buildroot}
53
54
55%post
56/sbin/ldconfig
57
58%postun
59/sbin/ldconfig
60
61
62%files
63%license LICENSE
64%doc CHANGES README TODO VERSION doc/*.txt doc/*.pdf
65%{_libdir}/*.so.*
66
67%files devel
68%{_includedir}/*
69%{_libdir}/pkgconfig/libsrtp2.pc
70%{_libdir}/*.so
71
72
73%changelog
74* Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
75- new upstream release.
76- updated Patch0.
77- dropped Patch1-3.
78
79* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
80- new upstream release.
81
82* Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
83- initial build for Vine Linux based on fedora development
84
Note: See TracBrowser for help on using the repository browser.