|
|
@ -1,33 +1,19 @@
|
|
|
|
%if 0%{?fedora} || 0%{?el7}
|
|
|
|
|
|
|
|
%global _with_xmms 1
|
|
|
|
|
|
|
|
%global xmmsinputplugindir %(xmms-config --input-plugin-dir 2>/dev/null)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Library and frontend for decoding MPEG2/4 AAC
|
|
|
|
Summary: Library and frontend for decoding MPEG2/4 AAC
|
|
|
|
Name: faad2
|
|
|
|
Name: faad2
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 2.8.8
|
|
|
|
Version: 2.10.1
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.audiocoding.com/faad2.html
|
|
|
|
URL: http://www.audiocoding.com/faad2.html
|
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/faac/%{name}-%{version}.tar.gz
|
|
|
|
Source: https://github.com/knik0/faad2/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
# fix non-PIC objects in libmp4ff.a
|
|
|
|
|
|
|
|
Patch0: %{name}-pic.patch
|
|
|
|
|
|
|
|
Patch1: fix_undefined_version.patch
|
|
|
|
|
|
|
|
# Security issue from videolan contribs
|
|
|
|
|
|
|
|
Patch2: faad2-fix-overflows.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libsysfs-devel
|
|
|
|
BuildRequires: automake
|
|
|
|
%{?_with_xmms:
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: id3lib-devel
|
|
|
|
BuildRequires: libsysfs-devel
|
|
|
|
BuildRequires: xmms-devel
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{!?_with_xmms:
|
|
|
|
|
|
|
|
Obsoletes: %{name}-xmms < %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-xmms < %{version}-%{release}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
|
|
|
@ -53,27 +39,13 @@ written from scratch.
|
|
|
|
|
|
|
|
|
|
|
|
This package contains development files and documentation for libfaad.
|
|
|
|
This package contains development files and documentation for libfaad.
|
|
|
|
|
|
|
|
|
|
|
|
%{?_with_xmms:
|
|
|
|
|
|
|
|
%package -n xmms-%{name}
|
|
|
|
|
|
|
|
Summary: AAC XMMS Input Plugin
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: xmms-aac%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Obsoletes: xmms-aac < 2.6.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n xmms-%{name}
|
|
|
|
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
|
|
|
|
|
|
|
|
written from scratch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains an input plugin for xmms.
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
./bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static
|
|
|
|
%{?_with_xmms:--with-xmms}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# remove rpath from libtool
|
|
|
|
# remove rpath from libtool
|
|
|
|
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
@ -104,15 +76,50 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
|
|
|
%doc TODO
|
|
|
|
%doc TODO
|
|
|
|
%{_includedir}/faad.h
|
|
|
|
%{_includedir}/faad.h
|
|
|
|
%{_includedir}/neaacdec.h
|
|
|
|
%{_includedir}/neaacdec.h
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/faad2.pc
|
|
|
|
%{_libdir}/libfaad*.so
|
|
|
|
%{_libdir}/libfaad*.so
|
|
|
|
|
|
|
|
|
|
|
|
%{?_with_xmms:
|
|
|
|
|
|
|
|
%files -n xmms-%{name}
|
|
|
|
|
|
|
|
%doc plugins/xmms/{AUTHORS,NEWS,ChangeLog,README,TODO}
|
|
|
|
|
|
|
|
%{xmmsinputplugindir}/libmp4.so
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Oct 21 2022 Leigh Scott <leigh123linux@gmail.com> - 1:2.10.1-1
|
|
|
|
|
|
|
|
- Update to 2.10.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1:2.10.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
|
|
|
|
|
|
|
|
5.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1:2.10.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1:2.10.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Sérgio Basto <sergio@serjux.com> - 1:2.10.0-1
|
|
|
|
|
|
|
|
- Update to 2.10.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1:2.9.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Leigh Scott <leigh123linux@gmail.com> - 1:2.9.2-3
|
|
|
|
|
|
|
|
- Rebuilt for i686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 17 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1:2.9.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 05 2020 Leigh Scott <leigh123linux@gmail.com> - 1:2.9.2-1
|
|
|
|
|
|
|
|
- Update to 2.9.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 12 2020 Leigh Scott <leigh123linux@gmail.com> - 1:2.9.1-3
|
|
|
|
|
|
|
|
- Rebuilt for i686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1:2.9.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 01 2020 Leigh Scott <leigh123linux@googlemail.com> - 1:2.9.1-1
|
|
|
|
|
|
|
|
- Update to 2.9.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 09 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1:2.8.8-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2019 Nicolas Chauvet <kwizart@gmail.com> - 1:2.8.8-6
|
|
|
|
* Fri Jun 07 2019 Nicolas Chauvet <kwizart@gmail.com> - 1:2.8.8-6
|
|
|
|
- Fix overflows
|
|
|
|
- Fix overflows
|
|
|
|
- Conditionalize xmms
|
|
|
|
- Conditionalize xmms
|
|
|
|