File autowol.spec of Package autowol
#
# spec file for building an autowol rpm package
#
# Copyright (c) 2023 Mateusz Viste
#
Name: autowol
Version: 0.9.3
Release: 1%{?dist}
Summary: Automatically turns on a local computer when needed
Url: http://autowol.sourceforge.net/
Group: Productivity/Networking/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: MIT
Source0: %{name}-%{version}.tar.xz
BuildRequires: libpcap-devel
%description
autowol monitors the local ARP traffic and sends WOL (Wake-On-LAN) packets
whenever a sleeping host is being looked for.
%prep
%setup
%build
make
%check
%install
make install DESTDIR=%{buildroot}
%files
%attr(755, root, root) %dir /usr/share/doc/autowol
%attr(644, root, root) %doc /usr/share/doc/autowol/autowol.txt
%attr(755, root, root) /usr/sbin/autowol
%changelog
* Thu Nov 12 2020 Mateusz Viste <mateusz@localhost> 0.9.3
- rely on libpcap for ARP filtering: better performances,
- fixed --if support (was assuming Linux SLL encapsulation).