diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f3be855 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pprof-616780541aaef091559921a4f3d8ace0f0a6f729.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 440afc6..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-google-pprof - -The golang-github-google-pprof package \ No newline at end of file diff --git a/golang-github-google-pprof.spec b/golang-github-google-pprof.spec new file mode 100644 index 0000000..e378675 --- /dev/null +++ b/golang-github-google-pprof.spec @@ -0,0 +1,78 @@ +# Run tests in check section +%bcond_without check + +# https://github.com/google/pprof +%global goipath github.com/google/pprof +%global commit 616780541aaef091559921a4f3d8ace0f0a6f729 + +%global common_description %{expand: +pprof is a tool for visualization and analysis of profiling data. + +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). + +profile.proto is a protocol buffer that describes a set of callstacks and +symbolization information. A common usage is to represent a set of sampled +callstacks from statistical profiling. The format is described on the +proto/profile.proto file. For details on protocol buffers, +see https://developers.google.com/protocol-buffers + +Profiles can be read from a local file, or over http. Multiple profiles of +the same type can be aggregated or compared. + +If the profile samples contain machine addresses, pprof can symbolize them +through the use of the native binutils tools (addr2line and nm).} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Tool for visualization and analysis of profiling data +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/ianlancetaylor/demangle) + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{common_description} + +This package contains library source intended for +building other packages which use import path with +%{goipath} prefix. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks +%endif + + +%files devel -f devel.file-list +%license LICENSE +%doc README.md CONTRIBUTORS CONTRIBUTING.md AUTHORS + + +%changelog +* Wed Mar 21 2018 Robert-André Mauchin - 0-0.1.20180416git6167805 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..805dabc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pprof-616780541aaef091559921a4f3d8ace0f0a6f729.tar.gz) = 60dc6e448ab609613711b8d3bc4a09a951f6c6abeaeec047e3d64f93ede5f32e54bd44522ae45f91a289f615d2c5f2ceab83dc041a4560023f45eb9fda99425a