%define libname lib%{name} %define tagver %(echo %version | tr . _) Name: faad2 Version: 2.10.1 Release: 1mamba Epoch: 1 Summary: Freeware Advanced Audio Decoder 2 Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.audiocoding.com/ Source: https://github.com/knik0/faad2.git/%{version}/faad2-%{version}.tar.bz2 #Source: http://downloads.sourceforge.net/faac/faad2-%{version}.tar.gz 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 Obsoletes: xmms-aac < 1:2.10.1 %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} Obsoletes: %{name}-devel-aac < 1:2.10.1 %description -n %{libname}-devel FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q #dos2unix configure.in #%patch1 -p1 #%patch2 -p1 %patch3 -p1 #%patch4 -p1 ./bootstrap %build %configure \ --with-mp4v2 \ --without-xmms # --with-drm %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-, root, root) %{_bindir}/faad %{_mandir}/man1/faad.1* %files -n %{libname} %defattr(-, root, root) %{_libdir}/libfaad.so.* %{_libdir}/libfaad_drm.so.* %doc AUTHORS COPYING %files -n %{libname}-devel %defattr(-, root, root) %{_includedir}/* %{_libdir}/libfaad.a %{_libdir}/libfaad.so %{_libdir}/libfaad_drm.a %{_libdir}/libfaad_drm.so %{_libdir}/pkgconfig/faad2.pc %doc ChangeLog NEWS README TODO %if "%{stage1}" != "1" #%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} #%files -n mpeg4ip-aac #%defattr(-, root, root) #%{_libdir}/mp4player_plugin/faad2_plugin.* %endif %changelog * Sat Dec 03 2022 Silvan Calarco 2.10.1-1mamba - update to 2.10.1 * Tue Oct 20 2020 Automatic Build System 2.10.0-1mamba - automatic version update by autodist * Mon May 11 2020 Automatic Build System 2.9.2-1mamba - automatic version update by autodist * Sun Dec 01 2019 Silvan Calarco 2.9.1-1mamba - update to 2.9.1 * Wed Mar 21 2018 Automatic Build System 2.8.8-1mamba - automatic version update by autodist * Fri Jan 29 2016 Silvan Calarco 2.7-5mamba - rebuilt without xmms plugins (i586) * Sat Mar 15 2014 Silvan Calarco 2.7-4mamba - rebuilt without libmpeg4ip and with libmp4v2 >= 2.0.0 * Tue Aug 14 2012 Silvan Calarco 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 2.7-2mamba - automatic rebuild by autodist * Thu Jul 09 2009 Automatic Build System 2.7-1mamba - update to 2.7 * Sun May 13 2007 Stefano Cotta Ramusino 2.5-1mamba - fixed xmms plugin compilation - fixed mpeg4ip plugin compilation - added faad2 package * Fri Jan 26 2007 Silvan Calarco 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 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 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 2.0-1qilnx - first build