pv/pv.spec
2010-12-14 16:11:26 +00:00

48 lines
1.2 KiB
RPMSpec

# vim: set sw=4 ts=4 et:
Name: pv
Version: 1.2.0
Release: 0
Summary: PipeViewer - Monitor the Progress of Data through Pipes
Source: http://pipeviewer.googlecode.com/files/pv-%{version}.tar.bz2
URL: http://www.ivarch.com/programs/pv.shtml
Group: System/Tools
License: Artistic License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: make gettext gettext-devel gcc glibc-devel intltool
%description
PV ("Pipe Viewer") is a tool for monitoring the progress of data through a
pipeline. It can be inserted into any normal pipeline between two processes
to give a visual indication of how quickly data is passing through, how long
it has taken, how near to completion it is, and an estimate of how long it
will be until completion.
%prep
%setup -q
%build
%configure \
--enable-lfs \
--enable-nls \
--disable-debugging
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%find_lang "%{name}"
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -f "%{name}.lang"
%defattr(-,root,root)
%doc README doc/COPYING doc/NEWS doc/TODO
%{_bindir}/pv
%doc %{_mandir}/man1/pv.1%{ext_man}