]> git.pld-linux.org Git - packages/etherwake.git/blame - etherwake.spec
- use http://ftp.debian.org/ url
[packages/etherwake.git] / etherwake.spec
CommitLineData
b524c716
AM
1Summary: etherwake - send a wake-on-lan packet
2Summary(pl.UTF-8): etherwake - wysyła pakiet WOL
3Name: etherwake
4Version: 1.09
5Release: 1
6License: GPL
7Group: Networking/Utilities
6d01dd6c 8Source0: http://ftp.debian.org/debian/pool/main/e/etherwake/%{name}_%{version}.orig.tar.gz
b524c716 9# Source0-md5: 628e8b2a28d47f262e4c26c989402a59
6d01dd6c 10Patch0: http://ftp.debian.org/debian/pool/main/e/etherwake/%{name}_%{version}-3.diff.gz
b524c716
AM
11# Patch0-md5: c6fbb2cfde669866d67f6cf8c2cc686b
12Patch1: %{name}-build.patch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16WakeLan sends a properly formatted UDP packet across the network which
17will cause a wake-on-lan enabled computer to power on.
18
19%description -l pl.UTF-8
20WakeLan wysyła pakiet UDP przez sieć, który powoduje włączenie
21komputera 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
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
36
37%{__make} install \
38 DESTDIR=$RPM_BUILD_ROOT
39
40install etherwake.8 $RPM_BUILD_ROOT%{_mandir}/man8
41
42%clean
43rm -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.109967 seconds and 4 git commands to generate.