1 Summary: A configuration tool for setting traffic bandwidth parameters
2 Summary(pl.UTF-8): Narzędzie do konfiguracji przepustowości sieci
8 Source0: ftp://ftp.aanet.ru/pub/Linux/system/networking/shaper.36.tar.gz
9 # Source0-md5: fc009b9dfc7b85722c73636c99be9a6b
10 Source1: README.shaper
11 Patch0: shapercfg-2.0.36-glibc.patch
12 Requires: kernel >= 2.0.36
13 ExclusiveArch: %{ix86}
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The Shapecfg program configures and adjusts traffic shaper bandwidth
18 limiters. Traffic shaping means setting parameters to which traffic
19 should conform - setting the standards for bandwidth consumption.
21 To use Shapecfg, you must have also installed the kernel which
22 supports the shaper module (kernel versions 2.0.36 or later and late
25 Install the shapecfg package if you want to set traffic bandwidth
26 parameters, and if you have the appropriate kernel.
28 %description -l pl.UTF-8
29 Program shapecfg konfiguruje ograniczenia przepustowości sieci. Aby
30 używać tego pakietu trzeba mieć jądro z modułem ograniczania
31 przepustowości - jest dostępny od wersji 2.0.36 lub późnych 2.1.x.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/sbin
44 install shapecfg $RPM_BUILD_ROOT/sbin/shapecfg
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %attr(755,root,root) /sbin/shapecfg