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