Sisyphus repository
Last update: 19 october 2019 | SRPMs: 17506 | Visits: 15298974
en ru br
ALT Linux repos
S:0.6-alt0.1.alpha.gitb2991d7
5.0: 0.4.2.3-alt1
4.1: 0.4.2.3-alt1
4.0: 0.4.1-alt0.1

Group :: System/Kernel and hardware
RPM: hardinfo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: hardinfo
Version: 0.6
Release: alt0.1.alpha.gitb2991d7

Summary: A system profiler for Linux
License: GPLv2+
Group: System/Kernel and hardware

Url: http://hardinfo.org
Source: %name-%version.tar
Patch0: 00-fix-cmake.patch
Patch1: 01-fix-impldecl.patch
Packager: Leonid Krivoshein <klark at altlinux.org>

BuildRequires(pre): cmake rpm-macros-cmake

BuildRequires: gcc-c++
BuildRequires: zlib-devel
BuildRequires: libpng-devel
BuildRequires: libgtk+2-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libdrm-devel
BuildRequires: libexpat-devel
BuildRequires: libpixman-devel
BuildRequires: libharfbuzz-devel
BuildRequires: desktop-file-utils
BuildRequires: libsoup-devel

Requires: pciids
Requires: pciutils
Requires: usbutils

%description
HardInfo is a system profiler for Linux systems.
It can display information about the hardware, software,
and perform simple benchmarks.

%prep
%setup
%patch0 -p1
%patch1 -p1

%build
%cmake_insource
%make_build

%install
%makeinstall_std
%find_lang %name

desktop-file-install --vendor="" \
 --remove-category="Application" \
 --add-category="Settings;HardwareSettings;" \
 --dir %buildroot%_desktopdir %buildroot%_desktopdir/%name.desktop

%files -f %name.lang
%_bindir/%name
%dir %_libdir/%name
%dir %_libdir/%name/modules
%_libdir/%name/modules/*so
%dir %_datadir/%name
%dir %_datadir/%name/pixmaps
%_datadir/%name/pixmaps/*
%_datadir/%name/benchmark.conf
%_datadir/%name/benchmark.data
%dir %_datadir/%name/doc
%doc %_datadir/%name/doc/*
%_man1dir/%name.*
%_desktopdir/%name.desktop

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin