Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 5f1d78509d6ebbed7ebf41f501c414eb > files > 3

SoundTouch-1.2.1-1mdk.src.rpm

%define name SoundTouch
%define version 1.2.1
%define release 1mdk
%define	major	1
%define libname      %mklibname %name %major


Summary: An open-source audio processing library
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
Patch0:	%{name}-makefile.patch
License: LGPL
Group: Sound
Url: http://sky.prohosting.com/oparviai/soundtouch/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot


%description
SoundTouch is an open-source audio processing library.
It allows changing the sound tempo, pitch and playback 
rate parameters independently from each other.

%package -n %{libname}-devel
Summary: Development package with static libs and headers
Group: Development/C
Provides: libSoundTouch-devel = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Provides: %{name}%{major}-devel = %{version}-%{release}

%description -n %{libname}-devel
Static libraries and header files required for compiling SoundTouch plugins.


%prep
%setup -q
%patch0 -p0

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/soundstretch
%{_docdir}/*

%files -n %{libname}-devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*
%{_datadir}/aclocal/*

%changelog
* Fri Nov 12 2004 Erwan Velu <erwan@seanodes.com> 1.2.1-1mdk
- Frist Release