source: projects/specs/branches/6/f/fping/fping-vl.spec @ 6386

Revision 6386, 2.4 KB checked in by Takemikaduchi, 12 years ago (diff)

gob2,g-wrap,hyphen,libdap: new upstream release
others: rebuild

Line 
1%define real_version 2.4b2
2
3Summary: Utility to ping multiple hosts at once
4Name: fping
5Version: 2.4
6#Release: 0vl0.b2
7Release: 2.b2%{?_dist_release}
8License: distributable
9Group: Applications/Internet
10URL: http://www.fping.com/
11
12Source: http://www.fping.com/download/fping-%{real_version}.tar.gz
13Patch0: fping-ac_fixes.patch
14Patch1: fping-ipv6.patch
15Patch2: fping-ipv6-ac.patch
16Patch3: fping-2.4b2-fflush.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires: autoconf, automake
20
21%description
22fping is a ping-like program which uses the Internet Control Message
23Protocol (ICMP) echo request to determine if a target host is responding.
24
25fping is different from ping in that you can specify any number of hosts
26on the command line, or specify a file containing the lists of hosts to
27ping. Instead of trying one host until it timeouts or replies, fping will
28send out a ping packet and move on to the next host in a round-robin fashion.
29
30If a host replies, it is noted and removed from the list of hosts to check.
31If a host does not respond within a certain time limit and/or retry limit it
32will be considered unreachable.
33
34%prep
35%setup -n %{name}-%{real_version}
36%patch0 -p1
37%patch1 -p1
38%patch2 -p1
39%patch3 -p1
40%{__aclocal}
41%{__autoconf}
42%{__autoheader}
43%{__automake} --add-missing
44
45%build
46%configure
47%{__make} %{?_smp_mflags}
48%{__mv} -f fping fping6
49
50%configure --disable-ipv6
51%{__make} %{?_smp_mflags}
52
53
54%install
55%{__rm} -rf %{buildroot}
56%makeinstall
57%{__install} -D -m4750 fping6 %{buildroot}%{_sbindir}/fping6
58%{__ln_s} -f fping.8 %{buildroot}%{_mandir}/man8/fping6.8
59
60%clean
61%{__rm} -rf %{buildroot}
62
63%files
64%defattr(-, root, root, 0755)
65%doc ChangeLog COPYING README
66%doc %{_mandir}/man8/fping.8*
67%doc %{_mandir}/man8/fping6.8*
68%attr(4750, root, adm) %{_sbindir}/fping
69%attr(4750, root, adm) %{_sbindir}/fping6
70
71%changelog
72* Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4-2.b2
73- rebuild with Vine6 environment
74
75* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1.b2vl5
76- applied new versioning policy
77
78* Tue Nov 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-0vl0.b2
79- initial build for Vine Linux based on DAG package.
80
81* Tue Feb 15 2005 Ken Tsukahara <ken.tsukahara@tmt-d.co.jp> 2.4-1.b2
82- Flush stdout for each line.
83- Fix stdout/stderr confusion in Patch1.
84
85* Sun Jun 01 2003 Dag Wieers <dag@wieers.com> - 2.4-0.b2
86- Adapted version to new scheme.
87
88* Mon Feb 17 2003 Dag Wieers <dag@wieers.com> - 2.4b2-0
89- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.