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

Name:           python3-pylast
Version:        1.4.2
Release:        0
Summary:        A python3 interface to
License:        Apache-2.0
Group:          Development/Languages/Python
BuildRequires:  fdupes
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       python3-six
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

A python3 interface to

- Simple public interface.
- Access to all the data exposed by the 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
- Python3-friendly (Starting from 0.5).

%setup -q -n pylast-%{version}

python3 build

python3 install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}

%dir %{python3_sitelib}/pylast