2008-11-12 04:44:10 +01:00
|
|
|
#
|
2023-11-07 23:03:43 +01:00
|
|
|
# spec file for package ptools
|
2008-11-12 04:44:10 +01:00
|
|
|
#
|
2023-11-07 23:03:43 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2008-11-12 04:44:10 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2023-11-07 23:03:43 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-11-12 04:44:10 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ptools
|
|
|
|
Version: 0.1
|
2023-11-07 23:03:43 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: The process tools collection
|
|
|
|
License: GPL-2.0-or-later
|
2008-11-12 04:44:10 +01:00
|
|
|
Group: Development/Tools/Debuggers
|
2023-11-07 23:03:43 +01:00
|
|
|
URL: ftp://ftp.suse.com/pub/people/jblunck/ptools/
|
2008-11-12 04:44:10 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-09-21 21:26:59 +02:00
|
|
|
Patch0: output-l_addr.diff
|
2009-09-22 23:50:02 +02:00
|
|
|
Patch1: commit-a42a099
|
2023-11-07 23:03:43 +01:00
|
|
|
BuildRequires: libelf-devel
|
|
|
|
BuildRequires: popt-devel
|
2008-11-12 04:44:10 +01:00
|
|
|
#ExclusiveArch: %{ix86} x86_64
|
|
|
|
|
|
|
|
%description
|
|
|
|
pbuildid dumps the build-ids of an executable, core file or a process,
|
|
|
|
given the pid of that process.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-09-21 21:26:59 +02:00
|
|
|
%patch0 -p1
|
2009-09-22 23:50:02 +02:00
|
|
|
%patch1 -p1
|
2008-11-12 04:44:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2023-11-07 23:03:43 +01:00
|
|
|
%make_build
|
2008-11-12 04:44:10 +01:00
|
|
|
|
|
|
|
%install
|
2023-11-07 23:03:43 +01:00
|
|
|
%make_install
|
2008-11-12 04:44:10 +01:00
|
|
|
|
|
|
|
%files
|
2023-11-07 23:03:43 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc README
|
2008-11-12 04:44:10 +01:00
|
|
|
%{_bindir}/pbuildid
|
2023-11-07 23:03:43 +01:00
|
|
|
%{_mandir}/man1/pbuildid.1%{?ext_man}
|
2008-11-12 04:44:10 +01:00
|
|
|
|
|
|
|
%changelog
|