diff --git a/blowfish-0.6.1.tar.bz2 b/blowfish-0.6.1.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..a981e299455780a404e8d89f7c94c0ad90e0e378 Binary files /dev/null and b/blowfish-0.6.1.tar.bz2 differ diff --git a/python-blowfish.spec b/python-blowfish.spec new file mode 100644 index 0000000000000000000000000000000000000000..ed886963b0a2d4acf0a27282f4533d403bb6e320 --- /dev/null +++ b/python-blowfish.spec @@ -0,0 +1,50 @@ +%{!?_licensedir: %global license %%doc} + +%global modname blowfish +%global sum Fast, efficient Blowfish cipher implementation in pure Python (3.4+) + +Name: python-blowfish +Version: 0.6.1 +Release: 1 +Summary: %{sum} + +License: GPLv3+ +URL: http://pypi.python.org/pypi/blowfish +Source0: %{modname}-%{version}.tar.bz2 + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +%{sum}. + +%package -n python3-%{modname} +Summary: %{sum} +%{?python_provide:%python_provide python3-%{modname}} + +%description -n python3-%{modname} +%{sum}. + + +%prep +%autosetup -n %{modname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m unittest setup.py + +%files -n python3-%{modname} +%doc README.rst +%license LICENSE +%{python3_sitelib}/%{modname}* +%{python3_sitelib}/__pycache__/* + +%changelog +* Wed Jun 30 2021 Lianguo Wang - 0.6.1 +- Add src.