# # spec file for package inxi # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011-2016 Malcolm J Lewis # # 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 _rev af0630e3067c138893e243896e1767c93d2a2856 Name: inxi Version: 2.3.8 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/%{name}/archive/%{_rev}.tar.gz#/%{name}-%{version}.tar.gz Requires: bash %if 0%{?suse_version} >= 1120 BuildArch: noarch %else BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif %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 %setup -q -n %{name}-%{_rev} chmod 0644 inxi.changelog README.txt %build # Nothing to build. %install install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name} install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %defattr(-,root,root) %doc inxi.changelog LICENSE.txt README.txt %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{?ext_man} %changelog