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