]> git.pld-linux.org Git - packages/autowrr.git/blob - autowrr.spec
- longer en desc
[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 URL:            http://autowrr.olgroup.net/
10 BuildRequires:  cdk-devel
11 BuildRequires:  ncurses-devel
12 Requires:       firewall-userspace-tool
13 Requires:       gawk
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description 
17 AutoWRR is a program that can help you to configure WRR queue
18 optimally, i.e.:
19  - put ICMP (incl. ping) in priority class
20  - specify ports to put in priority class
21  - use SFQ queue beside WRR to fairly divide bandwidth between
22    connections from one host.
23
24 %description -l pl
25 AutoWRR jest w zasadzie programem maj±cym pomagaæ optymalnie
26 skonfigurowaæ kolejkê WRR. Optymalna konfiguracja tzn.:
27
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.208375 seconds and 3 git commands to generate.