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