Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 6bd73ea648f3931072355b3171dcea5a > files > 3

wavplay-1.4-5mdv2009.0.src.rpm

%define	version	1.4
%define release	%mkrel 5

Summary:	WAV file Play & Record applications
Name:		wavplay
Version:	%{version}
Release:	%{release}
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
* Sun Aug 03 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.4-5mdv2009.0
+ Revision: 261921
- rebuild

* Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.4-4mdv2009.0
+ Revision: 255837
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 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 <deaddog@mandrake.org> 1.4-2mdk
- rebuild
- enable suid
- P0: fix compilation

* Wed Oct 08 2003 Abel Cheung <deaddog@deaddog.org> 1.4-1mdk
- First Mandrake package
- Don't suid the binary, but lost the ability for real time
  scheduling