2021-03-18 21:45:42 +01:00
|
|
|
#
|
|
|
|
# spec file for package pprof
|
|
|
|
#
|
2023-08-29 10:07:13 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-03-18 21:45:42 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2022-07-10 17:01:37 +02:00
|
|
|
|
2021-03-18 21:45:42 +01:00
|
|
|
Name: pprof
|
2023-08-29 10:07:13 +02:00
|
|
|
Version: 0.0.0+git20230820.407c9e7
|
2021-03-18 21:45:42 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: CLI tool for visualization and analysis of profiling data
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/Other
|
2022-07-10 17:01:37 +02:00
|
|
|
URL: https://github.com/google/pprof
|
2023-08-29 10:07:13 +02:00
|
|
|
Source0: %{name}-%{version}.tar
|
2021-03-18 21:45:42 +01:00
|
|
|
Source1: vendor.tar.gz
|
|
|
|
BuildRequires: golang(API) >= 1.14
|
|
|
|
|
|
|
|
%description
|
|
|
|
pprof reads a collection of profiling samples in profile.proto format and generates reports to visualize and help analyze the data.
|
|
|
|
It can generate both text and graphical reports (through the use of the dot visualization package).
|
|
|
|
|
|
|
|
%prep
|
2021-03-23 19:49:18 +01:00
|
|
|
%autosetup -a1
|
2021-03-18 21:45:42 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
go build
|
|
|
|
|
|
|
|
%install
|
2021-03-23 19:49:18 +01:00
|
|
|
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
|
2021-03-18 21:45:42 +01:00
|
|
|
|
|
|
|
%files
|
2021-03-23 19:49:18 +01:00
|
|
|
%doc README.md CONTRIBUTORS CONTRIBUTING.md AUTHORS
|
2021-03-18 21:45:42 +01:00
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|