Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568905
en ru br
ALT Linux repos
S:1.1.1-alt2

Group :: Other
RPM: procdump

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:     procdump
Version:  1.1.1
Release:  alt2

Summary:  A Linux version of the ProcDump Sysinternals tool

License:  MIT
Group:    Other
Url:      https://github.com/Microsoft/ProcDump-for-Linux

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/Microsoft/ProcDump-for-Linux/archive/%version.tar.gz

Source:   %name-%version.tar

BuildRequires: zlib-devel

# Fix for GCC 10 (Fedora 32) builds

# https://github.com/microsoft/ProcDump-for-Linux/pull/79
Patch0:         0001-Fix-for-build-on-GCC-10.patch

Requires: gdb >= 7.7.1

%description
ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinternals suite of tools for Windows.
ProcDump provides a convenient way for Linux developers to create core dumps of their application based on performance triggers.

%prep
%setup
%patch0 -p1

#__subst "s|^INSTALLDIR=.*|INSTALLDIR=%buildroot%_bindir|g" Makefile

#__subst "s|^MANDIR=.*|MANDIR=%buildroot%_man1dir|g" Makefile
%__subst "s|^CFLAGS=\(.*\)|CFLAGS=\1 %optflags|g" Makefile

%build
#configure
%make_build build

%install
#mkdir -p %buildroot%_bindir/ %buildroot%_man1dir/
%makeinstall_std

#check

#make_build check

%files
%_bindir/*
%_man1dir/*
%doc CONTRIBUTING.md README.md

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin