SHA256
1
0
forked from pool/pv
pv/pv.spec
Ismail Dönmez f6a61e4a46 Accepting request 132453 from home:jengelh:dev
- Update to new upstream release 1.3.4
* new --disable-splice configure script option
* fixed line mode size count with multiple files
- Use RH-friendly make install

OBS-URL: https://build.opensuse.org/request/show/132453
OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=8
2012-09-04 13:19:29 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package pv
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pv
Version: 1.3.4
Release: 0
Summary: PipeViewer - Monitor the Progress of Data through Pipes
License: Artistic-2.0
Group: System/Base
Source: http://www.ivarch.com/programs/sources/pv-%{version}.tar.bz2
Url: http://ivarch.com/programs/pv.shtml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: glibc-devel
BuildRequires: intltool
BuildRequires: make
%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 %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
%find_lang "%{name}"
%check
%__make test
%files -f "%{name}.lang"
%defattr(-,root,root)
%doc README doc/COPYING doc/NEWS doc/TODO
%{_bindir}/pv
%doc %{_mandir}/man1/pv.1%{ext_man}
%changelog