Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > 003972d4c606347a83e2a0de07b16a8b > files > 1

python-scikits-samplerate-0.3.3-4mdv2010.1.src.rpm

%define tarname	scikits.samplerate
%define name	python-scikits-samplerate
%define version	0.3.3
%define release	%mkrel 4

Summary:	Python wrapper for libsamplerate
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:        http://pypi.python.org/packages/source/s/%{tarname}/%{tarname}-%{version}.tar.gz
Source1:	site.cfg
License:	BSD-like
Group:		Development/Python
Url:		http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/pysamplerate/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	python-numpy >= 1.2.0, python-numpy-devel >= 1.2.0, libsamplerate-devel
BuildRequires:	python-setuptools
%py_requires -d
# Package is not noarch because code loads libs differently on x86_64

%description 
Samplerate is a Python module that permits one to perform high
quality resampling of audio signals using libsamplerate. The module
provides functionality similar to that of the resample function in
Matlab. It is intended to be used with numpy arrays.

%prep
%setup -q -n %{tarname}-%{version}
%__cp %SOURCE1 .

%build
PYTHONDONTWRITEBYTECODE= %__python setup.py build

%install
%__rm -rf %{buildroot}
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILELIST

%clean
%__rm -rf %{buildroot}

%files -f FILELIST
%defattr(-,root,root)
%doc README Changelog


%changelog
* Tue Sep 14 2010 Lev Givon <lev@mandriva.org> 0.3.3-4mdv2010.1
+ Revision: 578359
- Rebuild against latest version of numpy.

* Thu Dec 17 2009 Lev Givon <lev@mandriva.org> 0.3.3-2mdv2010.1
+ Revision: 479808
- Fix library dependencies.

* Wed Jul 22 2009 Lev Givon <lev@mandriva.org> 0.3.3-1mdv2010.0
+ Revision: 398650
- Update to 0.3.3.

* Wed Jul 22 2009 Lev Givon <lev@mandriva.org> 0.3.2-1mdv2010.0
+ Revision: 398571
- Update to 0.3.2.

* Thu Jan 15 2009 Lev Givon <lev@mandriva.org> 0.2-1mdv2009.1
+ Revision: 329648
- import python-scikits-samplerate