Spec cleanup OBS-URL: https://build.opensuse.org/request/show/480964 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/acctail?expand=0&rev=3
59 lines
1.6 KiB
RPMSpec
59 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package acctail
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX 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: acctail
|
|
Version: 2.0
|
|
Release: 0
|
|
Summary: Process Exit Accounting
|
|
License: GPL-2.0
|
|
Group: System/Monitoring
|
|
Url: http://www.vanheusden.com/acctail/
|
|
Source: http://www.vanheusden.com/acctail/acctail-%{version}.tgz
|
|
Patch1: acctail-makefile.patch
|
|
Patch2: acctail-sys_acct.patch
|
|
Patch3: acctail-const_char_ptr.patch
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libstdc++-devel
|
|
BuildRequires: make
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Acctail shows resource usage of processes that have exited. E.g. cpu-time,
|
|
memory usage, I/O, etc.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1
|
|
%patch2
|
|
%patch3
|
|
|
|
%build
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc license.txt
|
|
%{_bindir}/acctail
|
|
%{_mandir}/man1/acctail.1*
|
|
|
|
%changelog
|