]> git.pld-linux.org Git - packages/frottle.git/blame - frottle.spec
- tabs in preamble
[packages/frottle.git] / frottle.spec
CommitLineData
3da34c5c 1Summary: Packet scheduling and QoS for wireless networks
ec68fadc 2Summary(pl.UTF-8): Szeregowanie pakietów i QoS dla sieci bezprzewodowych
e1e5c179
AM
3Name: frottle
4Version: 0.2.1
5Release: 1
6License: GPL
7Group: Networking/Daemons
8Source0: http://dl.sourceforge.net/frottle/%{name}-%{version}.tar.gz
9# Source0-md5: eb18d7490fbc874fcecb1f4686f2707a
10Source1: %{name}.init
11Source2: %{name}.sysconfig
12URL: http://frottle.sourceforge.net/
13BuildRequires: iptables-devel
14Requires(post,preun): /sbin/chkconfig
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Frottle (Freenet throttle) is an open source GNU GPL project to
19control traffic on wireless networks. Such control eliminates the
20common hidden-node effect even on large scale wireless networks.
21Frottle is currently only available for Linux wireless gateways using
22iptables firewalls, with plans to develop a windows client in the
23future.
24
25Frottle works by scheduling the traffic of each client, using a master
26node to co-ordinate actions. This eliminates collisions, and prevents
27clients with stronger signals from receiving bandwidth bias.
28
c6e73117
JR
29%description -l pl.UTF-8
30Frottle (Freenet throttle) to projekt z otwartymi źródłami na licencji
31GNU GPL służący do kontroli ruchu w sieciach bezprzewodowych. Kontrola
32ta eliminuje popularny efekt ukrytego węzła nawet w dużych rozmiarów
33sieciach bezprzewodowych. Frottle jest aktualnie dostępne tylko dla
34bramek bezprzewodowych na Linuksie używających firewalli na iptables,
35ale są plany stworzenia w przyszłości windowsowego klienta.
c0614611 36
c6e73117
JR
37Frottle działa szeregując ruch każdego klienta, używając głównego
38węzła do koordynowania akcji. Eliminuje to kolizje i zapobiega
39otrzymywaniu większego pasma przez klientów z silniejszym sygnałem.
c0614611 40
e1e5c179
AM
41%prep
42%setup -q
43
44%build
45CPPFLAGS="-I%{_includedir}/libipq"
46%configure
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT \
55
56install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
57install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
58
59install frottle.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post
65/sbin/chkconfig --add %{name}
66if [ -f /var/lock/subsys/%{name} ]; then
67 /etc/rc.d/init.d/%{name} restart >&2
68else
69 echo "Run \"/etc/rc.d/init.d/%{name} start\" to start frottle daemon."
70fi
71
72%preun
73if [ "$1" = "0" ]; then
74 if [ -f /var/lock/subsys/%{name} ]; then
75 /etc/rc.d/init.d/%{name} stop >&2
76 fi
77 /sbin/chkconfig --del %{name}
78fi
79
80%files
81%defattr(644,root,root,755)
82%doc AUTHORS ChangeLog INSTALL README
83%attr(754,root,root) /etc/rc.d/init.d/%{name}
79da4283
ER
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
90375681 86%attr(755,root,root) %{_bindir}/%{name}
e1e5c179 87%{_mandir}/man?/*
This page took 0.058967 seconds and 4 git commands to generate.