SPECS: bar.spec (NEW) - niu, sru

wolf wolf at pld-linux.org
Wed Jan 31 16:24:16 CET 2007


Author: wolf                         Date: Wed Jan 31 15:24:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- niu, sru

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

---- Diffs:

================================================================
Index: SPECS/bar.spec
diff -u /dev/null SPECS/bar.spec:1.1
--- /dev/null	Wed Jan 31 16:24:16 2007
+++ SPECS/bar.spec	Wed Jan 31 16:24:10 2007
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+Summary:	Command Line Progress Bar
+Summary(pl):	Pasek postępu w linii komend
+Name:		bar
+Version:	1.10.7
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://dl.sourceforge.net/clpbar/%{name}_%{version}.tar.gz
+# Source0-md5:	3405f75b90ee72742cd75d18e7f59d09
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bar is a simple tool to copy a stream of data and print a display for
+the user on stderr showing (a) the amount of data passed, (b) the
+throughput of the data transfer, and (c) the transfer time, or, if the
+total size of the data stream is known, the estimated time remaining,
+what percentage of the data transfer has been completed, and a
+progress bar.
+
+Bar was originally written for the purpose of estimating the amount of
+time needed to transfer large amounts (many, many gigabytes) of data
+across a network. (Usually in an SSH/tar pipe.)
+
+%description -l pl
+Bar jest prostym narzędziem kopiującym strumienie danych
+i wyświetlającym użytkownikowi (a) ile danych zostało przesłanych,
+(b) przepustowość przesyłu danych, (c) czas przesyłu lub, gdy znany
+jest rozmiar strumienia danych, oszacowany pozostały czas, procent
+ukończenia i pasek postępu.
+
+Bar początkowo został napisany w celu oszacowania czasu potrzebnego
+na przesył dużej ilości danych (wiele, wiele gigabajtów) przez sieć.
+(Na przykład przez rurkę SSH/tar).
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS TODO TROUBLESHOOTING
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/bar.1*
+
+%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  2007/01/31 15:24:10  wolf
+- niu, sru
+
================================================================


More information about the pld-cvs-commit mailing list