Summary: Process tools collection Name: ptools Version: 0.1 Release: 2%{?dist} License: GPLv2+ Group: Development/Tools Source0: ftp://ftp.suse.com/pub/people/jblunck/ptools/%{name}-%{version}.tar.bz2 URL: http://gitorious.org/opensuse/ptools # Taken from the original openSUSE SRPM: # http://download.opensuse.org/factory/repo/src-oss/suse/src/ptools-0.1-12.3.src.rpm Patch0: %{name}-output-l_addr.diff # Already upstream # http://gitorious.org/opensuse/ptools/commit/a42a0991797ab10c04bbcdf7cc2846c5da5bbd25?format=patch Patch1: %{name}-commit-a42a099.diff # Already upstream # http://gitorious.org/opensuse/ptools/commit/f537373722bca9655fe6eb5fbd70cf2d67cd25d8?format=patch Patch2: %{name}-commit-f537373.diff # Fixes -Werror=format-security compilation errors Patch3: %{name}-0.1-format-security.patch BuildRequires: elfutils-libelf-devel BuildRequires: popt-devel %description This is aimed to become a collection of process tools similar to the ptools known from Solaris. Most of the tools are built on top of a libproc port for Linux. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %configure make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %files %defattr(-,root,root,-) %doc COPYING README %{_bindir}/pbuildid %{_mandir}/man1/pbuildid.1* %changelog * Mon Dec 22 2014 Damian Wrobel - 0.1-2 - Fix format-security compilation issues. * Thu Mar 24 2011 Damian Wrobel - 0.1-1 - Initial RPM release.