File wol.spec of Package wol
#
# spec file for package wol
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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: wol
Summary: Wake On Lan client
License: GPL-2.0+
Group: Productivity/Networking/Boot/Utilities
Version: 0.7.1
Release: 0
Source: http://sourceforge.net/projects/wake-on-lan/files/wol/%{version}/%{name}-%{version}.tar.gz
Url: http://ahh.sourceforge.net/wol/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
The Wake On Lan client wakes up magic packet compliant machines such as
boxes with wake-on-lan ethernet-cards. Some workstations provide
SecureON which extends wake-on-lan with a password. This feature is
also provided by wol.
Authors:
--------
Thomas Krennwallner <krennwallner@aon.at>
%prep
%setup -q
%build
%configure --disable-rpath
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%install_info --info-dir=%{_infodir} %{_infodir}/wol.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/wol.info.gz
%files -f %{name}.lang
%defattr(-,root,root)
%doc ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README TODO
%{_infodir}/wol.*
%{_mandir}/*/*
%{_bindir}/*
%changelog