]> git.pld-linux.org Git - packages/cbq.init.git/commitdiff
- initial PLD release
authorTomek Orzechowski <orzech@pld-linux.org>
Sat, 27 Oct 2001 22:04:13 +0000 (22:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cbq.init.spec -> 1.1

cbq.init.spec [new file with mode: 0644]

diff --git a/cbq.init.spec b/cbq.init.spec
new file mode 100644 (file)
index 0000000..7da6e66
--- /dev/null
@@ -0,0 +1,51 @@
+Summary:       Shell script for setting up CBQ
+Summary(pl):   Skrypt umo¿liwiaj±cy prost± konfiguracjê CBQ
+Name:          cbq.init
+Version:       0.6.2
+Release:       0.1
+License:       GPL
+Group:         Networking/Utilities
+Group(de):     Netzwerkwesen/Werkzeuge
+Group(es):     Red/Utilitarios
+Group(pl):     Sieciowe/Narzêdzia
+Group(pt_BR):  Rede/Utilitários
+Source0:       ftp://ftp.lj.pl/pub/linux/%{name}-%{version}.tar.gz
+URL:           ftp://ftp.equinox.gu.net/pub/linux/cbq/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildArch:     noarch
+
+%description
+CBQ.init is a simple shell script for setting up a smart ethernet
+shaper based on CBQ (Class Based Queueing) for Linux Development
+Kernels and the ip-route utility by A.Kuznetsov.
+
+%description -l pl
+CBQ.init jest prostym skryptem umo¿liwiaj±cym konfiguracjê CBQ.
+
+%prep
+%setup  -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rc.d/init.d,%{_sysconfdir}/sysconfig/cbq}
+
+install %{name}-v%{version} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
+
+gzip -9nf README
+
+%post
+/sbin/chkconfig --add firewall
+
+%postun
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --del firewall
+fi
+       
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.gz doc/*
+%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
+%{_sysconfdir}/sysconfig/cbq
This page took 0.091648 seconds and 4 git commands to generate.