2024-01-05 22:12:34 +01:00
|
|
|
%define libname lib%{name}
|
2024-01-05 22:12:34 +01:00
|
|
|
%define tagver %(echo %version | tr . _)
|
2024-01-05 22:12:34 +01:00
|
|
|
Name: faad2
|
2024-01-05 22:12:36 +01:00
|
|
|
Version: 2.11.1
|
2024-01-05 22:12:34 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 22:12:34 +01:00
|
|
|
Epoch: 1
|
|
|
|
Summary: Freeware Advanced Audio Decoder 2
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 22:12:36 +01:00
|
|
|
URL: https://www.audiocoding.com/
|
2024-01-05 22:12:36 +01:00
|
|
|
Source: https://github.com/knik0/faad2.git/%{version}/faad2-%{version}.tar.bz2
|
2024-01-05 22:12:34 +01:00
|
|
|
#Source: http://downloads.sourceforge.net/faac/faad2-%{version}.tar.gz
|
2024-01-05 22:12:34 +01:00
|
|
|
Patch1: %{name}-2.5-no_bmp.patch
|
|
|
|
Patch2: %{name}-2.5-mp4ff.patch
|
|
|
|
Patch3: %{name}-2.7-mpeg4ip.patch
|
|
|
|
Patch4: %{name}-2.7-mpeg4ip-configure.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: hd2u
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch.
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
Summary: A library for decoding MPEG2/4 AAC
|
|
|
|
Group: System/Libraries
|
2024-01-05 22:12:36 +01:00
|
|
|
Obsoletes: xmms-aac < 1:2.10.1
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch.
|
|
|
|
|
|
|
|
%package -n xmms-aac
|
|
|
|
Summary: An AAC plugin for the XMMS player
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: xmms
|
|
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: %{libname}-xmms-aac = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n xmms-aac
|
|
|
|
This xmms plugin reads AAC files with and without ID3 tags (version 2.x).
|
|
|
|
|
|
|
|
AAC files are MPEG2 or MPEG4 files that can be found in MPEG4 audio files (.mp4).
|
|
|
|
MPEG4 files with AAC inside can be read by RealPlayer or Quicktime.
|
|
|
|
|
|
|
|
%package -n mpeg4ip-aac
|
|
|
|
Summary: An AAC plugin for mpeg4ip player
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: mpeg4ip
|
|
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: %{libname}-mpeg4ip-plugin = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mpeg4ip-aac
|
|
|
|
This mpeg4ip player plugin reads AAC files.
|
|
|
|
|
|
|
|
AAC files are MPEG2 or MPEG4 files that can be found in MPEG4 audio files (.mp4).
|
|
|
|
MPEG4 files with AAC inside can be read by RealPlayer or Quicktime.
|
|
|
|
|
|
|
|
%package -n %{libname}-devel
|
|
|
|
Summary: Static libraries and headers for %{libname}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 22:12:36 +01:00
|
|
|
Obsoletes: %{name}-devel-aac < 1:2.10.1
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%description -n %{libname}-devel
|
|
|
|
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch.
|
2024-01-05 22:12:36 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 22:12:34 +01:00
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 22:12:34 +01:00
|
|
|
#dos2unix configure.in
|
2024-01-05 22:12:36 +01:00
|
|
|
#%patch 3 -p1
|
2024-01-05 22:12:34 +01:00
|
|
|
#%patch4 -p1
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 22:12:36 +01:00
|
|
|
%cmake
|
2024-01-05 22:12:34 +01:00
|
|
|
|
2024-01-05 22:12:36 +01:00
|
|
|
%cmake_build
|
2024-01-05 22:12:34 +01:00
|
|
|
|
2024-01-05 22:12:36 +01:00
|
|
|
#% configure \
|
|
|
|
# --with-mp4v2 \
|
|
|
|
# --without-xmms
|
|
|
|
#
|
|
|
|
## --with-drm
|
|
|
|
#
|
|
|
|
#% make
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 22:12:36 +01:00
|
|
|
%cmake_install
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 22:12:36 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
2024-01-05 22:12:34 +01:00
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2024-01-05 22:12:34 +01:00
|
|
|
%{_bindir}/faad
|
2024-01-05 22:12:34 +01:00
|
|
|
%{_mandir}/man1/faad.1*
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-, root, root)
|
2024-01-05 22:12:34 +01:00
|
|
|
%{_libdir}/libfaad.so.*
|
|
|
|
%{_libdir}/libfaad_drm.so.*
|
2024-01-05 22:12:34 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/*
|
2024-01-05 22:12:34 +01:00
|
|
|
%{_libdir}/libfaad.so
|
|
|
|
%{_libdir}/libfaad_drm.so
|
|
|
|
%{_libdir}/pkgconfig/faad2.pc
|
2024-01-05 22:12:36 +01:00
|
|
|
%doc ChangeLog README
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
%if "%{stage1}" != "1"
|
2024-01-05 22:12:34 +01:00
|
|
|
#%files -n xmms-aac
|
|
|
|
#%defattr(-, root, root)
|
|
|
|
#%{_libdir}/xmms/Input/*.a
|
|
|
|
#%{_libdir}/xmms/Input/*.la
|
|
|
|
#%{_libdir}/xmms/Input/*.so
|
|
|
|
#%doc plugins/xmms/{AUTHORS,NEWS,README,TODO}
|
2024-01-05 22:12:34 +01:00
|
|
|
|
|
|
|
#%files -n mpeg4ip-aac
|
|
|
|
#%defattr(-, root, root)
|
|
|
|
#%{_libdir}/mp4player_plugin/faad2_plugin.*
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 22:12:36 +01:00
|
|
|
* Wed Nov 15 2023 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 13 2023 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:12:36 +01:00
|
|
|
* Sat Dec 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-1mamba
|
|
|
|
- update to 2.10.1
|
|
|
|
|
2024-01-05 22:12:35 +01:00
|
|
|
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
* Mon May 11 2020 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
* Sun Dec 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- update to 2.9.1
|
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
* Wed Mar 21 2018 Automatic Build System <autodist@mambasoft.it> 2.8.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-5mamba
|
|
|
|
- rebuilt without xmms plugins (i586)
|
|
|
|
|
2024-01-05 22:12:34 +01:00
|
|
|
* Sat Mar 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-4mamba
|
|
|
|
- rebuilt without libmpeg4ip and with libmp4v2 >= 2.0.0
|
|
|
|
|
|
|
|
* Tue Aug 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-3mamba
|
|
|
|
- remove the option --with-drm (https://github.com/PromyLOPh/pianobar/issues/282); tested with totem and mp4 file
|
|
|
|
|
|
|
|
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 2.7-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
|
|
|
|
- update to 2.7
|
|
|
|
|
|
|
|
* Sun May 13 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.5-1mamba
|
|
|
|
- fixed xmms plugin compilation
|
|
|
|
- fixed mpeg4ip plugin compilation
|
|
|
|
- added faad2 package
|
|
|
|
|
|
|
|
* Fri Jan 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.cvs20070126-1qilnx
|
|
|
|
- update to version 2.5 by autospec
|
|
|
|
- FIXME: removed mpeg4ip plugin due to build problems
|
|
|
|
|
|
|
|
* Wed May 24 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-3qilnx
|
|
|
|
- remove build of libmp4v2 provided and maintained by the mpeg4ip project
|
|
|
|
- added mpeg4ip plugin package
|
|
|
|
- enabled drm support
|
|
|
|
- removed xmms plugin (currently requires internal build of libmp4v2)
|
|
|
|
|
|
|
|
* Sat Oct 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.0-2qilnx
|
|
|
|
- specfile fixed and modified to match QiLinux standards
|
|
|
|
- library name modified (was faad2)
|
|
|
|
- added a patch to compile libfaad2 with gcc-3.4
|
|
|
|
|
|
|
|
* Mon Sep 13 2004 Matteo Bernasconi <voyagernm@virgilio.it> 2.0-1qilnx
|
|
|
|
- first build
|