]> git.pld-linux.org Git - packages/autowrr.git/blame - autowrr.spec
- tabs in preamble
[packages/autowrr.git] / autowrr.spec
CommitLineData
7466e521 1Summary: Program that can help you configuring WRR queue
63c2c5a2 2Summary(pl.UTF-8): Program ułatwiający konfigurowanie kolejki WRR
f7648720
SP
3Name: autowrr
4Version: 0.5a
5Release: 1
6License: GPL
7Group: Networking/Admin
8Source0: http://autowrr.olgroup.net/download/%{name}-%{version}.tar.gz
aed35246 9# Source0-md5: 0b5504df84fc0deb932e5bf2c907bcef
f7648720 10URL: http://autowrr.olgroup.net/
7466e521
JB
11BuildRequires: cdk-devel
12BuildRequires: ncurses-devel
f7648720 13Requires: firewall-userspace-tool
f7648720 14Requires: gawk
f7648720
SP
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
77d956c5
JB
18AutoWRR is a program that can help you to configure WRR queue
19optimally, i.e.:
fcaeb999 20- put ICMP (incl. ping) in priority class
21- specify ports to put in priority class
22- use SFQ queue beside WRR to fairly divide bandwidth between
23 connections from one host.
f7648720 24
1d6ea219
JR
25%description -l pl.UTF-8
26AutoWRR jest w zasadzie programem mającym pomagać optymalnie
27skonfigurować kolejkę WRR. Optymalna konfiguracja tzn.:
28- Protokół ICMP (min. ping) w klasie priorytetowej
29- Możliwość określenia portów mających być również w klasie
fcaeb999 30 priorytetowej
1d6ea219
JR
31- Poza WRR użyta jeszcze została kolejka SFQ - w celu sprawiedliwego
32 podziału prędkości połączeń dla jednego komputera
f7648720
SP
33
34%prep
35%setup -q
36
37%build
38%configure
39%{__make} \
fcaeb999 40 CC="%{__cc}" \
41 CFLAGS="%{rpmcflags}"
f7648720
SP
42
43
44%install
45rm -rf $RPM_BUILD_ROOT
7466e521 46install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/autowrr,/etc/rc.d/init.d}
f7648720
SP
47
48install autowrr $RPM_BUILD_ROOT%{_bindir}
49install autowrr-wizard $RPM_BUILD_ROOT%{_bindir}
7466e521
JB
50install wrr $RPM_BUILD_ROOT/etc/rc.d/init.d
51install start.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
52install stop.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
53install htb $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
54install cbq $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
f7648720
SP
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc README Changelog TODO
62%dir %{_sysconfdir}/autowrr
63%attr(755,root,root) %{_sysconfdir}/autowrr/*
64%attr(755,root,root) %{_bindir}/*
7466e521 65%attr(754,root,root) /etc/rc.d/init.d/wrr
This page took 0.169262 seconds and 4 git commands to generate.