]>
Commit | Line | Data |
---|---|---|
cc816579 | 1 | Summary: Click Modular Router |
5593e40e | 2 | Summary(pl): Click modularny router |
cc816579 | 3 | Name: click |
5593e40e | 4 | Version: 22_03_2004_one |
875c6db1 | 5 | Release: 0.1 |
cc816579 | 6 | License: MIT |
6fe57283 | 7 | URL: http://pdos.lcs.mit.edu/click/ |
cc816579 | 8 | Group: Networking/Admin |
5593e40e | 9 | Source0: http://duch.mimuw.edu.pl/~hunter/%{name}-cvs_%{version}.tar.gz |
cc816579 | 10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11 | ||
869595a3 | 12 | BuildRequires: libstdc++-devel |
13 | ||
cc816579 | 14 | %description |
54b7aa1f | 15 | Click is a modular software router developed by MIT LCS Parallel and |
16 | Distributed Operating Systems group, Mazu Networks, the ICSI Center for | |
17 | Internet Research, and now UCLA. Click routers are flexible, configurable, | |
18 | and easy to understand. | |
19 | ||
20 | A Click router is an interconnected collection of modules called elements; | |
21 | elements control every aspect of the routers behavior, from communicating | |
22 | with devices to packet modification to queueing, dropping policies and packet | |
23 | scheduling. Individual elements can have surprisingly powerful behavior, and | |
24 | it's easy to write new ones in C++. You write a router configuration by | |
25 | gluing elements together with a simple language. | |
cc816579 | 26 | |
875c6db1 | 27 | %description -l pl |
54b7aa1f | 28 | Click to modularny router. |
29 | ||
30 | BLA BLA BLA niech ktos to przetulaczy, ja ide spac. | |
cc816579 | 31 | |
875c6db1 | 32 | %prep |
33 | %setup -q -n one | |
cc816579 | 34 | |
35 | %build | |
36 | %{__autoconf} | |
37 | %{__aclocal} | |
875c6db1 | 38 | %configure \ |
cc816579 | 39 | --enable-nsclick \ |
40 | --enable-snmp \ | |
41 | --enable-analysis \ | |
42 | --enable-ipsec \ | |
43 | --enable-ip6 \ | |
44 | --enable-etherswitch \ | |
45 | --enable-radio \ | |
46 | --enable-local \ | |
875c6db1 | 47 | --enable-test \ |
48 | --enable-grid # include Grid elements (see FAQ) | |
49 | # --disable-int64 \ | |
cc816579 | 50 | |
51 | # empty LDLIBS - don't link with -lresolv, it's not necessary | |
52 | %{__make} \ | |
53 | LDLIBS="" | |
54 | ||
869595a3 | 55 | #%{__make} man |
cc816579 | 56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/bin} | |
60 | ||
869595a3 | 61 | #install arping clockdiff rdisc tracepath tracepath6 traceroute6 \ |
62 | # $RPM_BUILD_ROOT%{_sbindir} | |
cc816579 | 63 | |
869595a3 | 64 | #install ping ping6 $RPM_BUILD_ROOT/bin |
cc816579 | 65 | |
66 | install doc/*.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
67 | echo ".so tracepath.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tracepath6.8 | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
869595a3 | 74 | %doc %{_mandir}/man8/* |