]>
Commit | Line | Data |
---|---|---|
8a5ac715 | 1 | Summary: Command Line Progress Bar |
a4848d0f | 2 | Summary(pl.UTF-8): Pasek postępu w linii komend |
8a5ac715 | 3 | Name: bar |
4 | Version: 1.10.7 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications | |
8 | Source0: http://dl.sourceforge.net/clpbar/%{name}_%{version}.tar.gz | |
9 | # Source0-md5: 3405f75b90ee72742cd75d18e7f59d09 | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | Bar is a simple tool to copy a stream of data and print a display for | |
14 | the user on stderr showing (a) the amount of data passed, (b) the | |
15 | throughput of the data transfer, and (c) the transfer time, or, if the | |
16 | total size of the data stream is known, the estimated time remaining, | |
17 | what percentage of the data transfer has been completed, and a | |
18 | progress bar. | |
19 | ||
20 | Bar was originally written for the purpose of estimating the amount of | |
21 | time needed to transfer large amounts (many, many gigabytes) of data | |
22 | across a network. (Usually in an SSH/tar pipe.) | |
23 | ||
c392f6e3 JR |
24 | %description -l pl.UTF-8 |
25 | Bar jest prostym narzędziem kopiującym strumienie danych | |
26 | i wyświetlającym użytkownikowi (a) ile danych zostało przesłanych, | |
27 | (b) przepustowość przesyłu danych, (c) czas przesyłu lub, gdy znany | |
28 | jest rozmiar strumienia danych, oszacowany pozostały czas, procent | |
29 | ukończenia i pasek postępu. | |
8a5ac715 | 30 | |
c392f6e3 JR |
31 | Bar początkowo został napisany w celu oszacowania czasu potrzebnego |
32 | na przesył dużej ilości danych (wiele, wiele gigabajtów) przez sieć. | |
33 | (Na przykład przez rurkę SSH/tar). | |
8a5ac715 | 34 | |
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %configure | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc AUTHORS TODO TROUBLESHOOTING | |
54 | %attr(755,root,root) %{_bindir}/* | |
55 | %{_mandir}/man1/bar.1* |