Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37497702
en ru br
ALT Linux repos
S:3.3.29-alt1

Group :: Monitoring
RPM: inxi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: inxi
Version: 3.3.29
Release: alt1

Summary: A full featured system information script
Summary(ru): Скрипт вывода полной информации об оборудовании и системе

License: GPL-3.0-or-later
Group: Monitoring
URL: https://smxi.org
Vcs: https://github.com/smxi/inxi
# Source-url: https://github.com/smxi/inxi/archive/%version/%name-%version-1.tar.gz
Source: %name-%version.tar.gz

Packager: Andrey Cherepanov <cas at altlinux.org>

BuildArch: noarch

Requires: /usr/bin/perl
Requires: net-tools
Requires: pciutils
Requires: procps
Requires: lm_sensors
Requires: usbutils
Requires: hddtemp
# Recommends: glxinfo

AutoReq: no

%description
Inxi offers a wide range of built-in options, as well as a good number
of extra features which require having the script recommends installed
on the system.

%description -l ru
Inxi позволяет выводить различную информацию об используемом
оборудовании и о работе системы.

%prep
%setup
# Disable 'update' with inxi.conf method (suggested by upstream). This will
# tell user:
#   Error 20: Option: U has been disabled by the inxi distribution maintainer.
cat > %name.conf <<-EOF
# Updates are disabled because this is a system package.
ALLOW_UPDATE=false
EOF
sed -i '1s|/usr/bin/env perl|%__perl|' %name

%install
install -p -D -m 755 %name %buildroot/%_bindir/%name
install -p -D -m 644 %name.1 %buildroot/%_man1dir/%name.1
install -p -D -m 644 %name.conf %buildroot%_sysconfdir/%name.conf

%check
perl -c inxi
./inxi -V

%files
%doc %name.changelog README.txt LICENSE.txt
%config(noreplace) %_sysconfdir/%name.conf
%_bindir/%name
%_man1dir/%name.1*

%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