2008-11-12 04:44:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package ptools (Version 0.1)
|
|
|
|
#
|
2009-09-21 21:26:59 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Url: ftp://ftp.suse.com/pub/people/jblunck/ptools/
|
|
|
|
|
|
|
|
Name: ptools
|
|
|
|
Summary: The process tools collection
|
|
|
|
Version: 0.1
|
2009-09-22 23:50:02 +02:00
|
|
|
Release: 4
|
2008-11-12 04:44:10 +01:00
|
|
|
License: GPL v2 or later
|
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
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
|
2008-11-12 04:44:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: libelf-devel popt-devel
|
|
|
|
AutoReqProv: on
|
|
|
|
#ExclusiveArch: %{ix86} x86_64
|
|
|
|
|
|
|
|
%description
|
|
|
|
pbuildid dumps the build-ids of an executable, core file or a process,
|
|
|
|
given the pid of that process.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Jan Blunck <jblunck@suse.de>
|
|
|
|
|
|
|
|
%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
|
2010-11-01 09:23:09 +01:00
|
|
|
make %{?_smp_mflags}
|
2008-11-12 04:44:10 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING README
|
|
|
|
%{_bindir}/pbuildid
|
|
|
|
%{_mandir}/man1/pbuildid.1*
|
|
|
|
|
|
|
|
%changelog
|