File wol.spec of Package wol

#
# spec file for package wol (Version 0.7.1)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           wol
Summary:        Wake On Lan client
Version:        0.7.1
Release:        137
License:        GPL-2.0+
Group:          Productivity/Networking/Boot/Utilities
Source:         %{name}-%{version}.tar.bz2
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
* Mon Feb 25 2008 crrodriguez@suse.de
- should be install_info_delete in postun section
* Mon Feb 25 2008 crrodriguez@suse.de
- use find_lang macro
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat May 01 2004 nashif@suse.de
- Update to 0.7.1
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Tue Dec 09 2003 nashif@suse.de
- Initial Release ( Version 0.7.0 )
openSUSE Build Service is sponsored by