Blame SPECS/webrtc-audio-processing.spec

32acd5
Name:           webrtc-audio-processing
32acd5
Version:        0.1
998f3c
Release:        5%{?dist}
32acd5
Summary:        Library for echo cancellation
32acd5
32acd5
License:        BSD
32acd5
URL:            http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
32acd5
Source0:        http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
998f3c
Patch0:         webrtc-fix-typedefs-on-other-arches.patch
32acd5
32acd5
%description
32acd5
%{name} is a library derived from Google WebRTC project that 
32acd5
provides echo cancellation functionality. This library is used by for example
32acd5
PulseAudio to provide echo cancellation.
32acd5
32acd5
%package        devel
32acd5
Summary:        Development files for %{name}
32acd5
Group:          Development/Libraries
32acd5
Requires:       %{name}%{?_isa} = %{version}-%{release}
32acd5
32acd5
%description    devel
32acd5
The %{name}-devel package contains libraries and header
32acd5
files for developing applications that use %{name}.
32acd5
32acd5
%prep
32acd5
%setup -q
998f3c
%patch0 -p1 -b .typedef
32acd5
32acd5
%build
32acd5
%configure                                                              \
32acd5
  --with-package-name='Fedora Webrtc-audio-processing package'                        \
32acd5
  --with-package-origin='http://download.fedoraproject.org'             \
32acd5
  --disable-static
32acd5
make %{?_smp_mflags}
32acd5
32acd5
32acd5
%install
32acd5
rm -rf $RPM_BUILD_ROOT
32acd5
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
32acd5
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
32acd5
32acd5
32acd5
%post -p /sbin/ldconfig
32acd5
32acd5
32acd5
%postun -p /sbin/ldconfig
32acd5
32acd5
32acd5
%files
32acd5
%doc COPYING NEWS AUTHORS PATENTS
32acd5
%{_libdir}/*.so.*
32acd5
32acd5
%files devel
32acd5
%{_libdir}/libwebrtc_audio_processing.so
32acd5
%{_libdir}/pkgconfig/%{name}.pc
32acd5
%{_includedir}/webrtc_audio_processing/
32acd5
32acd5
32acd5
%changelog
998f3c
* Wed Feb 26 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.1-5
998f3c
- Fix FTBFS on non-x86/arm
998f3c
  Resolves: #1068823
998f3c
998f3c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.1-4
998f3c
- Mass rebuild 2013-12-27
998f3c
32acd5
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
32acd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
32acd5
32acd5
* Tue Oct 9 2012 Dan HorĂ¡k <dan[at]danny.cz> 0.1-2
32acd5
- set ExclusiveArch x86 and ARM for now
32acd5
32acd5
* Fri Oct 5 2012 Christian Schaller <christian.schaller@gmail.com> 0.1-1
32acd5
- Initial Fedora spec.