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
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