# # spec file for package inxi # # Copyright (c) 2016 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 ec2c5027c2067a994732318f95ee6b81f6768e1f Name: inxi Version: 2.3.3 Release: 0 Summary: A full featured 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 Universal, portable, system info script for console and irc. %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