Name: lshw Version: B.02.18 Release: 20 Summary: Hardware lister License: GPLv2 URL: http://ezix.org/project/wiki/HardwareLiSter Source0: http://www.ezix.org/software/files/%{name}-%{version}.tar.gz Patch0: lshw-B.02.18-scandir.patch Patch1: lshw-B.02.18-revert-json.patch BuildRequires: gcc gcc-c++ cmake gettext BuildRequires: desktop-file-utils libappstream-glib ninja-build BuildRequires: python3-devel gtk2-devel >= 2.4 Requires: hwdata %description lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines (PowerMac G4 is known to work). %package help Summary: Doc files for %{name} BuildArch: noarch %description help The %{name}-help package contains doc files for %{name}. %prep %autosetup -p1 %build %make_build %install %make_install ln -s gtk-lshw %{buildroot}/%{_sbindir}/lshw-gui rm -rf %{buildroot}/%{_datadir}/locale/fr/ %files %license COPYING %{_sbindir}/*lshw* %files help %doc README.md %{_mandir}/man1/lshw.1.gz /usr/share/lshw/* %changelog * Mon Jan 13 2020 chengquan - B.02.18-20 - remove gui function and unrelated patches * Mon Sep 9 2019 luhuaxin - B.02.18-19 - Package init