/[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 503171 - (hide annotations) (download)
Thu Oct 17 23:02:55 2013 UTC (11 years, 9 months ago) by umeabot
File size: 1163 byte(s)
Mageia 4 Mass Rebuild
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     BuildRoot: %{_tmppath}/%{name}-buildroot
14    
15     %description
16     This is a program designed to speed up writing tapes on remote tape
17     drives. After startup it splits itself into two processes. The first
18     process reads (and reblocks) from stdin into a shared memory buffer.
19     The second writes from the shared memory buffer to stdout. Doing it this way
20     means that the writing side effectly sits in a tight write loop and
21     doesn't have to wait for input. Similarly for the input side. It is
22     this waiting that slows down other reblocking processes, like dd.
23    
24     %prep
25     rm -rf $RPM_BUILD_ROOT
26    
27     %setup
28    
29     %patch0 -p1
30    
31     %build
32     make CFLAGS="$RPM_OPT_FLAGS -Wall -s"
33    
34     %install
35     install -m 755 -D buffer $RPM_BUILD_ROOT%{_bindir}/buffer
36     install -m 644 -D buffer.man $RPM_BUILD_ROOT%{_mandir}/man1/buffer.1
37    
38     %clean
39     rm -rf $RPM_BUILD_ROOT
40    
41     %files
42     %defattr(-,root,root)
43     %doc COPYING README
44     %{_bindir}/buffer
45     %{_mandir}/man1/buffer.1*

  ViewVC Help
Powered by ViewVC 1.1.30