Jan Engelhardt
5daba9fa13
pv 1.8.12 OBS-URL: https://build.opensuse.org/request/show/1190613 OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=52
71 lines
2.1 KiB
RPMSpec
71 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package pv
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: pv
|
|
Version: 1.8.12
|
|
Release: 0
|
|
Summary: Tool for monitor the progress of data through pipes
|
|
License: GPL-3.0-or-later
|
|
Group: System/Base
|
|
URL: http://ivarch.com/programs/pv.shtml
|
|
|
|
#Git-Clone: https://github.com/a-j-wood/pv
|
|
Source: http://ivarch.com/programs/sources/%name-%version.tar.gz
|
|
Source2: http://ivarch.com/programs/sources/%name-%version.tar.gz.txt#/%name-%version.tar.gz.asc
|
|
Source3: %name.keyring
|
|
BuildRequires: gcc
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: make
|
|
BuildRequires: sysvinit-tools
|
|
|
|
%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
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure --enable-lfs --enable-nls --disable-debugging --docdir="%_docdir/pv"
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang %name
|
|
rm %buildroot/%_docdir/pv/INSTALL
|
|
|
|
%check
|
|
%ifnarch s390x
|
|
%make_build test
|
|
%endif
|
|
|
|
%files -f %name.lang
|
|
%license docs/COPYING
|
|
%_docdir/pv
|
|
%_bindir/pv
|
|
%_mandir/man1/pv.1*
|
|
|
|
%changelog
|