commit sluice for openSUSE:Factory

2020-03-08 Thread root
Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2020-03-08 22:24:42

Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and  /work/SRC/openSUSE:Factory/.sluice.new.26092 (New)


Package is "sluice"

Sun Mar  8 22:24:42 2020 rev:5 rq:782689 version:0.02.11

Changes:

--- /work/SRC/openSUSE:Factory/sluice/sluice.changes2018-07-12 
09:21:32.854618474 +0200
+++ /work/SRC/openSUSE:Factory/.sluice.new.26092/sluice.changes 2020-03-08 
22:24:55.096106371 +0100
@@ -1,0 +2,32 @@
+Sun Mar  8 13:22:05 UTC 2020 - Martin Hauke 
+
+- Supplement against bash-completion, not bash
+
+---
+Sun Mar  8 12:54:01 UTC 2020 - Martin Hauke 
+
+- Drop SLE12 compat ifdef
+
+---
+Wed Feb 26 18:59:42 UTC 2020 - Martin Hauke 
+
+- Update to version 0.02.11
+  * Add bash completion script
+
+---
+Tue Aug 27 09:43:57 UTC 2019 - Martin Hauke 
+
+- Update to version 0.02.10
+  * No funcional changes
+
+---
+Fri Jul 12 18:24:52 UTC 2019 - Martin Hauke 
+
+- Update to version 0.02.09
+  * Makefile: bump version
+  * Use DOUBLE_CMP to compare with zero
+  * Rename FLOAT_CMP to DOUBLE_CMP as it compares doubles
+  * Makefile: add .travis.yml to dist rule
+  * Update copyright year
+
+---

Old:

  sluice-0.02.08.tar.gz

New:

  sluice-0.02.11.tar.gz



Other differences:
--
++ sluice.spec ++
--- /var/tmp/diff_new_pack.u3UQd3/_old  2020-03-08 22:24:56.348107143 +0100
+++ /var/tmp/diff_new_pack.u3UQd3/_new  2020-03-08 22:24:56.348107143 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sluice
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,30 +13,41 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   sluice
-Version:0.02.08
+Version:0.02.11
 Release:0
 Summary:Rate limiting data piping tool
 License:GPL-2.0-or-later
 Group:  System/Monitoring
-URL:http://kernel.ubuntu.com/~cking/sluice/
-Source: 
http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
+URL:https://kernel.ubuntu.com/~cking/sluice/
+Source: 
https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
 
 %description
 Sluice reads from standard input and write to standard output at a specified
 data rate. This can be useful for benchmarking and exercising I/O streaming at
 desired throughput rates.
 
+%package bash-completion
+Summary:Bash Completion for %{name}
+Group:  System/Benchmark
+Requires:   %{name} = %{version}
+Requires:   bash-completion
+Supplements:(sluice and bash-completion)
+BuildArch:  noarch
+
+%description bash-completion
+Bash completion script for %{name}.
+
 %prep
 %setup -q
 
 %build
 export CFLAGS="%{optflags}"
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -46,4 +57,7 @@
 %{_bindir}/sluice
 %{_mandir}/man1/sluice.1%{?ext_man}
 
+%files bash-completion
+%{_datadir}/bash-completion/completions/%{name}
+
 %changelog

++ sluice-0.02.08.tar.gz -> sluice-0.02.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.08/.travis.yml 
new/sluice-0.02.11/.travis.yml
--- old/sluice-0.02.08/.travis.yml  1970-01-01 01:00:00.0 +0100
+++ new/sluice-0.02.11/.travis.yml  2020-02-26 17:50:16.0 +0100
@@ -0,0 +1,15 @@
+dist: bionic
+sudo: required
+
+matrix:
+include:
+- env: PEDANTIC=1
+
+before_install:
+- sudo apt-get update -q
+- sudo apt-get install build-essential
+
+language: c
+
+script:
+- make -j2 PEDANTIC=$PEDANTIC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.08/Makefile new/sluice-0.02.11/Makefile
--- old/sluice-0.02.08/Makefile 2018-06-16 21:42:45.0 +0200
+++ new/sluice-0.02.11/Makefile 2020-02-26 17:50:16.0 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014-2018 Canonical, Ltd.
+# Copyright (C) 2014-2020 Canonical, Ltd.
 #
 # This program is free software; you can redistribute it and/or
 # modify 

