/[smeserver]/rpms/buffer/sme8/buffer.spec
ViewVC logotype

Annotation of /rpms/buffer/sme8/buffer.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 18:10:00 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: buffer-1_19-7_el5_sme
Import on branch sme8 of package buffer-1.19-7.el5.sme.src.rpm

1 slords 1.1 Summary: general purpose buffer programm
2     Name: buffer
3     Version: 1.19
4     Release: 7%{?dist}
5     License: GPL
6     Group: Applications/System
7     Source: http://sunsite.org.uk/public/public/packages/buffer/buffer-1.19.shar
8     Patch0: buffer-1.19.patch
9     Patch1: buffer-largefile.patch
10     Patch2: no_shmat.patch
11     BuildRoot: %{_tmppath}/%{name}-%{version}-root
12    
13     %description
14     This is a program designed to speed up writing tapes on remote tape
15     drives. After startup it splits itself into two processes. The first
16     process reads (and reblocks) from stdin into a shared memory buffer.
17     The second writes from the shared memory buffer to stdout. Doing it this way
18     means that the writing side effectly sits in a tight write loop and
19     doesn't have to wait for input. Similarly for the input side. It is
20     this waiting that slows down other reblocking processes, like dd.
21    
22     %prep
23     %setup -q -c %{name}-%{version} -T
24     sh $RPM_SOURCE_DIR/%{name}-%{version}.shar
25    
26     %patch0 -p1
27    
28     %patch1 -p1
29    
30     %patch2 -p1
31    
32     %build
33     make CFLAGS="$RPM_OPT_FLAGS -Wall -s"
34    
35     %install
36     install -m 755 -D buffer $RPM_BUILD_ROOT%{_bindir}/buffer
37     install -m 644 -D buffer.man $RPM_BUILD_ROOT%{_mandir}/man1/buffer.1
38    
39     %clean
40     rm -rf $RPM_BUILD_ROOT
41    
42     %files
43     %defattr(-,root,root)
44     %doc COPYING README
45     %{_bindir}/buffer
46     %{_mandir}/man1/buffer.1*
47    
48     %changelog
49     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
50     - Clean up spec so package can be built by koji/plague
51    
52     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
53     - Update to new release naming. No functional changes.
54     - Make Packager generic
55    
56     * Mon Mar 13 2006 Shad L. Lords <slords@mail.com> 1.19-6sme
57     - Remove shmat definition so x86_64 builds correctly
58    
59     * Thu Jun 19 2003 Charlie Brady <charlieb@e-smith.com> 1.19-5es
60     - Rebuild in-house to ensure library version compatibility.
61    
62     * Sun Jan 5 2003 Edwin Huffstutler <edwinh@computer.org>
63     - added O_LARGEFILE
64    
65     * Mon Jul 24 2000 Prospector <prospector@redhat.com>
66     - rebuilt
67    
68     * Tue Jul 11 2000 Than Ngo <than@redhat.de>
69     - rebuilt
70    
71     * Wed Jun 07 2000 Than Ngo <than@redhat.de>
72     - use rpm macros
73    
74     * Mon Jun 05 2000 Michael Stefaniuc <mstefani@redhat.com>
75     - rewrote the spec file
76     - rewrote and extended the buffer patch

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed