File hw-probe.spec of Package hw-probe

Summary:    Check operability of computer hardware and find drivers
Name:       hw-probe
Version:    1.5
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 hardware state and system
logs. The tool checks operability of devices by analysis of logs
and returns a permanent url to view the probe of the computer.

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

    sudo -E hw-probe -all -upload

By creating probes you contribute to the HDD/SSD Desktop-Class
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}