Sisyphus
: 21 2019 | : 17510 | : 15349369
en ru br
ALT
S:0.15.1b-alt9
5.1: 0.15.1b-alt4
4.1: 0.15.1b-alt3
4.0: 0.15.1b-alt3
3.0: 0.15.1b-alt2
www.altlinux.org/Changes

::
: libmad

             Sources      Gear   Bugs and FR  Repocop 

Name: libmad
Version: 0.15.1b
Release: alt3

Summary: High quality MPEG audio decoder library
Summary(ru_RU.CP1251): MPEG
License: GPL
Group: Sound
Url: http://mad.sourceforge.net/

Packager: Pavlov Konstantin <thresh at altlinux.ru>

Source: http://download.sourceforge.net/%name/%name-%version.tar.bz2
Patch1: %name-0.15.1b-speedup.patch
Patch2: %name-0.15.0b-alt-pkgconfig.patch

%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}

BuildRequires: gcc-c++ libstdc++-devel

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

%description -l ru_RU.CP1251
MAD - MPEG.
MPEG-1, MPEG-2 ,
MPEG 2.5.
(Layer I, Layer II Layer III, MP3).

%package devel
Summary: Development files for MAD
Group: Development/C
PreReq: %name = %version-%release
License: GPL

%description devel
This package contains development files required for packaging
MAD-based software.

%description devel -l ru_RU.CP1251
, MAD
.

%package devel-static
Summary: Static libraries for MAD
Group: Development/C
PreReq: %name-devel = %version-%release
License: GPL

%description devel-static
This package contains development libraries required for packaging
statically linked MAD-based software.

%description devel-static -l ru_RU.CP1251
,
MAD .

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}

touch AUTHORS NEWS ChangeLog
%__autoreconf

%configure \
%{subst_enable static} \
--enable-accuracy

# SMP-incompatiple build

%make

%install
%makeinstall

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

%files
%doc CHANGES README INSTALL CREDITS COPYRIGHT TODO VERSION
%_libdir/%name.so.*

%files devel
%_libdir/%name.so
%_pkgconfigdir/*
%_includedir/mad.h

%if_enabled static
%files devel-static
%_libdir/%name.a
%endif

%changelog

changelog

 
: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin