From f7648720a718d8f465066d675c03892b151048f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C5=82awomir=20Paszkiewicz?= Date: Mon, 19 Apr 2004 22:28:33 +0000 Subject: [PATCH] - initial version Changed files: autowrr.spec -> 1.1 --- autowrr.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 autowrr.spec diff --git a/autowrr.spec b/autowrr.spec new file mode 100644 index 0000000..2dc0748 --- /dev/null +++ b/autowrr.spec @@ -0,0 +1,61 @@ +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/* -- 2.44.0