]> git.pld-linux.org Git - packages/webrtc-audio-processing.git/blame - webrtc-audio-processing.spec
- new, based on altlinux package
[packages/webrtc-audio-processing.git] / webrtc-audio-processing.spec
CommitLineData
ac8de864
ER
1# NOTE:
2# f.d.o source is meant to be a more Linux packaging friendly copy of the
3# AudioProcessing module from the WebRTC[1] project. The ideal case is that we
4# make no changes to the code to make tracking upstream code easy.
5# [1] http://code.google.com/p/webrtc/
6Summary: WebRTC Audio Processing library
7Name: webrtc-audio-processing
8Version: 0.1
9Release: 1
10License: BSD
11Group: Libraries
12URL: http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
13Source0: http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
14# Source0-md5: da25bb27812c8404060d4cc0dc712f04
15Patch0: link.patch
16BuildRequires: autoconf
17BuildRequires: automake
18BuildRequires: libstdc++-devel
19BuildRequires: libtool
20BuildRequires: xz
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24WebRTC is an open source project that enables web browsers with
25Real-Time Communications (RTC) capabilities via simple Javascript
26APIs. The WebRTC components have been optimized to best serve this
27purpose. WebRTC implements the W3C's proposal for video conferencing
28on the web.
29
30%package devel
31Summary: WebRTC Audio Processing library and header files
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36This contains the libraries and header files needed to develop
37programs which make use of webrtc-audio-processing.
38
39%prep
40%setup -q
41%patch0 -p1
42
43%build
44%{__libtoolize}
45%{__aclocal}
46%{__autoconf}
47%{__automake}
48%configure \
49 --disable-silent-rules \
50 --disable-static
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%post -p /sbin/ldconfig
64%postun -p /sbin/ldconfig
65
66%files
67%defattr(644,root,root,755)
68%doc AUTHORS COPYING NEWS PATENTS README
69%attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.*
70%{_libdir}/libwebrtc_audio_processing.so.0
71
72%files devel
73%defattr(644,root,root,755)
74%{_includedir}/webrtc_audio_processing
75%{_libdir}/libwebrtc_audio_processing.so
76%{_pkgconfigdir}/webrtc-audio-processing.pc
This page took 0.078913 seconds and 4 git commands to generate.