# Name of the upstream GitHub repository. %global repo_name ProcDump-for-Linux Name: procdump Version: 1.2 Release: 4%{?dist} Summary: Sysinternals process dump utility License: MIT URL: https://github.com/Sysinternals/%{repo_name} Source: %{url}/archive/%{version}/%{repo_name}-%{version}.tar.gz # Patch from upstream by Sergei Trofimovich: # https://github.com/Sysinternals/ProcDump-for-Linux/pull/133 Patch0: eb746130914f800d72038b529d9035454fcd3dc7.patch BuildRequires: gcc BuildRequires: make BuildRequires: zlib-devel Requires: gdb >= 7.6.1 %description ProcDump is a command-line utility whose primary purpose is monitoring an application for various resources and generating crash dumps during a spike that an administrator or developer can use to determine the cause of the issue. ProcDump also serves as a general process dump utility that you can embed in other scripts. %prep %autosetup -p1 -n %{repo_name}-%{version} %build %make_build %install %make_install %files %license LICENSE %doc README.md %doc procdump.gif %{_bindir}/procdump %{_mandir}/man1/procdump.1* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Feb 10 2022 Matěj Grabovský - 1.2-3 - Fix failing build (patch by Sergei Trofimovich) * Fri Jan 21 2022 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 21 2021 Matěj Grabovský - 1.2-1 - New upstream release 1.2 * Fri Jul 23 2021 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Apr 04 2020 Matěj Grabovský - 1.1.1-1 - Added -T thread count trigger and -F file descriptor count trigger * Thu Feb 20 2020 Matěj Grabovský - 1.1-3 - Fix build with GCC 10 * Thu Jan 30 2020 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 09 2020 Matěj Grabovský - 1.1-1 - Add command line parameter (-w) for targetting the name of a process - Small bug fixes * Fri Oct 4 2019 Matěj Grabovský - 1.0.1-1 - Initial release