]>
Commit | Line | Data |
---|---|---|
d15775d4 JP |
1 | %define module click_threading |
2 | %define pypi_name click-threading | |
3 | Summary: Multithreaded Click apps made easy | |
4 | Name: python3-click-threading | |
5 | Version: 0.5.0 | |
661a11ea | 6 | Release: 4 |
d15775d4 JP |
7 | License: MIT |
8 | Group: Libraries/Python | |
9 | #Source0Download: https://pypi.org/simple/click-threading/ | |
10 | Source0: https://files.pythonhosted.org/packages/source/c/click-threading/%{pypi_name}-%{version}.tar.gz | |
11 | # Source0-md5: 4a6a345a3cc236fdd2b670588cc4b8a0 | |
12 | URL: https://pypi.org/project/click-threading/ | |
13 | BuildRequires: python3-modules >= 1:3.6 | |
14 | BuildRequires: python3-setuptools | |
15 | BuildRequires: rpm-pythonprov | |
16 | BuildRequires: rpmbuild(macros) >= 1.714 | |
17 | Requires: python3-modules >= 1:3.6 | |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Multithreaded Click apps made easy. | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{pypi_name}-%{version} | |
26 | ||
27 | %build | |
28 | %py3_build | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %py3_install | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc README.rst | |
41 | %{py3_sitescriptdir}/%{module} | |
42 | %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info |