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