%global srcname bna
Name: python-%{srcname}
Version: 4.1.0
Release: 1%{?dist}
Summary: Battle.net Authenticator routines in Python
License: MIT
URL: http://github.com/Adys/python-bna
Source0: https://pypi.python.org/packages/source/b/bna/bna-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildArch: noarch
Provides: python3-%{srcname}
%description
This is a Python library of Battle.net Authenticator routines,
this package also contains a command-line Battle.net authenticator.
%prep
%setup -q -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%files
%doc README.rst
%license LICENSE
%{_bindir}/bna
%{python3_sitelib}/bna*
%{python3_sitelib}/__pycache__/bna*
%changelog
* Tue Apr 19 2016 Charalampos Stratakis <cstratak@redhat.com> - 4.1.0-1
- Update to version 4.1.0
- Change package to use Python 3
- Use of newest python macros
- Added license tag
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Sep 12 2013 Christopher Meng <rpm@cicku.me> - 3.2-2
- Add license file.
* Thu Aug 15 2013 Christopher Meng <rpm@cicku.me> - 3.2-1
- Initial Package.