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