]> git.pld-linux.org Git - packages/autowrr.git/blob - autowrr.spec
7b5b61a0e275b873fd126bed555e44407ea952b6
[packages/autowrr.git] / autowrr.spec
1 Summary:        Program that can help you configuring WRR queue
2 Summary(pl):    Program u³atwiaj±cy konfigurowanie kolejki WRR
3 Name:           autowrr
4 Version:        0.5a
5 Release:        1
6 License:        GPL
7 Group:          Networking/Admin
8 Source0:        http://autowrr.olgroup.net/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  0b5504df84fc0deb932e5bf2c907bcef
10 URL:            http://autowrr.olgroup.net/
11 BuildRequires:  cdk-devel
12 BuildRequires:  ncurses-devel
13 Requires:       firewall-userspace-tool
14 Requires:       gawk
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description 
18 AutoWRR is a program that can help you to configure WRR queue
19 optimally, i.e.:
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.
24
25 %description -l pl
26 AutoWRR jest w zasadzie programem maj±cym pomagaæ optymalnie
27 skonfigurowaæ 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
30   priorytetowej
31 - Poza WRR u¿yta jeszcze zosta³a kolejka SFQ - w celu sprawiedliwego
32   podzia³u prêdko¶ci po³±czeñ dla jednego komputera
33
34 %prep
35 %setup -q
36
37 %build
38 %configure
39 %{__make} \
40         CC="%{__cc}" \
41         CFLAGS="%{rpmcflags}"
42
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/autowrr,/etc/rc.d/init.d}
47
48 install autowrr $RPM_BUILD_ROOT%{_bindir}
49 install autowrr-wizard $RPM_BUILD_ROOT%{_bindir}
50 install wrr $RPM_BUILD_ROOT/etc/rc.d/init.d
51 install start.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
52 install stop.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
53 install htb $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
54 install cbq $RPM_BUILD_ROOT%{_sysconfdir}/autowrr
55
56 %clean
57 rm -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}/*
65 %attr(754,root,root) /etc/rc.d/init.d/wrr
This page took 0.062153 seconds and 2 git commands to generate.