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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 741455 - (hide annotations) (download)
Tue Oct 14 23:24:56 2014 UTC (10 years, 9 months ago) by umeabot
File size: 999 byte(s)
Second Mageia 5 Mass Rebuild
1 bcornec 50751 Summary: General purpose buffer program
2 ovitters 650199 Name: buffer
3     Version: 1.19
4 umeabot 741455 Release: %mkrel 13
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     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     %patch0 -p1
25    
26     %build
27     make CFLAGS="$RPM_OPT_FLAGS -Wall -s"
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