]> git.pld-linux.org Git - packages/click.git/blame - click.spec
- tabs in preamble
[packages/click.git] / click.spec
CommitLineData
cc816579 1Summary: Click Modular Router
49b3969b 2Summary(pl.UTF-8): Click - modularny router
cc816579 3Name: click
1057c897 4Version: 1.4.3
875c6db1 5Release: 0.1
cc816579 6License: MIT
7Group: Networking/Admin
4c82dbd6
JB
8#Source0Download: http://www.read.cs.ucla.edu/click/download
9Source0: http://www.read.cs.ucla.edu/click/%{name}-%{version}.tar.gz
1057c897 10# Source0-md5: f719412d7baf4ff874af826a66e3254c
4c82dbd6 11URL: http://www.read.cs.ucla.edu/click/
5aa8ca59
JB
12BuildRequires: autoconf
13BuildRequires: automake
869595a3 14BuildRequires: libstdc++-devel
0d6a2661 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
869595a3 16
cc816579 17%description
50740e28 18Click is a modular software router developed by MIT LCS Parallel and
19Distributed Operating Systems group, Mazu Networks, the ICSI Center
20for Internet Research, and now UCLA. Click routers are flexible,
21configurable, and easy to understand.
54b7aa1f 22
50740e28 23A Click router is an interconnected collection of modules called
24elements; elements control every aspect of the routers behavior, from
25communicating with devices to packet modification to queueing,
26dropping policies and packet scheduling. Individual elements can have
27surprisingly powerful behavior, and it's easy to write new ones in
28C++. You write a router configuration by gluing elements together with
29a simple language.
cc816579 30
ccb95c9e
JR
31%description -l pl.UTF-8
32Click to modularny router rozwijany przez grupę MIT LCS Parallel and
0d6a2661 33Distributed Operating Systems, Mazu Networks, ICSI Center for Internet
ccb95c9e
JR
34Research, a obecnie UCLA. Routery Click są elastyczne, konfigurowalne
35i łatwe do zrozumienia.
0d6a2661 36
ccb95c9e
JR
37Router Click to połączony zestaw modułów nazywanych elementami;
38elementy kontrolują każdy aspekt zachowania routerów, od komunikacji z
39urządzeniami do modyfikowania pakietów, kolejkowania, polityki
40porzucania oraz schedulingu pakietów. Poszczególne elementy mogą mieć
41zaskakująco potężne zachowanie i łatwo pisać nowe w C++. Konfiguracją
42routera tworzy się przez sklejanie elementów w prostym języku.
cc816579 43
50740e28 44%package devel
5aa8ca59 45Summary: Development files for Click! modular router
49b3969b 46Summary(pl.UTF-8): Pliki programistyczne dla modularnego routera Click!
50740e28 47Group: Development/Libraries
48
49%description devel
5aa8ca59
JB
50Development files for Click! modular router.
51
ccb95c9e 52%description devel -l pl.UTF-8
5aa8ca59 53Pliki 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
82rm -rf $RPM_BUILD_ROOT
83install -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
91rm -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
This page took 0.066092 seconds and 4 git commands to generate.