--- /dev/null
+Summary: Program u³atwiaj±cy konfigurowanie kolejki WRR
+Summary(pl): Program that can help you configuring WRR queue
+Name: autowrr
+Version: 0.5a
+Release: 1
+License: GPL
+Group: Networking/Admin
+Source0: http://autowrr.olgroup.net/download/%{name}-%{version}.tar.gz
+URL: http://autowrr.olgroup.net/
+Requires: firewall-userspace-tool
+Requires: ncurses
+Requires: gawk
+Requires: cdk
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AutoWRR is a program that can help you configuring WRR queue.
+
+%description -l pl
+AutoWRR jest w zasadzie programem maj±cym pomagaæ optymalnie
+skonfigurowaæ kolejkê WRR. Optymalna konfiguracja tzn:
+
+ - Protokó³ ICMP (min. ping) w klasie priorytetowej
+ - Mo¿liwo¶æ okre¶lenia portów maj±cych byæ równie¿ w klasie
+ priorytetowej
+ - Poza WRR u¿yta jeszcze zosta³a kolejka SFQ - w celu sprawiedliwego
+ podzia³u prêdko¶ci po³±czeñ dla jednego komputera
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}"
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/{autowrr,rc.d/init.d}}
+
+install autowrr $RPM_BUILD_ROOT%{_bindir}
+install autowrr-wizard $RPM_BUILD_ROOT%{_bindir}
+install wrr $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
+install start.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
+install stop.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
+install htb $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
+install cbq $RPM_BUILD_ROOT%{_sysconfdir}/autowrr/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README Changelog TODO
+%dir %{_sysconfdir}/autowrr
+%attr(755,root,root) %{_sysconfdir}/autowrr/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sysconfdir}/rc.d/init.d/wrr
+%attr(640,root,root) %verify(not size md5 mtime) %config(noreplace) %{_sysconfdir}/autowrr/*