Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37866139
en ru br
ALT Linux repositórios
S:1.31.3-alt1
D:0.66-alt0.1
5.0: 0.59s-alt0.9
4.1: 0.59s-alt0.9
4.0: 0.59s-alt0.9
3.0: 0.59s-alt0.8

Group :: Som
RPM: mpg123

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_without esd

Name: mpg123
Version: 0.66
Release: alt0.1

Summary: MPEG audio player
Group: Sound
License: distributable

ExclusiveArch: %ix86 x86_64

Url: http://www.%name.de
Source: %name-%version.tar.bz2
Source1: mp3license
Packager: Alexey Tourbin <at at altlinux.ru>

# goldhead

# regenerated for 0.66 (is there any need for this patch ?)
Patch1: %name-0.66-8bit.patch

BuildRequires: libalsa-devel libaudio-devel
%if_with esd
BuildPreReq: esound-devel libaudiofile-devel
%endif

%description
Mpg123 is a fast, free and portable MPEG audio player for Unix.
It supports MPEG 1.0/2.0 layers 1, 2 and 3 ("mp3" files).  For
full CD quality playback (44 kHz, 16 bit, stereo) a fast CPU
is required. Mono and/or reduced quality playback (22 kHz or
11 kHz) is possible on slow CPUs (like Intel 486).

For information on the MP3 License, please visit:
%url

%prep
%setup -q
%patch1 -p1

%__install -p -m644 %SOURCE1 .

%build
%{!?_enable_debug:%add_optflags -fomit-frame-pointer -ffast-math -frename-registers}

%if_with esd
CFLAGS=-DUSE_ESD; OBJECTS=audio_esd.o; AUDIO_LIB='-lesd -laudiofile'
%else
CFLAGS=-DOSS; OBJECTS=audio_oss.o AUDIO_LIB=
%endif

%ifarch %ix86
%configure --with-audio=alsa --with-cpu=i586_dither
%make_build
%else
%configure --with-audio=alsa
%make_build
%endif



%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_defaultdocdir/%name-%version/
%find_lang %name


%files -f %name.lang
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README mp3license doc/
%_bindir/*
%_man1dir/*


%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009