]> git.pld-linux.org Git - SPECS.git/blob - wakelan.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / wakelan.spec
1 Summary:        wakelan - send a wake-on-lan packet
2 Summary(pl.UTF-8):      wakelan - wysyła pakiet WOL
3 Name:           wakelan
4 Version:        1.1
5 Release:        5
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        ftp://sunsite.unc.edu/pub/Linux/system/network/misc/%{name}-%{version}.tar.gz
9 # Source0-md5:  4a3a31d874967cd6ac761b7d4323e0d5
10 Patch0:         %{name}-build.patch
11 BuildRequires:  autoconf
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 WakeLan sends a properly formatted UDP packet across the network which
16 will cause a wake-on-lan enabled computer to power on.
17
18 %description -l pl.UTF-8
19 WakeLan wysyła pakiet UDP przez sieć, który powoduje włączenie
20 komputera z WOL.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 %{__autoconf}
28 %configure
29
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
35
36 %{__make} install \
37         bindir=$RPM_BUILD_ROOT%{_bindir} \
38         mandir=$RPM_BUILD_ROOT%{_mandir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README
46 %attr(755,root,root) %{_bindir}/*
47 %{_mandir}/man1/*
This page took 3.115418 seconds and 3 git commands to generate.