%define version 1.4 %define release 7 Summary: WAV file Play & Record applications Name: wavplay Version: %{version} Release: 1 License: GPL Group: Sound URL: ftp://sunsite.unc.edu/pub/Linux/apps/sound/ Source: %{name}-%{version}.tar.bz2 Patch0: wavplay-1.4-fix-compile.patch.bz2 Buildroot: %{_tmppath}/%{name}-%{version}-buildroot %description %{name} package contains: wavplay - plays WAV format file to the audio device. wavrec - samples the audio device and writes WAV file. %prep %setup -q %patch0 -p1 -b .fix-compile chmod -R o+r . %build %__make CPU="" OPT="%{optflags}" INSTDIR="%{_bindir}" no_x %install rm -rf %{buildroot} install -m 0755 -D wavplay %{buildroot}%{_bindir}/wavplay ln -s wavplay %{buildroot}%{_bindir}/wavrec install -m 0644 -D wavplay.1 %{buildroot}%{_mandir}/man1/wavplay.1 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc BUGS COPYING README %attr(4511,root,root) %{_bindir}/wavplay %{_bindir}/wavrec %{_mandir}/man?/* %changelog * Wed Sep 09 2009 Thierry Vignaud 1.4-6mdv2010.0 + Revision: 434703 - rebuild * Sun Aug 03 2008 Thierry Vignaud 1.4-5mdv2009.0 + Revision: 261921 - rebuild * Wed Jul 30 2008 Thierry Vignaud 1.4-4mdv2009.0 + Revision: 255837 - rebuild + Olivier Blin - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud 1.4-2mdv2008.1 + Revision: 129286 - kill re-definition of %%buildroot on Pixel's request - use %%mkrel - import wavplay * Fri Jan 21 2005 Abel Cheung 1.4-2mdk - rebuild - enable suid - P0: fix compilation * Wed Oct 08 2003 Abel Cheung 1.4-1mdk - First Mandrake package - Don't suid the binary, but lost the ability for real time scheduling