File siga.spec of Package siga

#
# spec file for package siga
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010-7/2011 Sascha Manns <saigkill@opensuse.org> 
# Copyright (c) 8/2011 - now open-slx GmbH <Sascha.Manns@open-slx.de>
#
# 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 _gitrev 13d8c44

Name:           siga
Url:            http://github.com/saigkill/siga
License:        GPL-2.0+
Group:          Documentation/SUSE
Requires:       w3m
AutoReqProv:    on
Version:        12.100
Release:        0
Source:         %{name}-%{version}.tar.bz2
Summary:        System Information GAthering
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
SIGA stands for System Information GAthering. It collects various
system information and outputs it in HTML or ASCII format. Since it
needs root permissions, you will be asked for the root password. It is
very handy as an information source during installation support phone
calls.

%prep
%setup -q -n saigkill-siga-%{_gitrev}

%build

%install
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man1
install -m 755 siga %{buildroot}/%{_bindir}
install -m 644 siga.1.gz %{buildroot}/%{_mandir}/man1/siga.1.gz

%files
%defattr(-,root,root)
%{_bindir}/siga
%{_mandir}/man1/siga.1.gz
%doc AUTHORS CHANGELOG README

%changelog
openSUSE Build Service is sponsored by