]> git.pld-linux.org Git - packages/shapecfg.git/blob - shapecfg.spec
- spec adapterized
[packages/shapecfg.git] / shapecfg.spec
1 Summary:        A configuration tool for setting traffic bandwidth parameters.
2 Name:           shapecfg
3 Version:        2.0.36
4 Release:        4
5 License:        GPL
6 Group:          Base/Utilities
7 Group(pl):      Podstawowe/Narzêdzia
8 Source0:        shaper.36.tar.gz
9 Source1:        README.shaper
10 Patch0:         shapercfg-2.0.36-glibc.patch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 Requires:       kernel >= 2.0.36
13 ExclusiveArch:  i386
14
15 %description
16 The Shapecfg program configures and adjusts traffic shaper bandwidth
17 limiters. Traffic shaping means setting parameters to which traffic
18 should conform - setting the standards for bandwidth consumption.
19
20 To use Shapecfg, you must have also installed the kernel which
21 supports the shaper module (kernel versions 2.0.36 or later and late
22 2.1.x kernels).
23
24 Install the shapecfg package if you want to set traffic bandwidth
25 parameters, and if you have the appropriate kernel.
26
27 %prep
28 %setup -q -n shaper
29 %patch0 -p1 -b .glibc
30
31 %build
32 %{__make} CFLAGS="$RPM_OPT_FLAGS"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/sbin
37 install -s -m 755 shapecfg $RPM_BUILD_ROOT/sbin/shapecfg
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc $RPM_SOURCE_DIR/README.shaper
45 %defattr(-,root,root)
46 /sbin/shapecfg
This page took 0.085198 seconds and 3 git commands to generate.