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