inxi/inxi.spec
Alexei Sorokin 264d50a5f0 Accepting request 997622 from home:dirkmueller:Factory
- update to 3.3.20:
  1a. More or less completed verification of AMD cpu microarch/built/process, and
  added more accurate fallback cases for stray model IDs.
  1b. Extended Intel cpu data a bit more as well. Thanks linuxdaddy from slackware
  for the research help there.
  2. Tentative support for finit init system (fast init). Runs in /proc/1/comm,
  uses initctl, which may have been revived from its upstart days, not sure. Added
  potential support for nosh, linux only, don't know how to detect other bsd init
  system.
  3. Added amd/intel gpu product IDs.
  4. Added shortcut --filter-all/--za, activates all filters: -z, --zl, --zu, 
  --zv. Why not?
  5. Added support for dm types kdmctl and xdmctl, opensuse and maybe redhat use
  the latter to start the actual dm running the desktop/wm. You want to see that 
  because you need to do systemctl restart xdm to restart the actual dm. Thanks
  mrmazda for pointing out this one.
  6. Added AlmaLinux, RockyLinux, CentosStream to system base (RHEL derived).
  7. Basic Raptor Lake gpu/apu support added, with patterns to detect since few 
  product ids yet. Same applies to Arctic and Alchemist, which still have no 
  product IDs.
  8. More disk vendors and disk vendor ids, never stops - the waters flow on, the
  rain falls, then the sun comes out. Until one day it doesn't.
  * /usr/share/doc/packages/inxi/inxi.changelog.

OBS-URL: https://build.opensuse.org/request/show/997622
OBS-URL: https://build.opensuse.org/package/show/utilities/inxi?expand=0&rev=60
2022-08-18 11:10:37 +00:00

76 lines
2.3 KiB
RPMSpec

#
# spec file for package inxi
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2011-2022 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _version 3.3.20-1
Name: inxi
Version: 3.3.20
Release: 0
Summary: A system information script
License: GPL-3.0-or-later
URL: https://github.com/smxi/inxi
Source: https://github.com/smxi/inxi/archive/%{_version}.tar.gz#/%{_version}.tar.gz
Requires: pciutils
Requires: procps
Requires: util-linux
Recommends: Mesa-demo-x
Recommends: bind-utils
Recommends: dmidecode
Recommends: iproute2
Recommends: kmod-compat
Recommends: sensors
Recommends: tree
Recommends: usbutils
Recommends: perl(Cpanel::JSON::XS)
Recommends: perl(Time::HiRes)
Recommends: perl(XML::Dumper)
Suggests: curl
Suggests: freeipmi
Suggests: hddtemp
Suggests: sudo
Supplements: (wmctrl and xorg-x11-server)
Supplements: (xdpyinfo and xorg-x11-server)
Supplements: (xprop and xorg-x11-server)
Supplements: (xrandr and xorg-x11-server)
BuildArch: noarch
%description
inxi is a command line system information tool. It was forked from
infobash. The primary purpose of inxi is for support, and sys admin
use. inxi is used widely for forum and IRC support.
%prep
%autosetup -n %{name}-%{_version}
sed -i '/^#!/s/env \(.*\)$/\1/' %{name}
%build
# Nothing to build.
%install
install -d -m 0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
install -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
install -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%files
%license LICENSE.txt
%doc inxi.changelog README.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog