File python3-fbtftp.spec of Package python3-fbtftp

#
# spec file for package python3-fbtftp
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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-fbtftp
Version:        0.0.0.git1477413141.f162e9c
Release:        0
Summary:        A dynamic TFTP server framework
License:        BSD-3-Clause
Group:          Development/Languages/Python
Url:            https://github.com/facebook/fbtftp
Source:         fbtftp-%{version}.tar.xz
BuildRequires:  python3-coverage
BuildRequires:  python3-devel
BuildRequires:  python3-flake8
BuildRequires:  python3-mock
BuildRequires:  python3-nose
BuildRequires:  python3-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
fbtftp is Facebook's implementation of a dynamic TFTP server framework.
It lets you create custom TFTP servers and wrap your own logic into it in
a very simple manner.

%prep
%setup -q -n fbtftp-%{version}

%build
python3 setup.py build

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

%check
python3 setup.py test

%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README.md
%doc examples/
%{python3_sitelib}/fbtftp
%{python3_sitelib}/fbtftp-0.1-py%{py3_ver}.egg-info

%changelog
openSUSE Build Service is sponsored by