]> git.pld-linux.org Git - packages/click-packages.git/blame - click-packages.spec
- converted to UTF-8
[packages/click-packages.git] / click-packages.spec
CommitLineData
db331995 1Summary: Click Modular Router Packages
80af7761 2Summary(pl.UTF-8): Pakiety do modularnego routera Click
db331995 3Name: click-packages
4Version: 1.4
5Release: 0.1
6License: MIT
7Group: Networking/Admin
0fe6a3d2
JB
8#Source0Download: http://www.read.cs.ucla.edu/click/download
9Source0: http://www.read.cs.ucla.edu/click/%{name}-%{version}.tar.gz
db331995 10# Source0-md5: 8e2779fedb806bffb13d565f59c3ba76
11Patch0: %{name}-DESTDIR.patch
0fe6a3d2 12URL: http://www.read.cs.ucla.edu/click/
db331995 13BuildRequires: click-devel
e1d37508 14BuildRequires: libstdc++-devel
db331995 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
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.
22
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.
30
80af7761
JR
31%description -l pl.UTF-8
32Click to modularny router rozwijany przez grupę MIT LCS Parallel and
db331995 33Distributed Operating Systems, Mazu Networks, ICSI Center for Internet
80af7761
JR
34Research, a obecnie UCLA. Routery Click są elastyczne, konfigurowalne
35i łatwe do zrozumienia.
db331995 36
80af7761
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.
db331995 43
44%prep
45%setup -q
46%patch0 -p1
47
48%define subdirs ip6_natpt unibo_qos models
49
50%build
51for dir in %{subdirs}; do
52 cd $dir
39de6bfa
JB
53%configure \
54 --with-click=%{_prefix}
db331995 55
56 %{__make}
57 cd -
58done
59
60%install
61rm -rf $RPM_BUILD_ROOT
62install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/bin}
63
64for dir in %{subdirs}; do
39de6bfa
JB
65 %{__make} -C $dir install \
66 DESTDIR=$RPM_BUILD_ROOT
db331995 67done
68
69#echo ".so tracepath.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tracepath6.8
70
e1d37508 71rm $RPM_BUILD_ROOT%{_mandir}/mann/elements.n*
db331995 72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
db331995 78%attr(755,root,root) %{_libdir}/*.uo
31e5be0c
JB
79%{_datadir}/click/elementmap*.xml
80%{_mandir}/man*/*
This page took 0.105129 seconds and 4 git commands to generate.