]> git.pld-linux.org Git - packages/click-packages.git/commitdiff
- added
authoraredridel <aredridel@pld-linux.org>
Thu, 12 Aug 2004 05:32:47 +0000 (05:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    click-packages.spec -> 1.1

click-packages.spec [new file with mode: 0644]

diff --git a/click-packages.spec b/click-packages.spec
new file mode 100644 (file)
index 0000000..1991824
--- /dev/null
@@ -0,0 +1,78 @@
+Summary:       Click Modular Router Packages
+Name:          click-packages
+Version:       1.4
+Release:       0.1
+License:       MIT
+Group:         Networking/Admin
+Source0:       http://amsterdam.lcs.mit.edu/click/%{name}-%{version}.tar.gz
+# Source0-md5: 8e2779fedb806bffb13d565f59c3ba76
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://amsterdam.lcs.mit.edu/click/
+BuildRequires: libstdc++-devel
+BuildRequires: click-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Click is a modular software router developed by MIT LCS Parallel and
+Distributed Operating Systems group, Mazu Networks, the ICSI Center
+for Internet Research, and now UCLA. Click routers are flexible,
+configurable, and easy to understand.
+
+A Click router is an interconnected collection of modules called
+elements; elements control every aspect of the routers behavior, from
+communicating with devices to packet modification to queueing,
+dropping policies and packet scheduling. Individual elements can have
+surprisingly powerful behavior, and it's easy to write new ones in
+C++. You write a router configuration by gluing elements together with
+a simple language.
+
+%description -l pl
+Click to modularny router rozwijany przez grupê MIT LCS Parallel and
+Distributed Operating Systems, Mazu Networks, ICSI Center for Internet
+Research, a obecnie UCLA. Routery Click s± elastyczne, konfigurowalne
+i ³atwe do zrozumienia.
+
+Router Click to po³±czony zestaw modu³ów nazywanych elementami;
+elementy kontroluj± ka¿dy aspekt zachowania routerów, od komunikacji z
+urz±dzeniami do modyfikowania pakietów, kolejkowania, polityki
+porzucania oraz schedulingu pakietów. Poszczególne elementy mog± mieæ
+zaskakuj±co potê¿ne zachowanie i ³atwo pisaæ nowe w C++. Konfiguracj±
+routera tworzy siê przez sklejanie elementów w prostym jêzyku.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%define subdirs ip6_natpt unibo_qos models
+
+%build
+for dir in %{subdirs}; do
+       cd $dir
+%configure --with-click=%{_prefix}
+
+       %{__make}
+       cd -
+done
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/bin}
+
+for dir in %{subdirs}; do
+       cd $dir
+       %{__make} install DESTDIR=$RPM_BUILD_ROOT
+       cd -
+done
+
+#echo ".so tracepath.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tracepath6.8
+
+rm $RPM_BUILD_ROOT/%{_mandir}/mann/elements.n*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_mandir}/man*/*
+%{_datadir}/click/elementmap*.xml
+%attr(755,root,root) %{_libdir}/*.uo
This page took 0.079242 seconds and 4 git commands to generate.