commit sluice for openSUSE:Factory

2018-07-12 Thread root
Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2018-07-12 09:19:43

Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and  /work/SRC/openSUSE:Factory/.sluice.new (New)


Package is "sluice"

Thu Jul 12 09:19:43 2018 rev:4 rq:622038 version:0.02.08

Changes:

--- /work/SRC/openSUSE:Factory/sluice/sluice.changes2018-01-09 
14:53:57.301659318 +0100
+++ /work/SRC/openSUSE:Factory/.sluice.new/sluice.changes   2018-07-12 
09:21:32.854618474 +0200
@@ -1,0 +2,16 @@
+Sun Jun 17 15:29:31 UTC 2018 - mar...@gmx.de
+
+- Update to version 0.02.08
+  * Makefile: bump version
+  * fixup some constifications
+  * Make delay_info const
+  * Make -r 0 to be no rate control (same as -n)
+  * Add -I option to help
+  * debian/copyright: use secure URI
+  * debian/control: update debhelper version to >=11
+  * debian/control: remove empty last line
+  * debian/compat: update to 11
+  * constify sizes
+  * voidify function returns
+
+---

Old:

  sluice-0.02.07.tar.gz

New:

  sluice-0.02.08.tar.gz



Other differences:
--
++ sluice.spec ++
--- /var/tmp/diff_new_pack.fa1mUq/_old  2018-07-12 09:21:33.326619135 +0200
+++ /var/tmp/diff_new_pack.fa1mUq/_new  2018-07-12 09:21:33.358619180 +0200
@@ -18,14 +18,13 @@
 
 
 Name:   sluice
-Version:0.02.07
+Version:0.02.08
 Release:0
 Summary:Rate limiting data piping tool
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Monitoring
-Url:http://kernel.ubuntu.com/~cking/sluice/
+URL:http://kernel.ubuntu.com/~cking/sluice/
 Source: 
http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Sluice reads from standard input and write to standard output at a specified
@@ -43,9 +42,8 @@
 %make_install
 
 %files
-%defattr(-,root,root)
-%doc COPYING
+%license COPYING
 %{_bindir}/sluice
-%{_mandir}/man1/sluice.1%{ext_man}
+%{_mandir}/man1/sluice.1%{?ext_man}
 
 %changelog

++ sluice-0.02.07.tar.gz -> sluice-0.02.08.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.07/Makefile new/sluice-0.02.08/Makefile
--- old/sluice-0.02.07/Makefile 2018-01-05 01:53:21.0 +0100
+++ new/sluice-0.02.08/Makefile 2018-06-16 21:42:45.0 +0200
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
-VERSION=0.02.07
+VERSION=0.02.08
 
 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.07/sluice.1 new/sluice-0.02.08/sluice.1
--- old/sluice-0.02.07/sluice.1 2018-01-05 01:53:21.0 +0100
+++ new/sluice-0.02.08/sluice.1 2018-06-16 21:42:45.0 +0200
@@ -109,7 +109,8 @@
 .TP
 .B \-r rate
 specify the data rate in bytes per second. The K, M, G and T suffixes
-can specify the rate in Kilobytes/sec, Megabytes/sec, Gigabytes/sec and 
Terabytes/sec respectively. This option must always be provided except when the 
\-n option is used.
+can specify the rate in Kilobytes/sec, Megabytes/sec, Gigabytes/sec and 
Terabytes/sec respectively. This option must always be provided except when the 
\-n option is used.  A zero rate is equivalent to no rate control
+(same as \-n).
 .TP
 .B \-R
 do not read from stdin, instead read random data from /dev/urandom.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.07/sluice.c new/sluice-0.02.08/sluice.c
