]> git.pld-linux.org Git - packages/bar.git/blob - bar.spec
- niu, sru
[packages/bar.git] / bar.spec
1 Summary:        Command Line Progress Bar
2 Summary(pl):    Pasek postêpu w linii komend
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
24 %description -l pl
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.
30
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).
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*
This page took 0.063269 seconds and 4 git commands to generate.