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