Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37402798
en ru br
ALT Linux repos
S:1.28-alt2
5.0: 1.26-alt1
4.1: 1.26-alt1
4.0: 1.25-alt3
3.0: 1.24-alt1.1

Group :: Sound
RPM: faac

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: faac
Version: 1.26
Release: alt1

Summary: FAAC is a Freeware Advanced Audio Coder
License: LGPL
Group: Sound
Url: http://www.audiocoding.com
Packager: Alexey Morsov <swi at altlinux.ru>

Source: %name-%version.tar

Patch1: faac-1.25-WAVEFORMAT-configure.patch

Requires: lib%name = %version-%release

BuildRequires: libmpeg4ip-devel libmp4v2 libdrm-devel

%description
FAAC is a LC, MAIN and LTP profile MPEG2 and MPEG-4 AAC coder.

%package -n lib%name
Summary: Freeware Advanced Audio Coder (FAAC) libraries
Group: System/Libraries

%description -n lib%name
This package contains Freeware Advanced Audio Coder (FAAC) shared
libraries.

%package -n lib%name-devel
Summary: Development files for the FAAC AAC coder library
Group: Development/C
Requires: lib%name = %version-%release

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

%prep
%setup -q
%patch1 -p1

#__subst 's/\r$//' bootstrap configure.in Makefile.am


%build
%_buildshell ./bootstrap
%configure \
   %{subst_enable static} \
--with-mp4v2 \
--enable-drm

%make_build

%install
%make_install DESTDIR=%buildroot install

# remove non-packaged files

%__rm -f %buildroot%_libdir/*.la

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%_bindir/*
%doc docs/%name.html

%files -n lib%name
%_libdir/*.so.*
%doc ChangeLog NEWS README TODO

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%doc docs/lib%name.html

%changelog

Full changelog you can see here

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