forked from pool/ptools
Dirk Mueller
83052cee5a
64bit targets but not for 32 bit targets to make the package buildable with GCC 14 on i586. If the request is OK, please forward it to Factory too so that we can switch the default compiler soon. Thanks! OBS-URL: https://build.opensuse.org/package/show/Base:System/ptools?expand=0&rev=14
55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package ptools
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ptools
|
|
Version: 0.1
|
|
Release: 0
|
|
Summary: The process tools collection
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Debuggers
|
|
URL: ftp://ftp.suse.com/pub/people/jblunck/ptools/
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch0: output-l_addr.diff
|
|
Patch1: commit-a42a099
|
|
Patch2: fix-32bit-cast.diff
|
|
BuildRequires: libelf-devel
|
|
BuildRequires: popt-devel
|
|
#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
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README
|
|
%{_bindir}/pbuildid
|
|
%{_mandir}/man1/pbuildid.1%{?ext_man}
|
|
|
|
%changelog
|