Author: paszczus                     Date: Tue Feb 22 11:48:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added new spec
- missing pl desc/summary
- release 0.1

---- Files affected:
SPECS:
   rc-shaper.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/rc-shaper.spec
diff -u /dev/null SPECS/rc-shaper.spec:1.1
--- /dev/null   Tue Feb 22 12:48:01 2005
+++ SPECS/rc-shaper.spec        Tue Feb 22 12:47:56 2005
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary:       Shaper super-script
+Name:          rc-shaper
+Version:       1.10
+Release:       0.1
+License:       GPL
+Group:         Networking/Admin
+Source0:       http://dl.sourceforge.net/rc-shaper/%{name}-%{version}.tar.gz
+# Source0-md5: 840926444558967b8498eb84bf829bd4
+Patch0:                %{name}-conf.patch
+URL:           http://rc-shaper.sf.net/
+Requires:      iproute2
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Shaper Super-Script is a bash script that uses iproute2 and shapecfg
+(shaper.o) to limit incoming and outgoing traffic on a Linux router.
+It also has an option for supporting more than 100 shapers via a
+kernel patch.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/rc-shaper,/etc/rc.d/init.d}
+
+install shapecfg-libc6                         $RPM_BUILD_ROOT%{_sbindir}
+install shapecfg-uClib                         $RPM_BUILD_ROOT%{_sbindir}
+
+install rc.shape                       $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install shape.conf                     
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/shape.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README
+%attr(755,root,root) %{_sbindir}/*
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{name}/shape.conf
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+$Log$
+Revision 1.1  2005/02/22 11:47:56  paszczus
+- added new spec
+- missing pl desc/summary
+- release 0.1
+
+
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to