forked from tkren/wake-on-lan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wol.spec
65 lines (52 loc) · 1.54 KB
/
wol.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Summary: The Wake On Lan client.
Name: wol
Version: 0.7.1
Release: 1
Copyright: GPL
Group: Application/Networking
Source: %{name}-%{version}.tar.gz
Url: http://ahh.sourceforge.net/wol/
Packager: Thomas Hager <[email protected]>
BuildRoot: /var/tmp/%{name}-root
%description
This is wol, the Wake On Lan client. It wakes up magic packet compliant
machines such as boxes with wake-on-lan ethernet-cards. Some workstations
provides SecureON which extends wake-on-lan with a password. This feature
is also provided by wol.
%prep
%setup
%build
%configure
make
%install
if [ -d $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
make DESTDIR=$RPM_BUILD_ROOT install
%clean
if [ -d $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
if [ -d $RPM_BUILD_DIR/%{name}-%{version} -a $RPM_BUILD_DIR/%{name}-%{version} != "/" ]; then
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
fi
%files
%doc ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README TODO
%{_infodir}/wol.*
%{_mandir}/*/*
%{_bindir}/*
%{_datadir}/locale/*/*/*
%changelog
* Sun Apr 18 2004 Thomas Krennwallner <[email protected]>
- new version 0.7.1
* Mon Aug 11 2003 Thomas Hager <[email protected]>
- fixed man path in %files section
* Sat Aug 09 2003 Thomas Krennwallner <[email protected]>
- new version 0.7.0
- manpage added
* Wed Jul 09 2003 Thomas Hager <[email protected]>
- added wol-pathname.patch
* Fri May 09 2003 Thomas Hager <[email protected]>
- removed $SOURCE/doc directory from %doc macro
* Thu May 08 2003 Thomas Hager <[email protected]>
- initial release