]> git.pld-linux.org Git - packages/webrtc-audio-processing.git/blame - webrtc-audio-processing.spec
disable neon on not applicable archs
[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/
902b8ee7
JP
6#
7# Conditional build:
8%bcond_without neon # without ARM NEON instructions
9
10%ifnarch armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64
11%undefine with_neon
12%endif
13
ac8de864 14Summary: WebRTC Audio Processing library
1a9d4a78 15Summary(pl.UTF-8): Biblioteka WebRTC Audio Processing
ac8de864 16Name: webrtc-audio-processing
7e62f716 17Version: 0.3.1
6da36386 18Release: 1
ac8de864
ER
19License: BSD
20Group: Libraries
97029a09 21Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
7e62f716 22# Source0-md5: 6e10724ca34bcbc715a4c208273acb0c
97029a09 23URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
1a9d4a78 24BuildRequires: autoconf >= 2.50
7e62f716 25BuildRequires: automake >= 1:1.11
97029a09 26BuildRequires: libstdc++-devel >= 6:4.7
ac8de864 27BuildRequires: libtool
1a9d4a78 28BuildRequires: tar >= 1:1.22
ac8de864
ER
29BuildRequires: xz
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33WebRTC is an open source project that enables web browsers with
34Real-Time Communications (RTC) capabilities via simple Javascript
35APIs. The WebRTC components have been optimized to best serve this
36purpose. WebRTC implements the W3C's proposal for video conferencing
37on the web.
38
1a9d4a78
JB
39%description -l pl.UTF-8
40WebRTC to projekt o otwartych źródłach dodający obsługę komunikacji
41w czasie rzeczywistym (RTC - Real-Time Communications) poprzez proste
42API JavaScriptu. Komponenty WebRTC zostały zoptymalizowane, aby jak
43najlepiej sprawdzały się w tym zastosowaniu. WebRTC implementuje
44propozycje W3C do wideokonferencji w sieci.
45
ac8de864 46%package devel
1a9d4a78
JB
47Summary: Header files for WebRTC Audio Processing library
48Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WebRTC Audio Processing
ac8de864
ER
49Group: Development/Libraries
50Requires: %{name} = %{version}-%{release}
1a9d4a78 51Requires: libstdc++-devel
ac8de864
ER
52
53%description devel
1a9d4a78
JB
54This package contains the header files needed to develop programs
55which make use of WebRTC Audio Processing library.
56
57%description devel -l pl.UTF-8
58Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
59wykorzystujących bibliotekę WebRTC Audio Processing.
60
61%package static
62Summary: Static WebRTC Audio Processing library
63Summary(pl.UTF-8): Biblioteka statyczna WebRTC Audio Processing
64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
66
67%description static
68Static WebRTC Audio Processing library.
69
70%description static -l pl.UTF-8
71Biblioteka statyczna WebRTC Audio Processing.
ac8de864
ER
72
73%prep
74%setup -q
ac8de864
ER
75
76%build
77%{__libtoolize}
78%{__aclocal}
79%{__autoconf}
80%{__automake}
81%configure \
902b8ee7 82 %{!?with_neon:--disable-neon} \
1a9d4a78 83 --disable-silent-rules
ac8de864
ER
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
1a9d4a78 91# obsoleted by pkg-config
ac8de864
ER
92%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
100%files
101%defattr(644,root,root,755)
7e62f716 102%doc AUTHORS COPYING NEWS README.md webrtc/PATENTS
ac8de864 103%attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.*
6da36386 104%attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.1
ac8de864
ER
105
106%files devel
107%defattr(644,root,root,755)
1a9d4a78 108%attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so
ac8de864 109%{_includedir}/webrtc_audio_processing
ac8de864 110%{_pkgconfigdir}/webrtc-audio-processing.pc
1a9d4a78
JB
111
112%files static
113%defattr(644,root,root,755)
114%{_libdir}/libwebrtc_audio_processing.a
This page took 0.082794 seconds and 4 git commands to generate.