From 99f62de1fe40197ca29548e8f9009e63836c2c89 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Nov 14 2013 05:03:06 +0000 Subject: Initial SETUP. --- diff --git a/.gitignore b/.gitignore index e69de29..f1a8996 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-bna-3.2.tar.gz diff --git a/python-bna.spec b/python-bna.spec new file mode 100644 index 0000000..ff95bf5 --- /dev/null +++ b/python-bna.spec @@ -0,0 +1,36 @@ +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 - 3.2-2 +- Add license file. + +* Thu Aug 15 2013 Christopher Meng - 3.2-1 +- Initial Package. diff --git a/sources b/sources index e69de29..6930531 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0040adc56b3ee256d85becddb2b3d613 python-bna-3.2.tar.gz