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/
6 Summary: WebRTC Audio Processing library
7 Summary(pl.UTF-8): Biblioteka WebRTC Audio Processing
8 Name: webrtc-audio-processing
13 Source0: http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
14 # Source0-md5: da25bb27812c8404060d4cc0dc712f04
16 URL: http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
17 BuildRequires: autoconf >= 2.50
18 BuildRequires: automake
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool
21 BuildRequires: tar >= 1:1.22
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 WebRTC is an open source project that enables web browsers with
27 Real-Time Communications (RTC) capabilities via simple Javascript
28 APIs. The WebRTC components have been optimized to best serve this
29 purpose. WebRTC implements the W3C's proposal for video conferencing
32 %description -l pl.UTF-8
33 WebRTC to projekt o otwartych źródłach dodający obsługę komunikacji
34 w czasie rzeczywistym (RTC - Real-Time Communications) poprzez proste
35 API JavaScriptu. Komponenty WebRTC zostały zoptymalizowane, aby jak
36 najlepiej sprawdzały się w tym zastosowaniu. WebRTC implementuje
37 propozycje W3C do wideokonferencji w sieci.
40 Summary: Header files for WebRTC Audio Processing library
41 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WebRTC Audio Processing
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: libstdc++-devel
47 This package contains the header files needed to develop programs
48 which make use of WebRTC Audio Processing library.
50 %description devel -l pl.UTF-8
51 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
52 wykorzystujących bibliotekę WebRTC Audio Processing.
55 Summary: Static WebRTC Audio Processing library
56 Summary(pl.UTF-8): Biblioteka statyczna WebRTC Audio Processing
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
61 Static WebRTC Audio Processing library.
63 %description static -l pl.UTF-8
64 Biblioteka statyczna WebRTC Audio Processing.
76 --disable-silent-rules
80 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
84 # obsoleted by pkg-config
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
95 %doc AUTHORS COPYING NEWS PATENTS README
96 %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.0
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so
102 %{_includedir}/webrtc_audio_processing
103 %{_pkgconfigdir}/webrtc-audio-processing.pc
106 %defattr(644,root,root,755)
107 %{_libdir}/libwebrtc_audio_processing.a