/[packages]/cauldron/buffer/current/SPECS/buffer.spec
ViewVC logotype

Contents of /cauldron/buffer/current/SPECS/buffer.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 879891 - (show annotations) (download)
Wed Sep 16 18:46:43 2015 UTC (9 years, 10 months ago) by wally
File size: 995 byte(s)
- remove some trailing spaces (SILENT)
1 Summary: General purpose buffer program
2 Name: buffer
3 Version: 1.19
4 Release: %mkrel 15
5 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 drives. After startup it splits itself into two processes. The first
13 process reads (and reblocks) from stdin into a shared memory buffer.
14 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 rm -rf $RPM_BUILD_ROOT
21
22 %setup
23
24 %autopatch -p1
25
26 %build
27 make CFLAGS="$RPM_OPT_FLAGS -Wall"
28
29 %install
30 install -m 755 -D buffer $RPM_BUILD_ROOT%{_bindir}/buffer
31 install -m 644 -D buffer.man $RPM_BUILD_ROOT%{_mandir}/man1/buffer.1
32
33 %files
34 %doc COPYING README
35 %{_bindir}/buffer
36 %{_mandir}/man1/buffer.1*

  ViewVC Help
Powered by ViewVC 1.1.30