/[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 644414 - (hide annotations) (download)
Sun Jul 6 11:44:19 2014 UTC (11 years ago) by ovitters
File size: 1069 byte(s)
- SILENT remove defattr
- SILENT remove clean section
- SILENT remove buildroot definition
1 bcornec 50751 %define name buffer
2     %define version 1.19
3 umeabot 503171 %define release %mkrel 11
4 bcornec 50751
5     Summary: General purpose buffer program
6     Name: %name
7     Version: %version
8     Release: %release
9     License: GPL
10     Group: Archiving/Backup
11     Source: %name-%version.tar.bz2
12     Patch0: buffer_1.19-7.patch.bz2
13    
14     %description
15     This is a program designed to speed up writing tapes on remote tape
16     drives. After startup it splits itself into two processes. The first
17     process reads (and reblocks) from stdin into a shared memory buffer.
18     The second writes from the shared memory buffer to stdout. Doing it this way
19     means that the writing side effectly sits in a tight write loop and
20     doesn't have to wait for input. Similarly for the input side. It is
21     this waiting that slows down other reblocking processes, like dd.
22    
23     %prep
24     rm -rf $RPM_BUILD_ROOT
25    
26     %setup
27    
28     %patch0 -p1
29    
30     %build
31     make CFLAGS="$RPM_OPT_FLAGS -Wall -s"
32    
33     %install
34     install -m 755 -D buffer $RPM_BUILD_ROOT%{_bindir}/buffer
35     install -m 644 -D buffer.man $RPM_BUILD_ROOT%{_mandir}/man1/buffer.1
36    
37     %files
38     %doc COPYING README
39     %{_bindir}/buffer
40     %{_mandir}/man1/buffer.1*

  ViewVC Help
Powered by ViewVC 1.1.30