From d15775d453e9ea7c888c89bc2eead127d2a2e06d Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Mon, 6 Dec 2021 22:43:52 +0100 Subject: [PATCH] up to 0.5.0 --- python3-click-threading.spec | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 python3-click-threading.spec diff --git a/python3-click-threading.spec b/python3-click-threading.spec new file mode 100644 index 0000000..c032c36 --- /dev/null +++ b/python3-click-threading.spec @@ -0,0 +1,42 @@ +%define module click_threading +%define pypi_name click-threading +Summary: Multithreaded Click apps made easy +Name: python3-click-threading +Version: 0.5.0 +Release: 1 +License: MIT +Group: Libraries/Python +#Source0Download: https://pypi.org/simple/click-threading/ +Source0: https://files.pythonhosted.org/packages/source/c/click-threading/%{pypi_name}-%{version}.tar.gz +# Source0-md5: 4a6a345a3cc236fdd2b670588cc4b8a0 +URL: https://pypi.org/project/click-threading/ +BuildRequires: python3-modules >= 1:3.6 +BuildRequires: python3-setuptools +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.714 +Requires: python3-modules >= 1:3.6 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Multithreaded Click apps made easy. + +%prep +%setup -q -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +rm -rf $RPM_BUILD_ROOT + +%py3_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.rst +%{py3_sitescriptdir}/%{module} +%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info -- 2.44.0