1 Summary: Packet scheduling and QoS for wireless networks
2 Summary(pl.UTF-8): Szeregowanie pakietów i QoS dla sieci bezprzewodowych
7 Group: Networking/Daemons
8 Source0: http://dl.sourceforge.net/frottle/%{name}-%{version}.tar.gz
9 # Source0-md5: eb18d7490fbc874fcecb1f4686f2707a
11 Source2: %{name}.sysconfig
12 URL: http://frottle.sourceforge.net/
13 BuildRequires: iptables-devel
14 Requires(post,preun): /sbin/chkconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Frottle (Freenet throttle) is an open source GNU GPL project to
19 control traffic on wireless networks. Such control eliminates the
20 common hidden-node effect even on large scale wireless networks.
21 Frottle is currently only available for Linux wireless gateways using
22 iptables firewalls, with plans to develop a windows client in the
25 Frottle works by scheduling the traffic of each client, using a master
26 node to co-ordinate actions. This eliminates collisions, and prevents
27 clients with stronger signals from receiving bandwidth bias.
29 %description -l pl.UTF-8
30 Frottle (Freenet throttle) to projekt z otwartymi źródłami na licencji
31 GNU GPL służący do kontroli ruchu w sieciach bezprzewodowych. Kontrola
32 ta eliminuje popularny efekt ukrytego węzła nawet w dużych rozmiarów
33 sieciach bezprzewodowych. Frottle jest aktualnie dostępne tylko dla
34 bramek bezprzewodowych na Linuksie używających firewalli na iptables,
35 ale są plany stworzenia w przyszłości windowsowego klienta.
37 Frottle działa szeregując ruch każdego klienta, używając głównego
38 węzła do koordynowania akcji. Eliminuje to kolizje i zapobiega
39 otrzymywaniu większego pasma przez klientów z silniejszym sygnałem.
45 CPPFLAGS="-I%{_includedir}/libipq"
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
54 DESTDIR=$RPM_BUILD_ROOT \
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
57 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
59 install frottle.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
62 rm -rf $RPM_BUILD_ROOT
65 /sbin/chkconfig --add %{name}
66 if [ -f /var/lock/subsys/%{name} ]; then
67 /etc/rc.d/init.d/%{name} restart >&2
69 echo "Run \"/etc/rc.d/init.d/%{name} start\" to start frottle daemon."
73 if [ "$1" = "0" ]; then
74 if [ -f /var/lock/subsys/%{name} ]; then
75 /etc/rc.d/init.d/%{name} stop >&2
77 /sbin/chkconfig --del %{name}
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog INSTALL README
83 %attr(754,root,root) /etc/rc.d/init.d/%{name}
84 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
85 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
86 %attr(755,root,root) %{_bindir}/%{name}