Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 52af9441bc3a557b3c90feca963248d5 > files > 1

mppdec-r96-3.mga5.src.rpm

Name:		mppdec
Version:	r96
Release:	%mkrel 3
Summary:	The 1.15v decoder
Group:		Sound/Editors and Converters
License:	LGPLv2+
URL:		http://www.musepack.net/
Source0:	ftp://ftp.iut-bm.univ-fcomte.fr/linux/distributions/zenwalk/source/extra/ap/musepack-tools/mpptools-%{version}.tar.bz2
Patch0:		no-asm.patch

BuildRequires:	yasm

%description
Musepack is an audio compression format with a strong emphasis on high
quality. It's not lossless, but it is designed for transparency, so that you
won't be able to hear differences between the original wave file and the much
smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but
since 1997 it has rapidly developed and vastly improved and is now at an
advanced stage in which it contains heavily optimized and patentless code.
This decoder is compatible with all StreamVersions from 4 to 7. You need it if
you want to apply ReplayGain on your files or just want to decode to record on
a CD.


%prep
%setup -q -n mpptools-%{version}

sed -i -e 's/-Os//' Makefile
sed -i -e 's/-march=i586//' Makefile
sed -i -e 's/-m\$(TUNE)=i686//' Makefile
sed -i -e 's/&> $(LOGFILE)//' Makefile
sed -i -e 's/nasm/yasm/' Makefile

%ifnarch %ix86
%apply_patches
%endif

%build
%make mppdec
%make replaygain

%install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 mppdec replaygain %{buildroot}%{_bindir}

%files
%doc README
%{_bindir}/mppdec
%{_bindir}/replaygain


%changelog
* Wed Oct 15 2014 umeabot <umeabot> r96-3.mga5
+ Revision: 747669
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> r96-2.mga5
+ Revision: 682653
- Mageia 5 Mass Rebuild

* Fri Mar 28 2014 daviddavid <daviddavid> r96-1.mga5
+ Revision: 609238
- fix linkurl for Source0
- prefer use %%apply_patches macro

  + david-david <david-david>
    - imported package mppdec