]>
Commit | Line | Data |
---|---|---|
cc816579 | 1 | Summary: Click Modular Router |
49b3969b | 2 | Summary(pl.UTF-8): Click - modularny router |
cc816579 | 3 | Name: click |
1057c897 | 4 | Version: 1.4.3 |
875c6db1 | 5 | Release: 0.1 |
cc816579 | 6 | License: MIT |
7 | Group: Networking/Admin | |
4c82dbd6 JB |
8 | #Source0Download: http://www.read.cs.ucla.edu/click/download |
9 | Source0: http://www.read.cs.ucla.edu/click/%{name}-%{version}.tar.gz | |
1057c897 | 10 | # Source0-md5: f719412d7baf4ff874af826a66e3254c |
4c82dbd6 | 11 | URL: http://www.read.cs.ucla.edu/click/ |
5aa8ca59 JB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
869595a3 | 14 | BuildRequires: libstdc++-devel |
0d6a2661 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
869595a3 | 16 | |
cc816579 | 17 | %description |
50740e28 | 18 | Click is a modular software router developed by MIT LCS Parallel and |
19 | Distributed Operating Systems group, Mazu Networks, the ICSI Center | |
20 | for Internet Research, and now UCLA. Click routers are flexible, | |
21 | configurable, and easy to understand. | |
54b7aa1f | 22 | |
50740e28 | 23 | A Click router is an interconnected collection of modules called |
24 | elements; elements control every aspect of the routers behavior, from | |
25 | communicating with devices to packet modification to queueing, | |
26 | dropping policies and packet scheduling. Individual elements can have | |
27 | surprisingly powerful behavior, and it's easy to write new ones in | |
28 | C++. You write a router configuration by gluing elements together with | |
29 | a simple language. | |
cc816579 | 30 | |
ccb95c9e JR |
31 | %description -l pl.UTF-8 |
32 | Click to modularny router rozwijany przez grupę MIT LCS Parallel and | |
0d6a2661 | 33 | Distributed Operating Systems, Mazu Networks, ICSI Center for Internet |
ccb95c9e JR |
34 | Research, a obecnie UCLA. Routery Click są elastyczne, konfigurowalne |
35 | i łatwe do zrozumienia. | |
0d6a2661 | 36 | |
ccb95c9e JR |
37 | Router Click to połączony zestaw modułów nazywanych elementami; |
38 | elementy kontrolują każdy aspekt zachowania routerów, od komunikacji z | |
39 | urządzeniami do modyfikowania pakietów, kolejkowania, polityki | |
40 | porzucania oraz schedulingu pakietów. Poszczególne elementy mogą mieć | |
41 | zaskakująco potężne zachowanie i łatwo pisać nowe w C++. Konfiguracją | |
42 | routera tworzy się przez sklejanie elementów w prostym języku. | |
cc816579 | 43 | |
50740e28 | 44 | %package devel |
5aa8ca59 | 45 | Summary: Development files for Click! modular router |
49b3969b | 46 | Summary(pl.UTF-8): Pliki programistyczne dla modularnego routera Click! |
50740e28 | 47 | Group: Development/Libraries |
48 | ||
49 | %description devel | |
5aa8ca59 JB |
50 | Development files for Click! modular router. |
51 | ||
ccb95c9e | 52 | %description devel -l pl.UTF-8 |
5aa8ca59 | 53 | Pliki programistyczne dla modularnego routera Click!. |
50740e28 | 54 | |
875c6db1 | 55 | %prep |
50740e28 | 56 | %setup -q |
cc816579 | 57 | |
58 | %build | |
59 | %{__autoconf} | |
60 | %{__aclocal} | |
0d6a2661 | 61 | %configure \ |
50740e28 | 62 | --disable-linuxmodule \ |
0d6a2661 JB |
63 | --enable-nsclick \ |
64 | --enable-snmp \ | |
65 | --enable-analysis \ | |
66 | --enable-ipsec \ | |
67 | --enable-ip6 \ | |
68 | --enable-etherswitch \ | |
69 | --enable-radio \ | |
70 | --enable-local \ | |
40a51e7b | 71 | --enable-test \ |
72 | --enable-grid # include Grid elements (see FAQ) | |
73 | # --disable-int64 \ | |
cc816579 | 74 | |
75 | # empty LDLIBS - don't link with -lresolv, it's not necessary | |
76 | %{__make} \ | |
77 | LDLIBS="" | |
78 | ||
869595a3 | 79 | #%{__make} man |
cc816579 | 80 | |
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/bin} | |
5aa8ca59 JB |
84 | |
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
cc816579 | 87 | |
50740e28 | 88 | #echo ".so tracepath.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tracepath6.8 |
cc816579 | 89 | |
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %files | |
94 | %defattr(644,root,root,755) | |
50740e28 | 95 | %attr(755,root,root) %{_bindir}/* |
96 | %{_mandir}/man*/* | |
97 | %{_datadir}/%{name}/elementmap.xml | |
98 | #/usr/share/click/srcdir | |
5aa8ca59 | 99 | %{_infodir}/click.info* |
50740e28 | 100 | |
101 | %files devel | |
102 | %defattr(644,root,root,755) | |
5aa8ca59 JB |
103 | %dir %{_includedir}/click |
104 | %{_includedir}/click/*.hh | |
105 | %{_includedir}/click/*.h | |
106 | %dir %{_includedir}/click/standard | |
107 | %{_includedir}/click/standard/*.hh | |
108 | %dir %{_includedir}/clicknet | |
109 | %{_includedir}/clicknet/*.h | |
110 | %dir %{_includedir}/clicktool | |
111 | %{_includedir}/clicktool/*.hh | |
50740e28 | 112 | %{_libdir}/*.a |