Summary: Musepack encoder Name: mppenc Version: 1.16 Release: 1 License: LGPL Group: Sound Source0: http://files.musepack.net/source/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-aix.patch URL: http://www.musepack.net/ BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This program handles encoding of the MPC format, which 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. %prep %setup -q %patch0 %build export CC=xlc cmake -DCMAKE_INSTALL_PREFIX:=%{_prefix} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "{$RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc Changelog %{_bindir}/* /usr/bin/* %changelog * Tue Sep 16 2008 Michael Perzl - 1.16-1 - first version for AIX V5.1 and higher