]> git.pld-linux.org Git - packages/click.git/blob - click.spec
- tabs in preamble
[packages/click.git] / click.spec
1 Summary:        Click Modular Router
2 Summary(pl.UTF-8):      Click - modularny router
3 Name:           click
4 Version:        1.4.3
5 Release:        0.1
6 License:        MIT
7 Group:          Networking/Admin
8 #Source0Download: http://www.read.cs.ucla.edu/click/download
9 Source0:        http://www.read.cs.ucla.edu/click/%{name}-%{version}.tar.gz
10 # Source0-md5:  f719412d7baf4ff874af826a66e3254c
11 URL:            http://www.read.cs.ucla.edu/click/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
22
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.
30
31 %description -l pl.UTF-8
32 Click to modularny router rozwijany przez grupę MIT LCS Parallel and
33 Distributed Operating Systems, Mazu Networks, ICSI Center for Internet
34 Research, a obecnie UCLA. Routery Click są elastyczne, konfigurowalne
35 i łatwe do zrozumienia.
36
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.
43
44 %package devel
45 Summary:        Development files for Click! modular router
46 Summary(pl.UTF-8):      Pliki programistyczne dla modularnego routera Click!
47 Group:          Development/Libraries
48
49 %description devel
50 Development files for Click! modular router.
51
52 %description devel -l pl.UTF-8
53 Pliki programistyczne dla modularnego routera Click!.
54
55 %prep
56 %setup -q
57
58 %build
59 %{__autoconf}
60 %{__aclocal}
61 %configure \
62         --disable-linuxmodule \
63         --enable-nsclick \
64         --enable-snmp \
65         --enable-analysis \
66         --enable-ipsec \
67         --enable-ip6 \
68         --enable-etherswitch \
69         --enable-radio \
70         --enable-local \
71         --enable-test \
72         --enable-grid   # include Grid elements (see FAQ)
73 #       --disable-int64 \
74
75 # empty LDLIBS - don't link with -lresolv, it's not necessary
76 %{__make} \
77         LDLIBS=""
78
79 #%{__make} man
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/bin}
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 #echo ".so tracepath.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tracepath6.8
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*
96 %{_mandir}/man*/*
97 %{_datadir}/%{name}/elementmap.xml
98 #/usr/share/click/srcdir
99 %{_infodir}/click.info*
100
101 %files devel
102 %defattr(644,root,root,755)
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
112 %{_libdir}/*.a
This page took 0.131039 seconds and 3 git commands to generate.