]> git.pld-linux.org Git - packages/autowrr.git/blob - autowrr.spec
- initial version
[packages/autowrr.git] / autowrr.spec
1 Summary:        Program u³atwiaj±cy konfigurowanie kolejki WRR
2 Summary(pl):    Program that can help you configuring WRR queue
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 Requires:       firewall-userspace-tool
11 Requires:       ncurses
12 Requires:       gawk
13 Requires:       cdk
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description 
17 AutoWRR is a program that can help you configuring WRR queue.
18
19 %description -l pl
20 AutoWRR jest w zasadzie programem maj±cym pomagaæ optymalnie
21 skonfigurowaæ kolejkê WRR. Optymalna konfiguracja tzn:
22
23     - Protokó³ ICMP (min. ping) w klasie priorytetowej
24     - Mo¿liwo¶æ okre¶lenia portów maj±cych byæ równie¿ w klasie
25       priorytetowej
26     - Poza WRR u¿yta jeszcze zosta³a kolejka SFQ - w celu sprawiedliwego
27       podzia³u prêdko¶ci po³±czeñ dla jednego komputera
28
29 %prep
30 %setup -q
31
32 %build
33 %configure
34 %{__make} \
35         CC="%{__cc}" \
36         CFLAGS="%{rpmcflags}"
37
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/{autowrr,rc.d/init.d}}
42
43 install autowrr $RPM_BUILD_ROOT%{_bindir}
44 install autowrr-wizard $RPM_BUILD_ROOT%{_bindir}
45 install wrr $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
46 install start.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
47 install stop.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
48 install htb $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
49 install cbq $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README Changelog TODO
57 %dir %{_sysconfdir}/autowrr
58 %attr(755,root,root) %{_sysconfdir}/autowrr/*
59 %attr(755,root,root) %{_bindir}/*
60 %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/wrr
61 %attr(640,root,root) %verify(not size md5 mtime) %config(noreplace) %{_sysconfdir}/autowrr/*
This page took 0.080943 seconds and 3 git commands to generate.