--- old/sluice-0.02.07/sluice.c 2018-01-05 01:53:21.0 +0100
+++ new/sluice-0.02.08/sluice.c 2018-06-16 21:42:45.0 +0200
@@ -143,7 +143,7 @@
  * write
  * 2   sleep on/off
  */
-static delay_info_t delay_info[] = {
+static const delay_info_t delay_info[] = {
{ 1.0, DELAY_R_W_D, DELAY_SET_ACTION(DELAY_S, DELAY_S, DELAY_D) },
{ 1.0, DELAY_D_R_W, DELAY_SET_ACTION(DELAY_D, DELAY_S, DELAY_S) },
{ 1.0, DELAY_R_D_W, DELAY_SET_ACTION(DELAY_S, DELAY_D, DELAY_S) },
@@ -280,7 +280,7 @@
stats->perfect = 0;
stats->io_size_min = 0;
stats->io_size_max = 0;
-   memset(>drift, 0, sizeof(stats->drift));
+   (void)memset(>drift, 0, sizeof(stats->drift));
stats->drift_total = 0;
stats->time_begin = 0.0;
stats->time_end = 0.0;
@@ -312,7 +312,6 @@
 #else
 page_size = PAGE_4K;
 #endif
-
return page_size;
 }
 
@@ -373,6 

commit sluice for openSUSE:Factory

2018-01-09 Thread root
Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2018-01-09 14:53:56

Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and  /work/SRC/openSUSE:Factory/.sluice.new (New)


Package is "sluice"

Tue Jan  9 14:53:56 2018 rev:3 rq:562318 version:0.02.07

Changes:

--- /work/SRC/openSUSE:Factory/sluice/sluice.changes2017-05-18 
20:49:47.970733824 +0200
+++ /work/SRC/openSUSE:Factory/.sluice.new/sluice.changes   2018-01-09 
14:53:57.301659318 +0100
@@ -1,0 +2,12 @@
+Fri Jan  5 21:32:17 UTC 2018 - mar...@gmx.de
+
+- update to version 0.02.07
+  * Makefile: bump version
+  * Makefile: add snapcraft directory to make dist rule
+  * debian/control: update Standards-Version to 4.1.2
+  * update copyright year
+  * Add snapcraft
+  * Add extra parentheses for clarity
+  * voidify fclose()
+
+---

Old:

  sluice-0.02.06.tar.gz

New:

  sluice-0.02.07.tar.gz



Other differences:
--
++ sluice.spec ++
--- /var/tmp/diff_new_pack.QeRiUx/_old  2018-01-09 14:53:57.969628003 +0100
+++ /var/tmp/diff_new_pack.QeRiUx/_new  2018-01-09 14:53:57.981627441 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sluice
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:   sluice
-Version:0.02.06
+Version:0.02.07
 Release:0
 Summary:Rate limiting data piping tool
 License:GPL-2.0+

++ sluice-0.02.06.tar.gz -> sluice-0.02.07.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/Makefile new/sluice-0.02.07/Makefile
--- old/sluice-0.02.06/Makefile 2016-12-19 16:01:17.0 +0100
+++ new/sluice-0.02.07/Makefile 2018-01-05 01:53:21.0 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014-2016 Canonical, Ltd.
+# Copyright (C) 2014-2018 Canonical, Ltd.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
-VERSION=0.02.06
+VERSION=0.02.07
 
 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2
 
@@ -41,7 +41,7 @@
 dist:
rm -rf sluice-$(VERSION)
mkdir sluice-$(VERSION)
-   cp -rp Makefile sluice.c sluice.1 COPYING sluice-$(VERSION)
+   cp -rp Makefile sluice.c sluice.1 COPYING snapcraft sluice-$(VERSION)
tar -zcf sluice-$(VERSION).tar.gz sluice-$(VERSION)
rm -rf sluice-$(VERSION)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/sluice.1 new/sluice-0.02.07/sluice.1
--- old/sluice-0.02.06/sluice.1 2016-12-19 16:01:17.0 +0100
+++ new/sluice-0.02.07/sluice.1 2018-01-05 01:53:21.0 +0100
@@ -232,7 +232,7 @@
 This manual page was written by Colin King ,
 for the Ubuntu project (but may be used by others).
 .SH COPYRIGHT
-Copyright \(co 2014-2016 Canonical Ltd.
+Copyright \(co 2014-2018 Canonical Ltd.
 .br
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.06/sluice.c new/sluice-0.02.07/sluice.c
--- old/sluice-0.02.06/sluice.c 2016-12-19 16:01:17.0 +0100
+++ new/sluice-0.02.07/sluice.c 2018-01-05 01:53:21.0 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014-2016 Canonical
+ * Copyright (C) 2014-2018 Canonical
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -373,8 +373,8 @@
fp = fopen("/proc/sys/fs/pipe-max-size", "r");
if (fp) {
int ret = fscanf(fp, "%zu", );
-   fclose(fp);
-   if (ret == 1 && !check_max_pipe_size(sz, page_size))
+   (void)fclose(fp);
+   if ((ret == 1) && !check_max_pipe_size(sz, page_size))
return sz;
}
 
@@ -660,7 +660,7 @@
exit(EXIT_BAD_OPTION);
}
 
-   if (isdigit(ch) || ch == '.')
+   if (isdigit(ch) || (ch == '.'))
return val;
 
ch = tolower(ch);
@@ -1036,7 +1036,7 @@
goto tidy;
}
if ((opt_flags & OPT_GOT_CONST_DELAY) &&

commit sluice for openSUSE:Factory

2017-05-18 Thread root
Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2017-05-18 20:49:33

Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and  /work/SRC/openSUSE:Factory/.sluice.new (New)


Package is "sluice"

Thu May 18 20:49:33 2017 rev:2 rq:495691 version:0.02.06

Changes:

--- /work/SRC/openSUSE:Factory/sluice/sluice.changes2016-09-21 
18:46:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.sluice.new/sluice.changes   2017-05-18 
20:49:47.970733824 +0200
@@ -1,0 +2,15 @@
+Wed May 10 15:40:38 UTC 2017 - mar...@gmx.de
+
+- update to version 0.02.06
+  * Makefile: bump minor version
+  * Fix incorrect position of \ escape in -s option man page
+
+- update to version 0.02.05
+  * Add build hardening flags
+  * Makefile: bump version
+  * Use build-in popcount to count bits
+  * Allow float comparisons a little bit of slop
+  * Make get_pagesize helper static
+  * Makefile: add PEDANTIC flags
+
+---

Old:

  sluice-0.02.04.tar.gz

New:

  sluice-0.02.06.tar.gz



Other differences:
--
++ sluice.spec ++
--- /var/tmp/diff_new_pack.BKWn4F/_old  2017-05-18 20:49:49.610502409 +0200
+++ /var/tmp/diff_new_pack.BKWn4F/_new  2017-05-18 20:49:49.614501844 +0200
@@ -1,7 +1,8 @@
 #
 # spec file for package sluice
 #
-# Copyright (c) 2016, Martin Hauke 
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +18,7 @@
 
 
 Name:   sluice
-Version:0.02.04
+Version:0.02.06
 Release:0
 Summary:Rate limiting data piping tool
 License:GPL-2.0+
@@ -45,6 +46,6 @@
 %defattr(-,root,root)
 %doc COPYING
 %{_bindir}/sluice
-%{_mandir}/man1/*
+%{_mandir}/man1/sluice.1%{ext_man}
 
 %changelog

++ sluice-0.02.04.tar.gz -> sluice-0.02.06.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.04/Makefile new/sluice-0.02.06/Makefile
--- old/sluice-0.02.04/Makefile 2016-05-05 14:44:33.0 +0200
+++ new/sluice-0.02.06/Makefile 2016-12-19 16:01:17.0 +0100
@@ -15,10 +15,20 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
-VERSION=0.02.04
+VERSION=0.02.06
 
 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2
 
+#
+# Pedantic flags
+#
+ifeq ($(PEDANTIC),1)
+CFLAGS += -Wabi -Wcast-qual -Wfloat-equal -Wmissing-declarations \
+   -Wmissing-format-attribute -Wno-long-long -Wpacked \
+   -Wredundant-decls -Wshadow -Wno-missing-field-initializers \
+   -Wno-missing-braces -Wno-sign-compare -Wno-multichar
+endif
+
 BINDIR=/usr/bin
 MANDIR=/usr/share/man/man1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.04/sluice.1 new/sluice-0.02.06/sluice.1
--- old/sluice-0.02.04/sluice.1 2016-05-05 14:44:33.0 +0200
+++ new/sluice-0.02.06/sluice.1 2016-12-19 16:01:17.0 +0100
@@ -115,7 +115,7 @@
 do not read from stdin, instead read random data from /dev/urandom.
 .TP
 .B \-s shift
-modify the rate adjustment shift. This is a data rate tuning scaling factor 
used by the \-r, \-c, \-o and -\u options.
+modify the rate adjustment shift. This is a data rate tuning scaling factor 
used by the \-r, \-c, \-o and \-u options.
 .br
 
 For the \-r option, the delay between each write is controlled by modifying 
the previous delay by adding or subtracting the previous delay right shifted by 
this shift value.  The larger the shift value the longer it takes to adjust 
up/down to the specified rate.  The smaller the shift value the quicker it 
takes to reach the optimal delay, however, this can result in a highly 
fluctuating rates at the the beginning because the delay varies by a large 
amount causing large overruns and underruns.  A shift value of 3 works well for 
most fast rates.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sluice-0.02.04/sluice.c new/sluice-0.02.06/sluice.c
--- old/sluice-0.02.04/sluice.c 2016-05-05 14:44:33.0 +0200
+++ new/sluice-0.02.06/sluice.c 2016-12-19 16:01:17.0 +0100
@@ -126,6 +126,9 @@
 #define DELAY_SET_ACTION(a1, a2, a3)   ((a1 << 0) | (a2 << 1) | (a3 << 2))
 #define DELAY_GET_ACTION(n, action)((1 << n) & action)
 
+#define FLOAT_TINY (0.001)
+#define FLOAT_CMP(a, b)(fabs((a) - (b)) < FLOAT_TINY)
+
 typedef struct {
double  

commit sluice for openSUSE:Factory

2016-09-21 Thread h_root
Hello community,

here is the log from the commit of package sluice for openSUSE:Factory checked 
in at 2016-09-21 18:46:30

Comparing /work/SRC/openSUSE:Factory/sluice (Old)
 and  /work/SRC/openSUSE:Factory/.sluice.new (New)


Package is "sluice"

Changes:

New Changes file:

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.sluice.new/sluice.changes   2016-09-21 
18:46:31.0 +0200
@@ -0,0 +1,20 @@
+---
+Sat Jul 30 13:55:36 UTC 2016 - mar...@gmx.de
+
+- update to version 0.02.04
+  * Makefile: bump version
+  * debian/control: update Standards-Version to 3.9.8
+
+- update to version 0.02.03
+  * Makefile bunp version
+  * reduce scope of variable ret
+  * Update date in manual
+  * Don't centre table in man page
+  * Add -x pipe transfer size option
+  * Update copyright year
+
+---
+Wed Nov 11 21:31:13 UTC 2015 - mar...@gmx.de
+
+- initial package
+

New:

  sluice-0.02.04.tar.gz
  sluice.changes
  sluice.spec



Other differences:
--
++ sluice.spec ++
#
# spec file for package sluice
#
# Copyright (c) 2016, Martin Hauke 
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   sluice
Version:0.02.04
Release:0
Summary:Rate limiting data piping tool
License:GPL-2.0+
Group:  System/Monitoring
Url:http://kernel.ubuntu.com/~cking/sluice/
Source: 
http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
Sluice reads from standard input and write to standard output at a specified
data rate. This can be useful for benchmarking and exercising I/O streaming at
desired throughput rates. 

%prep
%setup -q

%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/sluice
%{_mandir}/man1/*

%changelog