1 |
bcornec |
50751 |
Summary: General purpose buffer program |
2 |
ovitters |
650199 |
Name: buffer |
3 |
|
|
Version: 1.19 |
4 |
tv |
879780 |
Release: %mkrel 15 |
5 |
bcornec |
50751 |
License: GPL |
6 |
|
|
Group: Archiving/Backup |
7 |
|
|
Source: %name-%version.tar.bz2 |
8 |
|
|
Patch0: buffer_1.19-7.patch.bz2 |
9 |
|
|
|
10 |
|
|
%description |
11 |
|
|
This is a program designed to speed up writing tapes on remote tape |
12 |
wally |
879891 |
drives. After startup it splits itself into two processes. The first |
13 |
|
|
process reads (and reblocks) from stdin into a shared memory buffer. |
14 |
bcornec |
50751 |
The second writes from the shared memory buffer to stdout. Doing it this way |
15 |
|
|
means that the writing side effectly sits in a tight write loop and |
16 |
|
|
doesn't have to wait for input. Similarly for the input side. It is |
17 |
|
|
this waiting that slows down other reblocking processes, like dd. |
18 |
|
|
|
19 |
|
|
%prep |
20 |
wally |
879895 |
%autosetup -p1 |
21 |
bcornec |
50751 |
|
22 |
|
|
%build |
23 |
wally |
879895 |
make CFLAGS="%{optflags} -Wall" |
24 |
bcornec |
50751 |
|
25 |
|
|
%install |
26 |
wally |
879895 |
install -m 755 -D buffer %{buildroot}%{_bindir}/buffer |
27 |
|
|
install -m 644 -D buffer.man %{buildroot}%{_mandir}/man1/buffer.1 |
28 |
bcornec |
50751 |
|
29 |
|
|
%files |
30 |
|
|
%doc COPYING README |
31 |
|
|
%{_bindir}/buffer |
32 |
|
|
%{_mandir}/man1/buffer.1* |