]> git.pld-linux.org Git - packages/click.git/blob - click.spec
-NYF. corrected %files
[packages/click.git] / click.spec
1 Summary:        Click Modular Router
2 Summary(pl):    Click modularny router
3 Name:           click
4 Version:        22_03_2004_one
5 Release:        0.1
6 License:        MIT
7 URL:            http://pdos.lcs.mit.edu/click/
8 Group:          Networking/Admin
9 Source0:        http://duch.mimuw.edu.pl/~hunter/%{name}-cvs_%{version}.tar.gz
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 BuildRequires:  libstdc++-devel
13
14 %description
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.
26
27 %description -l pl
28 Click to modularny  router.
29
30 BLA BLA BLA niech ktos to przetulaczy, ja ide spac.
31
32 %prep
33 %setup  -q -n one
34
35 %build
36 %{__autoconf}
37 %{__aclocal}
38 %configure      \
39   --enable-nsclick \
40   --enable-snmp \
41   --enable-analysis \
42   --enable-ipsec \
43   --enable-ip6 \
44   --enable-etherswitch \
45   --enable-radio \
46   --enable-local \
47   --enable-test  \
48   --enable-grid        #   include Grid elements (see FAQ)
49 #  --disable-int64      \
50
51 # empty LDLIBS - don't link with -lresolv, it's not necessary
52 %{__make} \
53         LDLIBS=""
54
55 #%{__make} man
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/bin}
60
61 #install arping clockdiff rdisc tracepath tracepath6 traceroute6 \
62 #       $RPM_BUILD_ROOT%{_sbindir}
63
64 #install ping ping6 $RPM_BUILD_ROOT/bin
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)
74 %doc  %{_mandir}/man8/*
This page took 0.058229 seconds and 3 git commands to generate.