Accepting request 832933 from utilities
- Trim old specfile constructs. OBS-URL: https://build.opensuse.org/request/show/832933 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pv?expand=0&rev=16
This commit is contained in:
commit
b392fcc608
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 8 08:48:09 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim old specfile constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 7 23:34:32 UTC 2017 - jengelh@inai.de
|
Mon Aug 7 23:34:32 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
24
pv.spec
24
pv.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pv
|
# spec file for package pv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -22,24 +22,18 @@ Release: 0
|
|||||||
Summary: PipeViewer - Monitor the Progress of Data through Pipes
|
Summary: PipeViewer - Monitor the Progress of Data through Pipes
|
||||||
License: Artistic-2.0
|
License: Artistic-2.0
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Url: http://ivarch.com/programs/pv.shtml
|
URL: http://ivarch.com/programs/pv.shtml
|
||||||
|
|
||||||
Source: http://ivarch.com/programs/sources/%name-%version.tar.bz2
|
Source: http://ivarch.com/programs/sources/%name-%version.tar.bz2
|
||||||
Source2: http://ivarch.com/programs/sources/%name-%version.tar.bz2.txt
|
Source2: http://ivarch.com/programs/sources/%name-%version.tar.bz2.txt
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1200
|
|
||||||
# The testsuite wants the "usleep" utility
|
|
||||||
BuildRequires: sysvinit
|
|
||||||
%else
|
|
||||||
BuildRequires: sysvinit-tools
|
BuildRequires: sysvinit-tools
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PV ("Pipe Viewer") is a tool for monitoring the progress of data through a
|
PV ("Pipe Viewer") is a tool for monitoring the progress of data through a
|
||||||
@ -49,23 +43,23 @@ it has taken, how near to completion it is, and an estimate of how long it
|
|||||||
will be until completion.
|
will be until completion.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-lfs --enable-nls --disable-debugging
|
%configure --enable-lfs --enable-nls --disable-debugging
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%make_build test
|
||||||
|
|
||||||
%files -f %name.lang
|
%files -f %name.lang
|
||||||
%defattr(-,root,root)
|
%license doc/COPYING
|
||||||
%doc README doc/COPYING doc/NEWS
|
%doc README doc/NEWS
|
||||||
%_bindir/pv
|
%_bindir/pv
|
||||||
%doc %_mandir/man1/pv.1%ext_man
|
%_mandir/man1/pv.1%ext_man
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user