SHA256
1
0
forked from pool/inxi
inxi/inxi.spec

55 lines
1.6 KiB
RPMSpec

#
# spec file for package inxi
#
# Copyright (c) 2011-2015 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/
#
Name: inxi
Version: 2.2.19
#revision: 2592
Release: 0
License: GPL-3.0+
Summary: A full featured system information script
Url: http://code.google.com/p/inxi/
Group: System/Console
Source0: %{name}.tar.gz
#Source0 via `svn checkout http://inxi.googlecode.com/svn/trunk/ inxi-read-only`
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