diff --git a/boom-1.0.tar.gz b/boom-1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..52299aeed27e1c6c410732ad400b74a0790e2629 Binary files /dev/null and b/boom-1.0.tar.gz differ diff --git a/python-boom.spec b/python-boom.spec new file mode 100644 index 0000000000000000000000000000000000000000..84e6aa848839c97692036ec5eb77a2adde68ffa6 --- /dev/null +++ b/python-boom.spec @@ -0,0 +1,55 @@ +%global pypi_name boom +%global pypi_version 1.0 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: Simple HTTP Load tester + +License: Apache-2.0 +URL: https://github.com/tarekziade/boom +Source0: https://files.pythonhosted.org/packages/source/%/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-gevent +BuildRequires: python3-requests +BuildRequires: python3-setuptools + +%description +Boom is a simple command line tool to send some load to a web app. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-gevent +Requires: python3-requests +%description -n python3-%{pypi_name} +Boom is a simple command line tool to send some load to a web app. + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{_bindir}/%{pypi_name} +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Fri Jan 28 2022 zhangkea - 1.0-1 +- Initial package. \ No newline at end of file