# Created by pyp2rpm-3.3.8 %global pypi_name archey4 %global pypi_version 4.14.0.1 Name: %{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: a simple system information tool written in Python License: GPLv3 URL: https://github.com/HorlogeSkynet/archey4 Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: (python3dist(distro) >= 1.3 with python3dist(distro) < 2) BuildRequires: (python3dist(netifaces) >= 0.10 with python3dist(netifaces) < 1) BuildRequires: python3dist(setuptools) Requires: procps-ng lm_sensors pciutils bind-utils wmctrl virt-what %description a simple system information tool written in Python %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 %license LICENSE %doc README.md /usr/share/doc/archey4/CHANGELOG.md /usr/share/doc/archey4/COPYRIGHT.md /usr/share/doc/archey4/README.md %{_bindir}/archey %{python3_sitelib}/archey %{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info %{_mandir}/man1/archey.1.gz %changelog * Tue Dec 20 2022 topazus - 4.14.0.1-1 - Initial package.