2013-11-30 02:03:17 +00:00
|
|
|
#
|
|
|
|
# spec file for package inxi
|
|
|
|
#
|
2019-01-25 09:39:17 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-05-16 04:53:59 +00:00
|
|
|
# Copyright (c) 2011-2016 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
2013-11-30 02:03:17 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-06 19:13:49 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-11-30 02:03:17 +00:00
|
|
|
#
|
|
|
|
|
2016-11-02 22:50:22 +00:00
|
|
|
|
2019-01-25 09:39:17 +00:00
|
|
|
%define _version 3.0.30-1
|
2013-11-30 02:03:17 +00:00
|
|
|
Name: inxi
|
2019-01-25 09:39:17 +00:00
|
|
|
Version: 3.0.30
|
2013-11-30 02:03:17 +00:00
|
|
|
Release: 0
|
2016-11-05 19:53:59 +00:00
|
|
|
Summary: A system information script
|
2018-05-22 08:41:08 +00:00
|
|
|
License: GPL-3.0-or-later
|
2013-11-30 02:03:17 +00:00
|
|
|
Group: System/Console
|
2018-05-22 08:41:08 +00:00
|
|
|
URL: https://github.com/smxi/inxi
|
|
|
|
Source: https://github.com/smxi/inxi/archive/%{_version}.tar.gz#/%{name}-%{_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: packageand(wmctrl:xorg-x11-server)
|
|
|
|
Supplements: packageand(xdpyinfo:xorg-x11-server)
|
|
|
|
Supplements: packageand(xprop:xorg-x11-server)
|
|
|
|
Supplements: packageand(xrandr:xorg-x11-server)
|
2016-11-02 22:50:22 +00:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2013-11-30 02:03:17 +00:00
|
|
|
BuildArch: noarch
|
2016-11-02 22:50:22 +00:00
|
|
|
%else
|
2013-11-30 02:03:17 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2016-11-02 22:50:22 +00:00
|
|
|
%endif
|
2013-11-30 02:03:17 +00:00
|
|
|
|
|
|
|
%description
|
2016-11-05 19:53:59 +00:00
|
|
|
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.
|
2013-11-30 02:03:17 +00:00
|
|
|
|
|
|
|
%prep
|
2018-05-22 08:41:08 +00:00
|
|
|
%setup -q -n %{name}-%{_version}
|
|
|
|
sed -i '/^#!/s/env \(.*\)$/\1/' %{name}
|
2013-11-30 02:03:17 +00:00
|
|
|
|
|
|
|
%build
|
2016-11-02 22:50:22 +00:00
|
|
|
# Nothing to build.
|
2013-11-30 02:03:17 +00:00
|
|
|
|
|
|
|
%install
|
2016-11-02 22:50:22 +00:00
|
|
|
install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
2013-11-30 02:03:17 +00:00
|
|
|
|
|
|
|
%files
|
2018-10-06 19:13:49 +00:00
|
|
|
%if 0%{?suse_version} >= 1500 && 0%{?sle_version} >= 120300
|
2018-05-22 08:41:08 +00:00
|
|
|
%license LICENSE.txt
|
|
|
|
%else
|
2017-07-25 13:40:24 +00:00
|
|
|
%defattr(-,root,root)
|
2018-05-22 08:41:08 +00:00
|
|
|
%doc LICENSE.txt
|
|
|
|
%endif
|
|
|
|
%doc inxi.changelog README.txt
|
2013-11-30 02:03:17 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|