-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpipe.spec
38 lines (30 loc) · 895 Bytes
/
cpipe.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## $Revision: 1.3 $, $Date: 2003/07/22 08:16:29 $
## The following line is edited by my ship script to contain the true
## version I am shipping from cvs. (kir)
%define VERSION 77.66.55
Summary: counting pipe
Name: cpipe
Version: %VERSION
Release: 0
Copyright: GPL
Group: Applications/Archiving
Source: cpipe-%{VERSION}.tar.gz
URL: http://wsd.iitb.fhg.de/~kir/cpipehome/
Packager: Harald Kirsch ([email protected])
BuildRoot: /tmp/cpipe-rpmbuild
%description
Cpipe copies its standard input to its standard output while measuring
the time it takes to read an input buffer and write an output
buffer. Statistics of average throughput and the total amount of bytes
copied are printed to the standard error output.
%prep
%setup
%build
make
%install
rm -rf $RPM_BUILD_ROOT/usr/
make install prefix=$RPM_BUILD_ROOT/usr
%post
%files
%attr(-,root,root) /usr/man/man1
%attr(-,root,root) /usr/bin