Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL6
:
ffmpeg-0.11.x
>
libmad
> libmad.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libmad.spec of Package libmad
%lib_package mad 0 Summary: MPEG Audio Decoder Name: libmad Version: 0.15.1b Release: 4%{?dist} Group: System Environment/Libraries Source0: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz Source1: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz.sign Patch0: optimize.diff Patch1: amd64-64bit.diff Patch2: autoconf URL: http://www.underbit.com/products/mad/ License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++ Provides: mad = %{evr} %lib_dependencies %description MAD (libmad) is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented. MAD does not yet support MPEG-2 multichannel audio (although it should be backward compatible with such streams) nor does it currently support AAC. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %configure --enable-accuracy --disable-debugging make %{_smp_mflags} cat << EOF > mad.pc prefix=%{_prefix} exec_prefix=%{_prefix} libdir=%{_libdir} includedir=%{_includedir} Name: mad Description: MPEG Audio Decoder Requires: Version: %{version} Libs: -L%{_libdir} -lmad -lm Cflags: -I%{_includedir} EOF %install rm -rf %{buildroot} %makeinstall install -m 644 -D mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGES COPYING COPYRIGHT CREDITS README TODO %changelog