commit 592b0b6d491954855c55df9342475a760706b782
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Sep 1 13:28:07 2017 +0100
Stop using wget to fetch
.gitignore | 1 +
amrwb.spec | 21 ++++++++++++---------
sources | 1 +
3 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 28c6dcc..53aa83e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
amrwb-11.0.0.0.tar.bz2
+/26204-b00.zip
diff --git a/amrwb.spec b/amrwb.spec
index 067f9e9..3727823 100644
--- a/amrwb.spec
+++ b/amrwb.spec
@@ -1,12 +1,13 @@
Name: amrwb
Version: 11.0.0.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec
Group: System Environment/Libraries
License: Distributable
URL:
http://www.penguin.cz/~utx/amr
Source0:
http://ftp.penguin.cz/pub/users/utx/amr/%{name}-%{version}.tar.bz2
-BuildRequires: wget unzip
+Source1:
http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-b00.zip
+BuildRequires: unzip
%description
Adaptive Multi-Rate Wideband decoder and encoder library.
@@ -36,20 +37,18 @@ developing applications that use %{name}.
%prep
%setup -q
-# Note we do the wget ourselves so that we can use in IP in the URL as there
-# is no /etc/resolv.conf in the buildroot
-wget ftp://195.238.226.35/Specs/archive/26_series/26.204/26204-b00.zip
+cp %{SOURCE1} .
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -59,18 +58,22 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%files
-%doc AUTHORS ChangeLog COPYING NEWS README TODO readme.txt
+%doc AUTHORS ChangeLog NEWS README TODO readme.txt
+%license COPYING
%{_libdir}/*.so.*
%files tools
%{_bindir}/*
%files devel
-%{_includedir}/amrwb
+%{_includedir}/amrwb/
%{_libdir}/*.so
%changelog
+* Fri Sep 01 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 11.0.0.0-5
+- Stop using wget to fetch
+
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> -
11.0.0.0-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index 3af3f3f..2dbc805 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
f9ea63e6f8b778fe1040f73891ba3720 amrwb-11.0.0.0.tar.bz2
+9fd5a681beb11277ce370deafa4a494d 26204-b00.zip