Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > f02b44925b09cf597bce78ddd2e5bdfb > files > 2

python-pycdio-0.16-1mdv2010.1.src.rpm

%define srcname pycdio
Name:		python-pycdio
Version:	0.16
Release:	%mkrel 1
Summary:	A Python interface to the CD Input and Control library
Group:		Development/Python 
License:	GPLv3+
URL:		http://www.gnu.org/software/libcdio/
Source0:	ftp://ftp.gnu.org/pub/gnu/libcdio/%{srcname}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}
BuildRequires:	python-devel
BuildRequires:	python-setuptools
BuildRequires:	libcdio-devel
BuildRequires:	swig

%description
The pycdio (and libcdio) libraries encapsulate CD-ROM reading and
control. Python programs wishing to be oblivious of the OS- and
device-dependent properties of a CD-ROM can use this library.

%prep
%setup -q -n %{srcname}-%{version}

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --skip-build --root %{buildroot}
chmod 755 %{buildroot}/%{py_platsitedir}/*.so

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{py_platsitedir}/*
%doc README.txt


%changelog
* Thu Nov 12 2009 Frederik Himpe <fhimpe@mandriva.org> 0.16-1mdv2010.1
+ Revision: 465315
- Update to new version 0.16
- Remove patch integrated upstream

* Sat Sep 26 2009 Frederik Himpe <fhimpe@mandriva.org> 0.15-1mdv2010.0
+ Revision: 449616
- Create package based on Fedora package
- create python-pycdio