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
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