]> git.pld-linux.org Git - packages/webrtc-audio-processing.git/blob - webrtc-audio-processing.spec
- x32 rebuild
[packages/webrtc-audio-processing.git] / webrtc-audio-processing.spec
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
7 Summary(pl.UTF-8):      Biblioteka WebRTC Audio Processing
8 Name:           webrtc-audio-processing
9 Version:        0.1
10 Release:        2
11 License:        BSD
12 Group:          Libraries
13 Source0:        http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
14 # Source0-md5:  da25bb27812c8404060d4cc0dc712f04
15 Patch0:         link.patch
16 URL:            http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
17 BuildRequires:  autoconf >= 2.50
18 BuildRequires:  automake
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRequires:  tar >= 1:1.22
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
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
39 %package devel
40 Summary:        Header files for WebRTC Audio Processing library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki WebRTC Audio Processing
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       libstdc++-devel
45
46 %description devel
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.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69
70 %build
71 %{__libtoolize}
72 %{__aclocal}
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         --disable-silent-rules
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 # obsoleted by pkg-config
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.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.0
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so
102 %{_includedir}/webrtc_audio_processing
103 %{_pkgconfigdir}/webrtc-audio-processing.pc
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libwebrtc_audio_processing.a
This page took 0.053495 seconds and 4 git commands to generate.