2013-11-30 02:03:17 +00:00
|
|
|
#
|
|
|
|
# spec file for package inxi
|
|
|
|
#
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: inxi
|
2016-05-16 04:53:59 +00:00
|
|
|
Version: 2.3.0
|
2013-11-30 02:03:17 +00:00
|
|
|
Release: 0
|
|
|
|
License: GPL-3.0+
|
|
|
|
Summary: A full featured system information script
|
2015-10-13 07:49:39 +00:00
|
|
|
Url: https://github.com/smxi/inxi
|
2013-11-30 02:03:17 +00:00
|
|
|
Group: System/Console
|
2016-05-16 04:53:59 +00:00
|
|
|
Source0: https://raw.githubusercontent.com/smxi/inxi/master/inxi.tar.gz
|
2013-11-30 02:03:17 +00:00
|
|
|
Requires: bash
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Universal, portable, system info script for console and irc.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{name}
|
|
|
|
chmod 0644 inxi.changelog
|
|
|
|
|
|
|
|
%build
|
|
|
|
# None required.
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
|
|
install -m 0755 %{name} %{buildroot}%{_bindir}/
|
|
|
|
install -m 0644 %{name}.1%{?ext_man} %{buildroot}%{_mandir}/man1/
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc inxi.changelog
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|