1 |
# $Id$ |
2 |
|
3 |
Summary: general purpose buffer program |
4 |
Name: mbuffer |
5 |
Version: 20011008 |
6 |
Release: 2%{?dist} |
7 |
Group: Application/System |
8 |
License: GPL |
9 |
Url: http://freshmeat.net/projects/mbuffer/ |
10 |
Source: %{name}-%{version}.tgz |
11 |
BuildRequires: gettext |
12 |
BuildRequires: bison |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
%description |
15 |
mbuffer is a replacement for buffer (a program designed to speed writing |
16 |
to local and remote tapes) with additional functionality: |
17 |
|
18 |
- display of i/o speed |
19 |
- optional use of memory mapped i/o for huge buffers |
20 |
- multithreaded instead of sharedmemory ipc |
21 |
- multi-volume support |
22 |
- auto-loader support (TEST IT!) |
23 |
- compatible command-line options |
24 |
- --? bugs to hunt ?-- :-(( |
25 |
|
26 |
%prep |
27 |
%setup |
28 |
|
29 |
%build |
30 |
./configure --prefix=%{_prefix} |
31 |
make |
32 |
|
33 |
%install |
34 |
mkdir -p $RPM_BUILD_ROOT |
35 |
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} |
36 |
|
37 |
%clean |
38 |
/bin/rm -rf $RPM_BUILD_ROOT |
39 |
|
40 |
%files |
41 |
%defattr(-,root,root) |
42 |
%{_bindir}/mbuffer |
43 |
%doc %{_mandir}/man1/* |
44 |
%doc COPYING README AUTHORS ChangeLog NEWS |
45 |
%{_datadir}/locale/*/LC_MESSAGES/* |