2012-05-22 21:47:27 +02:00
|
|
|
#
|
|
|
|
# spec file for package pv
|
|
|
|
#
|
2013-01-25 04:59:59 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-05-22 21:47:27 +02:00
|
|
|
#
|
|
|
|
# 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.
|
2010-11-09 22:55:26 +01:00
|
|
|
|
2012-05-22 21:47:27 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2012-06-26 00:18:04 +02:00
|
|
|
|
|
|
|
|
2010-11-09 22:55:26 +01:00
|
|
|
Name: pv
|
2013-01-25 04:59:59 +01:00
|
|
|
Version: 1.4.6
|
2010-11-09 22:55:26 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: PipeViewer - Monitor the Progress of Data through Pipes
|
2012-02-22 22:07:39 +01:00
|
|
|
License: Artistic-2.0
|
2012-05-22 21:47:27 +02:00
|
|
|
Group: System/Base
|
|
|
|
Url: http://ivarch.com/programs/pv.shtml
|
2012-11-20 16:22:38 +01:00
|
|
|
|
|
|
|
Source: http://www.ivarch.com/programs/sources/%name-%version.tar.bz2
|
|
|
|
Source2: %name-%version.tar.bz2.asc
|
2012-12-24 09:07:01 +01:00
|
|
|
Source3: %name.keyring
|
2012-05-22 21:47:27 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: glibc-devel
|
2012-12-24 09:07:01 +01:00
|
|
|
%if 0%{?suse_version} >= 1230
|
|
|
|
BuildRequires: gpg-offline
|
|
|
|
%endif
|
2012-05-22 21:47:27 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: make
|
2013-06-05 19:11:28 +02:00
|
|
|
# The testsuite wants the "usleep" utility
|
|
|
|
BuildRequires: sysvinit-tools
|
2010-11-09 22:55:26 +01:00
|
|
|
|
|
|
|
%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
|
2012-12-24 09:07:01 +01:00
|
|
|
%{?gpg_verify: %gpg_verify %{S:2}}
|
2010-11-09 22:55:26 +01:00
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-lfs \
|
|
|
|
--enable-nls \
|
|
|
|
--disable-debugging
|
|
|
|
|
2012-02-22 22:07:39 +01:00
|
|
|
make %{?_smp_mflags}
|
2010-11-09 22:55:26 +01:00
|
|
|
|
|
|
|
%install
|
2012-09-04 15:19:29 +02:00
|
|
|
make install DESTDIR="%buildroot"
|
2010-11-09 22:55:26 +01:00
|
|
|
%find_lang "%{name}"
|
|
|
|
|
|
|
|
%check
|
2012-11-20 16:22:38 +01:00
|
|
|
make test
|
2010-11-09 22:55:26 +01:00
|
|
|
|
2012-11-20 16:22:38 +01:00
|
|
|
%files -f %name.lang
|
2010-11-09 22:55:26 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README doc/COPYING doc/NEWS doc/TODO
|
2012-11-20 16:22:38 +01:00
|
|
|
%_bindir/pv
|
|
|
|
%doc %_mandir/man1/pv.1%ext_man
|
2010-11-09 22:55:26 +01:00
|
|
|
|
2012-02-22 22:07:39 +01:00
|
|
|
%changelog
|