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/
8 %bcond_without neon # without ARM NEON instructions
10 %ifnarch armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64
14 Summary: WebRTC Audio Processing library
15 Summary(pl.UTF-8): Biblioteka WebRTC Audio Processing
16 Name: webrtc-audio-processing
17 # keep 0.x here; for versions >= 1 (parallel installable with 0.x) see webrtc-audio-processing1.spec
22 Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
23 # Source0-md5: 6e10724ca34bcbc715a4c208273acb0c
24 URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
25 BuildRequires: autoconf >= 2.50
26 BuildRequires: automake >= 1:1.11
27 BuildRequires: libstdc++-devel >= 6:4.7
28 BuildRequires: libtool
29 BuildRequires: tar >= 1:1.22
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 WebRTC is an open source project that enables web browsers with
35 Real-Time Communications (RTC) capabilities via simple Javascript
36 APIs. The WebRTC components have been optimized to best serve this
37 purpose. WebRTC implements the W3C's proposal for video conferencing
40 %description -l pl.UTF-8
41 WebRTC to projekt o otwartych źródłach dodający obsługę komunikacji
42 w czasie rzeczywistym (RTC - Real-Time Communications) poprzez proste
43 API JavaScriptu. Komponenty WebRTC zostały zoptymalizowane, aby jak
44 najlepiej sprawdzały się w tym zastosowaniu. WebRTC implementuje
45 propozycje W3C do wideokonferencji w sieci.
48 Summary: Header files for WebRTC Audio Processing library
49 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WebRTC Audio Processing
50 Group: Development/Libraries
51 Requires: %{name} = %{version}-%{release}
52 Requires: libstdc++-devel
55 This package contains the header files needed to develop programs
56 which make use of WebRTC Audio Processing library.
58 %description devel -l pl.UTF-8
59 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
60 wykorzystujących bibliotekę WebRTC Audio Processing.
63 Summary: Static WebRTC Audio Processing library
64 Summary(pl.UTF-8): Biblioteka statyczna WebRTC Audio Processing
65 Group: Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
69 Static WebRTC Audio Processing library.
71 %description static -l pl.UTF-8
72 Biblioteka statyczna WebRTC Audio Processing.
83 %{!?with_neon:--disable-neon} \
84 --disable-silent-rules
88 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 # obsoleted by pkg-config
93 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc AUTHORS COPYING NEWS README.md webrtc/PATENTS
104 %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.1
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so
110 %{_includedir}/webrtc_audio_processing
111 %{_pkgconfigdir}/webrtc-audio-processing.pc
114 %defattr(644,root,root,755)
115 %{_libdir}/libwebrtc_audio_processing.a