5c0447
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
5c0447
5c0447
Name:		pylast
5c0447
Version:	0.5.11
22c343
Release:	4%{?dist}
5c0447
Summary:	A Python interface to Last.fm API compatible social networks
5c0447
Group:		Development/Languages
5c0447
License:	ASL 2.0
5c0447
URL:		http://pypi.python.org/pypi/pylast
5c0447
Source0:	http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
5c0447
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
5c0447
BuildRequires:	python-devel
5c0447
BuildRequires:	python-setuptools
5c0447
BuildArch:	noarch
5c0447
5c0447
5c0447
%description
5c0447
A Python interface to Last.fm (and other API compatible social networks)
5c0447
5c0447
5c0447
%prep
5c0447
%setup -q
5c0447
chmod 644 README
5c0447
5c0447
5c0447
%build
5c0447
%{__python} -c 'import setuptools; execfile("setup.py")' build
5c0447
5c0447
5c0447
%install
5c0447
rm -rf $RPM_BUILD_ROOT
5c0447
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT
5c0447
5c0447
5c0447
%clean
5c0447
rm -rf $RPM_BUILD_ROOT
5c0447
5c0447
5c0447
%files
5c0447
%defattr(-,root,root,-)
5c0447
%doc COPYING README
5c0447
%{python_sitelib}/%{name}.py*
5c0447
%{python_sitelib}/%{name}-%{version}-*.egg-info/
5c0447
5c0447
5c0447
5c0447
%changelog
22c343
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.11-4
22c343
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
22c343
1035f5
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.11-3
1035f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1035f5
4d2ca1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.11-2
4d2ca1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4d2ca1
5c0447
* Fri Jun 03 2011 Peter Lemenkov <lemenkov@gmail.com> - 0.5.11-1
5c0447
- Initial package
5c0447