Name: python-bna
Version: 3.2
Release: 2%{?dist}
Summary: Battle.net Authenticator routines in Python
License: MIT
URL: http://github.com/Adys/python-bna
Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildRequires: python2-devel
BuildArch: noarch
%description
This is a Python library of Battle.net Authenticator routines,
this package also contains a command-line Battle.net authenticator.
%prep
%setup -q
sed -i 's|/usr/bin/env python|%{__python2}|g' *.py
%build
%{__python2} setup.py build
%install
%{__python2} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot}
%files
%doc LICENSE README.rst
%{_bindir}/bna
%{python2_sitelib}/bna*
%{python2_sitelib}/python_bna-%{version}-py%{python_version}.egg-info
%changelog
* 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.