source: projects/specs/trunk/w/wol/wol-vl.spec @ 521

Revision 521, 1.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define For_Vine 1
2
3%define sversion 0.1
4%define srelease 4
5%define _bindir /usr/bin/
6
7Summary: Wakeup on LAN client
8Summary(ja): Wakeup on LAN クライアント
9Name: wol
10Version: %{sversion}
11Source0: wol-%{sversion}.tar.gz
12License: distributable
13Group: Applications/System
14URL: http://www.gcd.org/sengoku/freesoft.ja.html
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17%if %{For_Vine}
18Release: %{srelease}%{?_dist_release}
19Vendor: Project Vine
20Distribution: Vine Linux
21%else
22Release: %{srelease}
23%endif
24
25
26%description
27Wakeup on LAN client program.
28
29Usage: wol <IP address> <MAC address>
30
31Wakeup a machine whose interface is <MAC address>.
32The wakeup packet is sent to <IP address>,
33so mostly <IP address> is a broadcast address.
34
35Example: wol 192.168.1.255 12:xx:56:76:9a:xx
36
37%prep
38%setup -c
39
40%build
41cc ${RPM_OPT_FLAGS} -o wol wol.c
42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{_bindir}
46install wol $RPM_BUILD_ROOT%{_bindir}
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-,root,root)
53%{_bindir}/wol
54
55%changelog
56* Sun Oct 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-4
57- applied new versioning policy
58- spec in UTF-8
59
60* Mon Jul  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-3vl1
61- rebuilt with new toolchains
62- changed Group to Applications/System
63- added Japanese summary
64
65* Sun May 12 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
66- 0.1-0vl2 / 0.1-2
67- for Vine 2.5
68
69* Sun May 12 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
70- 0.1-0vl1 / 0.1-1
71- 1st release for Vine 2.1.5
72
73
74
Note: See TracBrowser for help on using the repository browser.