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