Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
mad
> mad.spec-old
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mad.spec-old of Package mad
# norootforbuild Name: mad Summary: An MPEG audio decoder library Summary(de): MAD ist ein high-quality MPEG audio decoder. BuildPreReq: sed Version: 0.15.1b Release: 1.pm.3 Group: System/Libraries License: GPL URL: http://www.underbit.com/products/mad/ Source: libmad-%{version}.tar.bz2 Patch0: mad-automake-fix.dif Patch1: libmad-0.15.1b-pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description MAD 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 supports high quality 24-bit PCM output for modern audio technologies. MAD computes using 100% fixed-point (integer) computation, so you can run it without a floating point unit. Authors: -------- Underbit Technologies, Inc. <support@underbit.com> %package devel Summary: Development package for mad Group: Development/Libraries/C and C++ Requires: mad %description devel This package contains the header files and static libraries needed to develop applications with libmad. Authors: -------- Underbit Technologies, Inc. <support@underbit.com> %prep %setup -n libmad-%{version} %patch0 %patch1 -p 1 %__sed -i s/" -fforce-mem"/""/g configure %__sed -i s/" -fforce-mem"/""/g configure.ac %build %{?suse_update_config:%{suse_update_config -f}} autoreconf -fi %configure %__make %install %makeinstall %{__install} -D -m 0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc %post %if 0%{?suse_version} %run_ldconfig %else /sbin/ldconfig %endif %postun %if 0%{?suse_version} %run_ldconfig %else /sbin/ldconfig %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYING COPYRIGHT CREDITS README TODO VERSION %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.*a %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog -n mad * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build