File etherwake.spec of Package etherwake

#
# spec file for package etherwake (Version 1.09)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           etherwake
Version:        1.09
Release:        0
#
License:        GPL
Group:          Productivity/Networking/Boot/Utilities
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#
Source:         etherwake_1.09.orig.tar.gz
#
Summary:        A little tool to send magic Wake-on-LAN packets

%description
A little tool to send magic Wake-on-LAN packets
You can wake up WOL compliant Computers which have been powered down to
sleep mode or start WOL compliant Computers with a BIOS feature.

WOL is an abbreviation for Wake-on-LAN. It is a standard that allows you
to turn on a computer from another location over a network connection.

etherwake also supports WOL passwords.


Authors:
--------
    Donald Becker <becker@scyld.com>


%prep
%setup -n etherwake-1.09.orig

%build
gcc %{optflags} -o etherwake ether-wake.c

%install
%{__install} -D -m 0755 etherwake   %{buildroot}%{_sbindir}/etherwake
%{__install} -D -m 0644 etherwake.8 %{buildroot}%{_mandir}/man8/etherwake.8

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_sbindir}/etherwake
%{_mandir}/man8/etherwake.8*

%changelog
openSUSE Build Service is sponsored by