]>
Commit | Line | Data |
---|---|---|
756d2f39 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python3-cpuinfo | |
7 | version = 9.0.0 | |
8 | release = 1 | |
9 | thisapp = py-cpuinfo-%{version} | |
10 | ||
11 | groups = System/Libraries | |
12 | url = https://github.com/workhorsy/py-cpuinfo | |
13 | license = MIT | |
14 | summary = A module for getting CPU info with pure Python | |
15 | ||
16 | description | |
17 | Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work | |
18 | without any extra programs or libraries, beyond what your OS provides. | |
19 | end | |
20 | ||
21 | source_dl = https://github.com/workhorsy/py-cpuinfo/archive/refs/tags/v%{version}.tar.gz#/ | |
22 | ||
23 | build | |
24 | requires | |
25 | python3-devel | |
26 | python3-setuptools | |
27 | end | |
28 | ||
29 | build | |
30 | %{python3} setup.py build | |
31 | end | |
32 | ||
33 | install | |
34 | %{python3} setup.py install --root=%{BUILDROOT} | |
35 | end | |
36 | end | |
37 | ||
38 | packages | |
39 | package %{name} | |
40 | end |