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