We've got some updates regarding OBS and GitHub/GitLab integration. Have a look and let us know what you think! 🧐


File inxi.spec of Package inxi

# spec file for package inxi
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011-2016 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 http://bugs.opensuse.org/

%define _version 3.0.29-1

Name:           inxi
Version:        3.0.29
Release:        0
Summary:        A system information script
License:        GPL-3.0
Group:          System/Console
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)
%if 0%{?suse_version} >= 1120
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

%setup -q -n %{name}-%{_version}
sed -i '/^#!/s/env \(.*\)$/\1/' %{name}

# Nothing to build.

install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name}
install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1

%if 0%{?suse_version} >= 1500
%license LICENSE.txt
%doc LICENSE.txt
%doc inxi.changelog README.txt

openSUSE Build Service is sponsored by