]>
Commit | Line | Data |
---|---|---|
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/ | |
6 | Summary: WebRTC Audio Processing library | |
1a9d4a78 | 7 | Summary(pl.UTF-8): Biblioteka WebRTC Audio Processing |
ac8de864 | 8 | Name: webrtc-audio-processing |
6da36386 JP |
9 | Version: 0.3 |
10 | Release: 1 | |
ac8de864 ER |
11 | License: BSD |
12 | Group: Libraries | |
ac8de864 | 13 | Source0: http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz |
6da36386 | 14 | # Source0-md5: 336ae032f608e65808ac577cde0ab72c |
1a9d4a78 JB |
15 | URL: http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/ |
16 | BuildRequires: autoconf >= 2.50 | |
ac8de864 ER |
17 | BuildRequires: automake |
18 | BuildRequires: libstdc++-devel | |
19 | BuildRequires: libtool | |
1a9d4a78 | 20 | BuildRequires: tar >= 1:1.22 |
ac8de864 ER |
21 | BuildRequires: xz |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
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 | |
29 | on the web. | |
30 | ||
1a9d4a78 JB |
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. | |
37 | ||
ac8de864 | 38 | %package devel |
1a9d4a78 JB |
39 | Summary: Header files for WebRTC Audio Processing library |
40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WebRTC Audio Processing | |
ac8de864 ER |
41 | Group: Development/Libraries |
42 | Requires: %{name} = %{version}-%{release} | |
1a9d4a78 | 43 | Requires: libstdc++-devel |
ac8de864 ER |
44 | |
45 | %description devel | |
1a9d4a78 JB |
46 | This package contains the header files needed to develop programs |
47 | which make use of WebRTC Audio Processing library. | |
48 | ||
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. | |
52 | ||
53 | %package static | |
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} | |
58 | ||
59 | %description static | |
60 | Static WebRTC Audio Processing library. | |
61 | ||
62 | %description static -l pl.UTF-8 | |
63 | Biblioteka statyczna WebRTC Audio Processing. | |
ac8de864 ER |
64 | |
65 | %prep | |
66 | %setup -q | |
ac8de864 ER |
67 | |
68 | %build | |
69 | %{__libtoolize} | |
70 | %{__aclocal} | |
71 | %{__autoconf} | |
72 | %{__automake} | |
73 | %configure \ | |
1a9d4a78 | 74 | --disable-silent-rules |
ac8de864 ER |
75 | %{__make} |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
1a9d4a78 | 82 | # obsoleted by pkg-config |
ac8de864 ER |
83 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %files | |
92 | %defattr(644,root,root,755) | |
6da36386 | 93 | %doc AUTHORS COPYING NEWS webrtc/PATENTS README |
ac8de864 | 94 | %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.* |
6da36386 | 95 | %attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.1 |
ac8de864 ER |
96 | |
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
1a9d4a78 | 99 | %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so |
ac8de864 | 100 | %{_includedir}/webrtc_audio_processing |
ac8de864 | 101 | %{_pkgconfigdir}/webrtc-audio-processing.pc |
1a9d4a78 JB |
102 | |
103 | %files static | |
104 | %defattr(644,root,root,755) | |
105 | %{_libdir}/libwebrtc_audio_processing.a |