]> git.pld-linux.org Git - packages/etherwake.git/blob - etherwake.spec
- use http://ftp.debian.org/ url
[packages/etherwake.git] / etherwake.spec
1 Summary:        etherwake - send a wake-on-lan packet
2 Summary(pl.UTF-8):      etherwake - wysyła pakiet WOL
3 Name:           etherwake
4 Version:        1.09
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://ftp.debian.org/debian/pool/main/e/etherwake/%{name}_%{version}.orig.tar.gz
9 # Source0-md5:  628e8b2a28d47f262e4c26c989402a59
10 Patch0:         http://ftp.debian.org/debian/pool/main/e/etherwake/%{name}_%{version}-3.diff.gz
11 # Patch0-md5:   c6fbb2cfde669866d67f6cf8c2cc686b
12 Patch1:         %{name}-build.patch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 WakeLan sends a properly formatted UDP packet across the network which
17 will cause a wake-on-lan enabled computer to power on.
18
19 %description -l pl.UTF-8
20 WakeLan wysyła pakiet UDP przez sieć, który powoduje włączenie
21 komputera z WOL.
22
23 %prep
24 %setup -q -n %{name}-%{version}.orig
25 %patch0 -p1
26 %patch1 -p1
27
28 %build
29 %{__make} \
30         CC="%{__cc}" \
31         CFLAGS="%{rpmcflags} %{rpmcppflags} %{rpmldflags}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 install etherwake.8 $RPM_BUILD_ROOT%{_mandir}/man8
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_sbindir}/etherwake
48 %{_mandir}/man8/etherwake.8*
This page took 0.053102 seconds and 4 git commands to generate.