commit b6c001c7849806e081e65ca005511e8958e5386c
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sat Apr 14 10:20:25 2018 +0100
Update to 2.8.8
.gitignore | 1 +
faad2.spec | 16 +++++++++-------
fix_undefined_version.patch | 8 ++++----
sources | 2 +-
4 files changed, 15 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 840c8d1..ed693f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
faad2-2.7.tar.bz2
/faad2-2.8.1.tar.bz2
+/faad2-2.8.8.tar.gz
diff --git a/faad2.spec b/faad2.spec
index 5c46081..7b24544 100644
--- a/faad2.spec
+++ b/faad2.spec
@@ -3,12 +3,12 @@
Summary: Library and frontend for decoding MPEG2/4 AAC
Name: faad2
Epoch: 1
-Version: 2.8.1
-Release: 3%{?dist}
+Version: 2.8.8
+Release: 1%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL:
http://www.audiocoding.com/faad2.html
-Source:
http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.bz2
+Source:
http://downloads.sourceforge.net/sourceforge/faac/%{name}-%{version}.tar.gz
# fix non-PIC objects in libmp4ff.a
Patch0: %{name}-pic.patch
Patch1: fix_undefined_version.patch
@@ -62,7 +62,7 @@ This package contains an input plugin for xmms.
%prep
%autosetup -p1
-./bootstrap
+autoreconf -fiv
%build
%configure \
@@ -78,9 +78,8 @@ This package contains an input plugin for xmms.
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
-%post libs -p /sbin/ldconfig
+%ldconfig_scriptlets libs
-%postun libs -p /sbin/ldconfig
%files
%doc AUTHORS ChangeLog NEWS README*
@@ -92,7 +91,7 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' |
xargs rm -f
%{_libdir}/libfaad*.so.*
%files devel
-%doc TODO docs/Ahead?AAC?Decoder?library?documentation.pdf
+%doc TODO
%{_includedir}/faad.h
%{_includedir}/neaacdec.h
%{_libdir}/libfaad*.so
@@ -102,6 +101,9 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' |
xargs rm -f
%{xmmsinputplugindir}/libmp4.so
%changelog
+* Sat Apr 14 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1:2.8.8-1
+- Update to 2.8.8
+
* Wed Feb 28 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
1:2.8.1-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/fix_undefined_version.patch b/fix_undefined_version.patch
index f75c054..d90c290 100644
--- a/fix_undefined_version.patch
+++ b/fix_undefined_version.patch
@@ -1,11 +1,11 @@
--- a/include/neaacdec.h
+++ b/include/neaacdec.h
-@@ -73,7 +73,7 @@
- #endif
+@@ -67,7 +67,7 @@
+ #define NEAACDECAPI
#endif
--#define FAAD2_VERSION PACKAGE_VERSION
-+#define FAAD2_VERSION "2.8.1"
+-#define FAAD2_VERSION "unknown"
++#define FAAD2_VERSION "2.8.8"
/* object types for AAC */
#define MAIN 1
diff --git a/sources b/sources
index 7763807..a367e32 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c0c0d1e6d66de38c40ae56a1981321f9 faad2-2.8.1.tar.bz2
+28f6116efdbe9378269f8a6221767d1f faad2-2.8.8.tar.gz