- webrtc-audio-processing-0.2 (#1335536)
- %files: track ABI/API closer
This commit is contained in:
Rex Dieter 2016-05-12 09:29:10 -05:00
parent 96a4e4763e
commit f47ea05d57
4 changed files with 24 additions and 23 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/webrtc-audio-processing-0.1.tar.xz
/webrtc-audio-processing-0.2.tar.xz

View File

@ -1 +1 @@
da25bb27812c8404060d4cc0dc712f04 webrtc-audio-processing-0.1.tar.xz
3af3e71d50b743eacadcf38f6e9db2f8 webrtc-audio-processing-0.2.tar.xz

View File

@ -1,7 +1,7 @@
Name: webrtc-audio-processing
Version: 0.1
Release: 11%{?dist}
Version: 0.2
Release: 1%{?dist}
Summary: Library for echo cancellation
License: BSD
@ -16,7 +16,6 @@ PulseAudio to provide echo cancellation.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -28,36 +27,37 @@ files for developing applications that use %{name}.
%patch0 -p1 -b .typedef
%build
%configure \
--with-package-name='Fedora Webrtc-audio-processing package' \
--with-package-origin='http://download.fedoraproject.org' \
%configure \
--disable-silent-rules \
--disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
make install DESTDIR=%{buildroot} INSTALL="install -p"
## unpackaged files
rm -fv %{buildroot}%{_libdir}/lib*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING NEWS AUTHORS PATENTS
%{_libdir}/*.so.*
%doc NEWS AUTHORS README.md
%license COPYING
%{_libdir}/libwebrtc_audio_processing.so.1*
%files devel
%{_libdir}/libwebrtc_audio_processing.so
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/webrtc-audio-processing.pc
%{_includedir}/webrtc_audio_processing/
%changelog
* Thu May 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.2-1
- webrtc-audio-processing-0.2 (#1335536)
- %%files: track ABI/API closer
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1,7 +1,7 @@
diff -Nur webrtc-audio-processing-0.1/src/typedefs.h webrtc-audio-processing-0.1.new/src/typedefs.h
--- webrtc-audio-processing-0.1/src/typedefs.h 2011-10-21 00:29:33.000000000 -0400
+++ webrtc-audio-processing-0.1.new/src/typedefs.h 2014-01-28 18:42:57.816865572 -0500
@@ -77,7 +77,19 @@
diff -up webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef webrtc-audio-processing-0.2/webrtc/typedefs.h
--- webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef 2016-05-12 09:08:53.885000410 -0500
+++ webrtc-audio-processing-0.2/webrtc/typedefs.h 2016-05-12 09:12:38.006851953 -0500
@@ -48,7 +48,19 @@
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#else
@ -12,7 +12,7 @@ diff -Nur webrtc-audio-processing-0.1/src/typedefs.h webrtc-audio-processing-0.1
+#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WEBRTC_ARCH_BIG_ENDIAN
+#else
+#error __BYTE_ORDER__ isn't defined!
+#error __BYTE_ORDER__ is not defined
+#endif
+#if defined(__LP64__)
+#define WEBRTC_ARCH_64_BITS
@ -21,4 +21,4 @@ diff -Nur webrtc-audio-processing-0.1/src/typedefs.h webrtc-audio-processing-0.1
+#endif
#endif
#if defined(__SSE2__) || defined(_MSC_VER)
#if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))