Name: mbuffer
Version: 20090628
Release: 1%{?dist}
Summary: Measuring Buffer is an enhanced version of buffer
Group: Applications/File
License: GPLv3+
URL: http://www.maier-komor.de/mbuffer.html
Source0: http://www.maier-komor.de/software/mbuffer/mbuffer-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mt-st
%{?_with_md5hash:BuildRequires: mhash-devel}
%description
Measuring Buffer is an enhanced version of buffer. It features display of
throughput, memory-mapped file I/O for huge buffers, and multithreading.
Available rpmbuild rebuild option : --with md5hash (requires mhash-devel)
%prep
%setup -q
%build
# suppress detection of MD5_Init functions if openssl-devel
# is available on build system, let only mhash_init be
# detected if the md5 hash feature is enabled
export ac_cv_search_MD5_Init=no
%configure \
%{!?_with_md5hash:--disable-md5}
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog LICENSE NEWS README
%{_mandir}/man1/mbuffer.1*
%{_bindir}/%{name}
%changelog
* Fri Jul 17 2009 Fabian Affolter <fabian@bernewireless.net> - 20090628-1
- Fixed license (since 20080910 GPLv3+)
- Removed --enable-networking, is no longer needed
- Added make install to install section
- Added NEWS to doc and changed COPYING to LICENSE
- Added macro for bin dir
- Updated to new upstream version 20090628
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080507-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Jun 06 2008 Dennis Gilmore <dennis@ausil.us> - 20080507-2
- fix license tag
* Fri Jun 06 2008 Dennis Gilmore <dennis@ausil.us> - 20080507-1
- update to 20080507
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 20070502-2
- Autorebuild for GCC 4.3
* Sat May 12 2007 Alexander Dalloz <alex {%} dalloz {*} de> - 20070502-1
- Updated to latest version.
* Sat Apr 14 2007 Alexander Dalloz <alex {%} dalloz {*} de> - 20070401-1
- Updated to latest version.
* Tue Aug 29 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 20060728-3
- Rebuild for FC6.
* Thu Aug 10 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 20060728-2
- Removed NEWS from %%doc because free of information.
* Wed Aug 09 2006 Alexander Dalloz <alex {%} dalloz {*} de> - 20060728-1
- Updated to latest version
- Adjusted project URL and Source0.
* Thu Aug 04 2005 Alexander Dalloz <alex {%} dalloz {*} de> - 20050730-3
- Switched over to mhash for md5hash option instead of
openssl use (thanks Paul Howarth)
- md5hash disabled by default to not link against library in
/usr/lib, mbuffer usable without /usr mounted.
* Wed Aug 03 2005 Alexander Dalloz <alex {%} dalloz {*} de> - 20050730-2
- Corrected Source0 URL
- Adjusted binary location in man page
- Added BR mt-st and conditional openssl-devel.
* Tue Aug 02 2005 Alexander Dalloz <alex {%} dalloz {*} de> - 20050730-1
- Initial build.