[pipebench] Initial import (#731219).

Peter Gordon pgordon at fedoraproject.org
Wed Sep 7 16:48:19 UTC 2011


commit 8d774e96032ba92cb182a814873f65d0ddf91387
Author: Peter Gordon <peter at thecodergeek.com>
Date:   Wed Sep 7 09:48:09 2011 -0700

    Initial import (#731219).

 .gitignore     |    1 +
 pipebench.spec |   75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c156622 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pipebench-0.40.tar.gz
diff --git a/pipebench.spec b/pipebench.spec
new file mode 100644
index 0000000..6532d36
--- /dev/null
+++ b/pipebench.spec
@@ -0,0 +1,75 @@
+Name:		pipebench
+Version:	0.40
+Release:	5%{?dist}
+Summary:	Measures the speed of STDIN/STDOUT communication
+
+License:	GPLv2+
+URL:		http://www.habets.pp.se/synscan/programs.php?prog=%{name}
+
+Source0:	http://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
+
+## From: http://www.gnu.org/licenses/gpl-2.0.txt
+Source1:	%{name}-GPLv2.txt
+
+%description
+Measures the speed of a pipe, by sitting in the middle passing the data along
+to the next process. See the included README for example usage.
+
+
+%prep
+%setup -q
+## Update the included LICENSE file to match the current FSF GPLv2 text.
+## (Fixes the FSF address and updates the "GNU Library GPL" references to "GNU
+## Lesser GPL.") Submitted to upstream via email (2011-08-24).
+install -D -m 0644 %{SOURCE1} LICENSE
+
+## Fix the Makefile; taken from the Gentoo ebuild and modified slightly.
+sed -i Makefile \
+	-e 's:CFLAGS=-Wall:CFLAGS+= -Wall:' \
+	-e 's:$(CFLAGS) -o:$(LDFLAGS) &:g' \
+	-e 's:/usr/local/bin/:$(DESTDIR)%{_bindir}:' \
+	-e 's:/usr/local/man/man1/:$(DESTDIR)%{_mandir}/man1:'
+
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+
+%install
+## Create the necessary filesystem skeleton.
+mkdir -m 755 -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+make install DESTDIR=%{buildroot}
+
+
+%files
+%doc LICENSE README
+%{_bindir}/%{name}
+%{_mandir}/man?/%{name}.*
+
+
+%changelog
+* Tue Sep 06 2011 Peter Gordon <peter at thecodergeek.com> - 0.40-5
+- One last fix for %%name macro usage consistency in the URL (#731219).
+
+* Sat Sep 03 2011 Peter Gordon <peter at thecodergeek.com> - 0.40-4
+- More fixes in accordance with review request feedback (#731219):
+  (1) Make %%name macro usage more consistent;
+  (2) Remove unnecessary Group tag;
+  (3) Remove unnecessary permissions on the man directory;
+  (4) Fix Source0 URL.
+  (5) Fix mixed use of tabs/spaces in Source1 line.
+
+* Thu Aug 25 2011 Peter Gordon <peter at thecodergeek.com> - 0.40-3
+- Remove GPLv2 patch; instead just upload it as an additional Source file.
+  - fix-GPLv2.diff
+  + GPLv2.txt
+
+* Wed Aug 24 2011 Peter Gordon <peter at thecodergeek.com> - 0.40-2
+- Fix description (capitalize "STDIN/STDOUT").
+- Add patch to update included GPLv2 text to current FSF address
+  and wording.
+  + fix-GPLv2.diff
+
+* Sat Aug 13 2011 Peter Gordon <peter at thecodergeek.com> - 0.40-1
+- Initial Fedora package creation.
diff --git a/sources b/sources
index e69de29..818a46e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eb1b888ec6c413c2cb096ac052174a78  pipebench-0.40.tar.gz


More information about the scm-commits mailing list