SPECS: mbuffer.spec (NEW) - init PLD spec

areq areq at pld-linux.org
Sun Apr 30 15:46:27 CEST 2006


Author: areq                         Date: Sun Apr 30 13:46:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init PLD spec

---- Files affected:
SPECS:
   mbuffer.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mbuffer.spec
diff -u /dev/null SPECS/mbuffer.spec:1.1
--- /dev/null	Sun Apr 30 15:46:27 2006
+++ SPECS/mbuffer.spec	Sun Apr 30 15:46:21 2006
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	Tool for buffering data streams
+Name:		mbuffer
+Version:	20060421
+Release:	0.1
+License:	GPL
+Group:		Applications
+Source0:	http://www.maier-komor.de/software/mbuffer/%{name}-%{version}.tgz
+# Source0-md5:	b1e7b6596052e853352321101d9b09d8
+URL:		http://www.maier-komor.de/mbuffer.html
+BuildRequires:	openssl-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+mbuffer is a tool for buffering data streams. Its special feature is
+to show the I/O rate and summary to the user. This was firstly the
+main reason I developed it. It is especially useful, if you are
+writing backups to fast tape drives or libraries. Those drives tend to
+stop and rewind if they have a buffer underrun. This so called tape
+screwing reduces the lifetime of the motors. mbuffer can prevent
+buffer underruns, if used correctly and speed up the whole backup
+process. Please read the man page for details, how to use it.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-debug
+
+%{__make} \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/30 13:46:21  areq
+- init PLD spec
+
================================================================


More information about the pld-cvs-commit mailing list