File hw-probe.spec of Package hw-probe

Summary:    A tool to check operability of computer hardware
Name:       hw-probe
Version:    1.4
Release:    1
Group:      Development/Other
BuildArch:  noarch
License:    LGPLv2.1+
Source0:    hw-probe-%{version}.tar.gz
Requires:   perl
Requires:   perl-libwww-perl
Requires:   curl
Requires:   hwinfo
Requires:   dmidecode
Requires:   pciutils
Requires:   usbutils
Requires:   smartmontools
Requires:   hdparm
Requires:   sysstat
Requires:   util-linux
%ifarch %ix86 x86_64
Requires:   mcelog
%if 0%{?suse_version} || 0%{?sle_version}
Requires:   sensors
Requires:   lsb-release
Requires:   Mesa-demo-x
Requires:   acpica
%if 0%{?fedora}
Requires:   lm_sensors
Requires:   redhat-lsb-core
Requires:   mesa-demos
Requires:   acpica-tools

%define debug_package %{nil}

A tool to check operability of computer hardware and upload result
to the Linux hardware database.

Probe — is a snapshot of your computer's hardware state and system
logs. The tool returns a permanent URL to view the probe of the

The tool is intended to simplify collecting of logs necessary for
investigating hardware related problems. Just ask user to run one
simple command to collect all the system logs at once:

    sudo hw-probe -all -upload

By creating probes you contribute to the HDD/SSD Real-Life
Reliability Test study:

%setup -q -n hw-probe-%{version}
chmod 0644

# Nothing to build yet

mkdir -p %{buildroot}%{_prefix}
make install prefix=%{_prefix} DESTDIR=%{buildroot}

rm -rf %{buildroot}