%define name perl-Audio-DSP %define version 0.02 %define release 4mdk Summary: Perl interface to OSS digital audio device. Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: Audio-DSP-0.02.tar.bz2 Patch0: Audio-DSP-0.02-VOCP.patch.bz2 Url: http://www.cpan.org Requires: perl BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Audio::DSP is built around the OSS (Open Sound System) API and allows perl to interface with a digital audio device. It provides, among other things, an initialization method which opens and handles ioctl messaging on the audio device file. Audio::DSP also provides some rudimentary methods for the storage and manipulation of audio data in memory. In order to use Audio::DSP, you'll need to have the necessary OSS drivers/libraries installed. OSS is available for many popular Unices, and a GPLed version (with which this extension was initially developed and tested) is distributed with with the Linux kernel. %prep %setup -q -n Audio-DSP-%{version} %patch0 -p1 # perl path hack find . -type f | xargs %{__perl} -p -i -e "s|^#\!/usr/local/bin/perl|#\!/usr/bin/perl|g" %build %{__perl} Makefile.PL INSTALLDIRS=vendor </dev/null %{__make} %install %{__rm} -rf %{buildroot} %makeinstall_std %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc Changes MANIFEST README %{perl_vendorlib}/*/Audio/* %{perl_vendorlib}/*/auto/* %{_mandir}/man3/* %changelog * Sat Aug 02 2003 Ben Reser <ben@reser.org> 0.02-4mdk - Better Summary and Description - Macroize - Remove root buildroot kludges - Remove PREFIX from Makefile.PL - %%makeinstall_std - man path * Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.02-3mdk - rebuild for new auto{prov,req} * Wed Feb 12 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.02-2mdk - added P0 by Patrick Deegan * Tue Feb 11 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.02-1mdk - initial cooker contrib.