]> git.pld-linux.org Git - packages/shapecfg.git/blob - shapecfg.spec
- dropped pre-cvs changelog
[packages/shapecfg.git] / shapecfg.spec
1 Summary:        A configuration tool for setting traffic bandwidth parameters
2 Summary(pl.UTF-8):      Narzędzie do konfiguracji przepustowości sieci
3 Name:           shapecfg
4 Version:        2.0.36
5 Release:        4
6 License:        GPL
7 Group:          Base/Utilities
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)
15
16 %description
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.
20
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
23 2.1.x kernels).
24
25 Install the shapecfg package if you want to set traffic bandwidth
26 parameters, and if you have the appropriate kernel.
27
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.
32
33 %prep
34 %setup -q -n shaper
35 %patch0 -p1
36
37 %build
38 %{__make} \
39         CFLAGS="%{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/sbin
44 install shapecfg $RPM_BUILD_ROOT/sbin/shapecfg
45
46 cp -f %{SOURCE1} .
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README.shaper
54 %attr(755,root,root) /sbin/shapecfg
This page took 0.1002 seconds and 4 git commands to generate.