]> git.pld-linux.org Git - packages/shapecfg.git/commitdiff
- spec adapterized
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 7 Aug 2000 23:07:48 +0000 (23:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    shapecfg.spec -> 1.5

shapecfg.spec

index 531cd0a2e024268773df06832eb1c3eb1b3f0581..3e374b9de323d96cd5794e663162ec6da959fcd4 100644 (file)
@@ -1,29 +1,28 @@
-Summary: A configuration tool for setting traffic bandwidth parameters.
-Name: shapecfg
-Version: 2.0.36
-Release: 4
-Copyright: GPL
-Group: System Environment/Base
-Source: shaper.36.tar.gz
-Source1: README.shaper
-Patch: shapercfg-2.0.36-glibc.patch
+Summary:       A configuration tool for setting traffic bandwidth parameters.
+Name:          shapecfg
+Version:       2.0.36
+Release:       4
+License:       GPL
+Group:         Base/Utilities
+Group(pl):     Podstawowe/Narzêdzia
+Source0:       shaper.36.tar.gz
+Source1:       README.shaper
+Patch0:                shapercfg-2.0.36-glibc.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires: kernel >= 2.0.36
-ExclusiveArch: i386
+Requires:      kernel >= 2.0.36
+ExclusiveArch: i386
 
 %description
-The Shapecfg program configures and adjusts traffic shaper
-bandwidth limiters. Traffic shaping means setting parameters
-to which traffic should conform - setting the standards for
-bandwidth consumption.
+The Shapecfg program configures and adjusts traffic shaper bandwidth
+limiters. Traffic shaping means setting parameters to which traffic
+should conform - setting the standards for bandwidth consumption.
 
 To use Shapecfg, you must have also installed the kernel which
-supports the shaper module (kernel versions 2.0.36 or later and
-late 2.1.x kernels).
+supports the shaper module (kernel versions 2.0.36 or later and late
+2.1.x kernels).
 
-Install the shapecfg package if you want to set traffic
-bandwidth parameters, and if you have the appropriate
-kernel.
+Install the shapecfg package if you want to set traffic bandwidth
+parameters, and if you have the appropriate kernel.
 
 %prep
 %setup -q -n shaper
@@ -33,13 +32,15 @@ kernel.
 %{__make} CFLAGS="$RPM_OPT_FLAGS"
 
 %install
-mkdir -p $RPM_BUILD_ROOT/sbin
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/sbin
 install -s -m 755 shapecfg $RPM_BUILD_ROOT/sbin/shapecfg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%defattr(644,root,root,755)
 %doc $RPM_SOURCE_DIR/README.shaper
 %defattr(-,root,root)
 /sbin/shapecfg
This page took 0.097278 seconds and 4 git commands to generate.