source: projects/specs/trunk/f/fping/fping-vl.spec @ 7114

Revision 7114, 2.4 KB checked in by Takemikaduchi, 11 years ago (diff)

new upstream release

Line 
1Summary: Utility to ping multiple hosts at once
2Name: fping
3Version: 3.4
4#Release: 0vl0.b2
5Release: 1%{?_dist_release}
6License: distributable
7Group: Applications/Internet
8URL: http://fping.org/
9
10Source: http://fping.org/dist/%{name}-%{version}.tar.gz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13
14Vendor: Project Vine
15Distribution: Vine Linux
16Packager: Takemikaduchi
17
18%description
19fping is a ping-like program which uses the Internet Control Message
20Protocol (ICMP) echo request to determine if a target host is responding.
21
22fping is different from ping in that you can specify any number of hosts
23on the command line, or specify a file containing the lists of hosts to
24ping. Instead of trying one host until it timeouts or replies, fping will
25send out a ping packet and move on to the next host in a round-robin fashion.
26
27If a host replies, it is noted and removed from the list of hosts to check.
28If a host does not respond within a certain time limit and/or retry limit it
29will be considered unreachable.
30
31%prep
32%setup -q
33
34%build
35cp src/Makefile.in src/Makefile.in.orig
36sed -i 's|CFLAGS = @CFLAGS@|CFLAGS = @CFLAGS@ -DIPV6|' src/Makefile.in
37%configure
38%{__make} %{?_smp_mflags}
39%{__mv} -f src/fping fping6
40
41%{__make} distclean
42cp src/Makefile.in.orig src/Makefile.in
43%configure
44%{__make} %{?_smp_mflags}
45
46%install
47%{__rm} -rf $RPM_BUILD_ROOT
48make install DESTDIR=$RPM_BUILD_ROOT
49
50%{__install} -m4755 fping6 $RPM_BUILD_ROOT%{_sbindir}/fping6
51
52%clean
53%{__rm} -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(-, root, root, 0755)
57%doc ChangeLog COPYING README
58%doc %{_mandir}/man8/fping.8*
59%attr(4755, root, root) %{_sbindir}/fping
60%attr(4755, root, root) %{_sbindir}/fping6
61
62%changelog
63* Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4-1
64- new upstream release
65
66* Mon Jun 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2-1
67- update to 3.2
68- remove old patches
69
70* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1.b2vl5
71- applied new versioning policy
72
73* Tue Nov 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-0vl0.b2
74- initial build for Vine Linux based on DAG package.
75
76* Tue Feb 15 2005 Ken Tsukahara <ken.tsukahara@tmt-d.co.jp> 2.4-1.b2
77- Flush stdout for each line.
78- Fix stdout/stderr confusion in Patch1.
79
80* Sun Jun 01 2003 Dag Wieers <dag@wieers.com> - 2.4-0.b2
81- Adapted version to new scheme.
82
83* Mon Feb 17 2003 Dag Wieers <dag@wieers.com> - 2.4b2-0
84- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.