]> git.pld-linux.org Git - SPECS.git/blob - netselect.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / netselect.spec
1 Summary:        Choose the fastest server automatically
2 Summary(pl.UTF-8):      Automatyczny wybór najszybszego serwera
3 Name:           netselect
4 Version:        0.3
5 Release:        1
6 License:        BSD
7 Group:          Networking/Utilities
8 Source0:        http://alumnit.ca/~apenwarr/netselect/%{name}-%{version}.tar.gz
9 # Source0-md5:  3a3714946db2458e5db3d55373057ef2
10 Patch0:         %{name}-debian.patch
11 Patch1:         %{name}-Makefile.patch
12 URL:            http://alumnit.ca/~apenwarr/netselect/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This is netselect, an ultrafast intelligent parallelizing
17 binary-search implementation of "ping". You give it a (possibly very
18 long) list of servers, and it chooses the fastest/closest one
19 automatically. It's good for finding the fastest ftp mirror, the least
20 laggy IRC server, or the best Squid neighbour.
21
22 %description -l pl.UTF-8
23 netselect to bardzo szybka, inteligentna, równoległa implementacja
24 polecenia "ping". Podaje mu się (prawdopodobnie bardzo długą) listę
25 serwerów, a on wybiera z nich automatycznie najszybszy/najbliższy.
26 Jest to przydatne do znajdowania najszybszego serwera ftp, najmniej
27 lagującego serwera IRC albo najlepszego sąsiedzkiego serwera proxy.
28
29 %prep
30 %setup -q -n %{name}
31 %patch0 -p1
32 %patch1 -p0
33
34 %build
35 %{__make} \
36         CC="%{__cc}" \
37         CFLAGS="%{rpmcflags}" \
38         LDFLAGS="%{rpmldflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc ChangeLog HISTORY README README.traceroute debian/changelog debian/copyright
52 %attr(4754,root,adm) %{_bindir}/netselect
53 %{_mandir}/man1/netselect.1*
This page took 0.469835 seconds and 3 git commands to generate.