File scdl.spec of Package scdl

#
# spec file for package scdl
#
# Copyright (c) 2017 SUSE LINUX Products 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:           scdl
Version:        1.6.3
Release:        0
License:        GPL-2.0
Summary:        Download Music from Souncloud
Url:            https://github.com/flyingrub/scdl
Group:          TODO
Source:         https://pypi.python.org/packages/69/06/3b32c468dec8b13bf850b1d71a093cda2098dfc2fc973e245cb2558fe7bb/scdl-1.6.3.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-docopt
BuildRequires:  python3-mutagen
BuildRequires:  python3-termcolor
BuildRequires:  python3-requests
BuildRequires:  python3-clint
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       python3
Requires:       python3-docopt
Requires:       python3-mutagen
Requires:       python3-termcolor
Requires:       python3-requests
Requires:       python3-clint
BuildArch:      noarch

%description
Download Music from Souncloud.

%prep
%setup -q

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}


%files
%defattr(-,root,root)
%doc LICENSE README.md
%{python3_sitelib}/*
%{_bindir}/scdl