SHA256
1
0
forked from pool/pv
pv/pv.spec
Jan Engelhardt c061c62d7c Accepting request 1146593 from home:pgajdos
- version update to 1.8.5
  ### 1.8.5 - 19 November 2023
  * fix: corrected percentage formatting so it doesn't jump from
    2 to 3 characters wide at 100% (#80)
  * fix: replaced "`--remote`" mechanism, using a temporary file
    instead of SysV IPC, so it can work reliably even when there
    are multiple PV instances
  * fix: corrected compilation failure when without IPC support
  * security: addressed all issues highlighted by the software
    auditing tools "`splint`" and "`flawfinder`" (see "`make
    analyse`") (#77)
  * cleanup: compilation warnings fixed on non-IPC and MacOS
    systems
  * ### 1.8.0 - 24 September 2023
  * #### Features
  * feature: new "`--discard`" option to discard input as if
    writing to */dev/null* (#42)
  * feature: new "`--error-skip-block`" option to make "`--skip-
    errors`" skip whole blocks (#37)
  * feature: use `posix_fadvise()` like `cat`(1) does, to improve
    efficiency (#39)
  * feature: new "`--enable-static`" option to "`configure`" for
    static builds (#75)
  * #### Security
  * security: with "`--pidfile`", write to a temporary file and
    rename it into place, to improve security
  * security: keep self-contained copies of name and format
    string in PV internal state for memory safety
  * security: ignore _TMP_ / _TMPDIR_ environment variables when
    using a terminal lock file

OBS-URL: https://build.opensuse.org/request/show/1146593
OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=45
2024-02-14 17:01:42 +00:00

71 lines
2.0 KiB
RPMSpec

#
# spec file for package pv
#
# Copyright (c) 2024 SUSE LLC
#
# 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.5
Release: 0
Summary: PipeViewer - Monitor the Progress of Data through Pipes
License: Artistic-2.0
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
%ifarch s390x
exit 0
%endif
%make_build test
%files -f %name.lang
%license docs/COPYING
%_docdir/pv
%_bindir/pv
%_mandir/man1/pv.1%ext_man
%changelog