|
|
|
@ -1,19 +1,33 @@
|
|
|
|
|
%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
|
|
|
|
|
Name: faad2
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 2.10.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 2.8.8
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.audiocoding.com/faad2.html
|
|
|
|
|
Source: https://github.com/knik0/faad2/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
# Security issue from videolan contribs
|
|
|
|
|
Patch2: faad2-fix-overflows.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: libsysfs-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: libsysfs-devel
|
|
|
|
|
%{?_with_xmms:
|
|
|
|
|
BuildRequires: id3lib-devel
|
|
|
|
|
BuildRequires: xmms-devel
|
|
|
|
|
}
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
%{!?_with_xmms:
|
|
|
|
|
Obsoletes: %{name}-xmms < %{version}-%{release}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
|
|
|
|
@ -39,13 +53,27 @@ written from scratch.
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
./bootstrap
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static
|
|
|
|
|
--disable-static \
|
|
|
|
|
%{?_with_xmms:--with-xmms}
|
|
|
|
|
|
|
|
|
|
# remove rpath from libtool
|
|
|
|
|
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
@ -76,49 +104,17 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
|
|
|
|
%doc TODO
|
|
|
|
|
%{_includedir}/faad.h
|
|
|
|
|
%{_includedir}/neaacdec.h
|
|
|
|
|
%{_libdir}/pkgconfig/faad2.pc
|
|
|
|
|
%{_libdir}/libfaad*.so
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
%{?_with_xmms:
|
|
|
|
|
%files -n xmms-%{name}
|
|
|
|
|
%doc plugins/xmms/{AUTHORS,NEWS,ChangeLog,README,TODO}
|
|
|
|
|
%{xmmsinputplugindir}/libmp4.so
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 27 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1:2.8.8-6
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2019 Nicolas Chauvet <kwizart@gmail.com> - 1:2.8.8-6
|
|
|
|
|
- Fix overflows
|