Sisyphus repository
Last update: 7 december 2022 | SRPMs: 17970 | Visits: 25515144
en ru br
ALT Linux repos
5.0: 2.6.1-alt4
4.1: 2.6.1-alt4
4.0: 2.0-alt3.20040923
3.0: 2.0-alt1.2_20040923

Group :: Sound
RPM: faad

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define soversion 2

Name: faad
Version: 2.10.0
Release: alt1

Summary: FAAD is a Freeware Advanced Audio Decoder
License: GPL-2.0-or-later
Group: Sound

Source: faad2-%version.tar

%define libsndfile_ver 1.0.5

BuildRequires(pre): libsndfile >= %libsndfile_ver

BuildRequires: gcc-c++ id3lib-devel libstdc++-devel zlib-devel

FAAD is a LC, MAIN and LTP profile MPEG2 and MPEG-4 AAC decoder.

%package -n lib%name%soversion
Summary: Freeware Advanced Audio Decoder (FAAD) libraries
Group: System/Libraries
Provides: lib%name = %version-%release

%description -n lib%name%soversion
This package contains Freeware Advanced Audio Decoder (FAAD) shared

%package -n lib%name-devel
Summary: Development files for the FAAD AAC decoder libraries
Group: Development/C++
Requires: lib%name%soversion = %version-%release
Requires: libsndfile-devel >= %libsndfile_ver

%description -n lib%name-devel
This package provides header files development libraries and
documentation for lib%name.

%setup -n faad2-%version

find ./ -type f -name "Makefile*" -print0 | \
xargs -r0 subst 's,^\(CFLAGS\),AM_\1,g
   s,^[[:blank:]*],\t,' --

%add_optflags %optflags_shared
#_buildshell ./bootstrap
%configure \
--disable-static \
--without-drm \



# remove non-packaged files

rm -f %buildroot%_libdir/*.la


%files -n lib%name%soversion

%files -n lib%name-devel


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin