]>
Commit | Line | Data |
---|---|---|
e15334fe ER |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # build without tests | |
4 | ||
de917a87 | 5 | Summary: Pipe Viewer - tool for monitoring the progress of data through a pipeline |
f5726a2a | 6 | Summary(pl.UTF-8): Pipe Viewer - monitorowanie przepływu danych przez potok |
2a4afa04 | 7 | Name: pv |
cc192eb4 | 8 | Version: 1.6.20 |
402ccaba | 9 | Release: 1 |
e63f07be | 10 | License: Artistic v2.0 |
a3403ff2 | 11 | Group: Applications |
e15334fe | 12 | Source0: http://www.ivarch.com/programs/sources/%{name}-%{version}.tar.bz2 |
cc192eb4 | 13 | # Source0-md5: 85b25c827add82ebdd5a58a5ffde1d7d |
2a4afa04 | 14 | URL: http://www.ivarch.com/programs/pv.shtml |
d6739ef1 | 15 | BuildRequires: gettext-tools |
e15334fe ER |
16 | # the unit tests call usleep(1) |
17 | BuildRequires: rc-scripts | |
2a4afa04 SZ |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
402ccaba | 21 | Pipe Viewer is a terminal-based tool for monitoring the progress of |
22 | data through a pipeline. It can be inserted into any normal pipeline | |
23 | between two processes to give a visual indication of how quickly data | |
24 | is passing through, how long it has taken, how near to completion it | |
25 | is, and an estimate of how long it will be until completion. | |
2a4afa04 | 26 | |
39690e5e JR |
27 | %description -l pl.UTF-8 |
28 | Pipe Viewer jest tekstowym narzędziem do monitorowania przepływu | |
29 | danych przez potok. Może być wstawiony w dowolny potok pomiędzy dwa | |
30 | procesy w celu wizualizacji prędkości z jaką dane przepływają pomiędzy | |
31 | nimi, ile czasu im to zajmuje, ile jeszcze zostało do ukończenia i ile | |
32 | mniej więcej czasu to będzie trwało. | |
2a4afa04 SZ |
33 | |
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
2a4afa04 SZ |
38 | %configure |
39 | %{__make} | |
e15334fe | 40 | %{?with_test:%{__make} test} |
2a4afa04 SZ |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
402ccaba | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
2a4afa04 SZ |
46 | |
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
2a4afa04 SZ |
52 | %files -f %{name}.lang |
53 | %defattr(644,root,root,755) | |
e63f07be | 54 | %doc README doc/NEWS doc/TODO |
e15334fe ER |
55 | %attr(755,root,root) %{_bindir}/pv |
56 | %{_mandir}/man1/pv.1* |