%define module pymtp Summary: A python binding to libmtp Name: python-%{module} Version: 0.0.4 Release: %mkrel 9 License: GPLv3+ Group: Development/Python Url: http://nick125.com/projects/pymtp Source0: http://downloads.nick125.com/projects/pymtp/%{module}-%{version}.tar.bz2 BuildRequires: python-devel Requires: libmtp-utils %description PyMTP is a Python binding to libmtp, the defacto open source library for communicating with MTP-enabled devices. These devices include the Creative Zen, Microsoft Zune, Normsoft Pocket Tunes and many more. %prep %setup -qn %{module}-%{version} %build python setup.py build %install rm -rf %{buildroot} python setup.py install --root=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc examples README %{py_puresitedir}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.0.4-9.mga3 + Revision: 379382 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jul 13 2011 stormi <stormi> 0.0.4-8.mga2 + Revision: 123740 - increase release so that it's higher than in Mageia 1 * Thu Jun 09 2011 ahmad <ahmad> 0.0.4-7.mga2 + Revision: 102671 - Fix the License tag - imported package python-pymtp