Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 5aa7ec041cd6661ce5954f82850ce0b3 > files > 2

python-flac-0.0.4-1mdk.src.rpm

%define name	python-flac
%define packname pyflac
%define version	0.0.4
%define release 1mdk

Name: 	 	%{name}
Summary: 	Python access for FLAC audio files
Version: 	%{version}
Release: 	%{release}

Source:		http://www.sacredchao.net/~piman/software/%{packname}-%{version}.tar.bz2
URL:		http://www.sacredchao.net/
License:	GPL
Group:		Development/Python
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	python-devel libflac-devel swig

%description
This module lets you encode or decode FLAC audio files, and edit the metadata
(cue sheets or Vorbis comments) in them. It requires libFLAC.

%prep
%setup -q -n %packname-%version
#sed -i -e 's|FLAC__metadata_object_vorbiscomment_entry_matches(self|FLAC__metadata_object_vorbiscomment_entry_matches(*self|g' flac/sw_metadata_wrap.c

%install
rm -rf $RPM_BUILD_ROOT
make
python setup.py install --root=%buildroot

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README examples
%_libdir/python*/site-packages/flac

%changelog
* Tue Oct 04 2005 Austin Acton <austin@mandriva.org> 0.0.4-1mdk
- New release 0.0.4

* Sat Aug 13 2005 Austin Acton <austin@mandriva.org> 0.0.3-1mdk
- initial package