File mbuffer.spec of Package mbuffer
#
# spec file for package mbuffer (Version 20080212)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mbuffer
Url: http://www.maier-komor.de/mbuffer.html
License: GPL v2 or later
Group: System/Base
AutoReqProv: on
Version: 20080212
Release: 45
Summary: Measuring Buffer
Source: mbuffer-%{version}.tgz
Patch: mbuffer-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
mbuffer is a replacement for buffer with additional functionality:
- display of I/O speed
- optional use of memory mapped I/O for huge buffers
- multithreaded instead of shared memory IPC
- multivolume support
- autoloader support
- network support
- buffer compatible command line options
Authors:
--------
Thomas Maier-Komor <software@maier-komor.de>
%prep
%setup
%patch
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog NEWS README
/usr/bin/mbuffer
%doc %{_mandir}/man1/mbuffer.1.gz
%changelog
* Fri Jun 19 2009 coolo@novell.com
- disable as-needed for this package as it fails to build with it
* Wed Feb 13 2008 schwab@suse.de
- Update to mbuffer 20080212.
* fixed a race-condition causing incorrectly written last block
* Mon Nov 26 2007 schwab@suse.de
- Fix open call.
* Fri Aug 10 2007 schwab@suse.de
- Update to version 20070518.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 20 2003 schwab@suse.de
- Initial version.