File python3-pylast.spec of Package python3-pylast
#
# spec file for package python3-pylast
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-pylast
Version: 1.4.2
Release: 0
Summary: A python3 interface to Last.fm
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/pylast/pylast
Source0: https://pypi.python.org/packages/source/p/pylast/pylast-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
A python3 interface to Last.fm
Features:
- Simple public interface.
- Access to all the data exposed by the Last.fm webservices.
- Scrobbling support.
- Full object-oriented design.
- Proxy support.
- Internal caching support for some webservices calls (disabled by default).
- No extra dependencies but python itself.
- Support for other API-compatible networks like Libre.fm
- Python3-friendly (Starting from 0.5).
%prep
%setup -q -n pylast-%{version}
%build
python3 setup.py build
%install
python3 setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING
%dir %{python3_sitelib}/pylast
%{python3_sitelib}/pylast/*
%{python3_sitelib}/pylast-%{version}-py%{py3_ver}.egg-info
%changelog