2007-02-05 15:40:30 +01:00
|
|
|
#
|
2010-09-24 01:01:01 +02:00
|
|
|
# spec file for package makedumpfile (Version 1.3.6)
|
2007-02-05 15:40:30 +01:00
|
|
|
#
|
2010-03-02 12:41:56 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-02-05 15:40:30 +01:00
|
|
|
#
|
2008-08-16 01:01:39 +02: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.
|
|
|
|
|
2007-02-05 15:40:30 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-28 16:58:26 +01:00
|
|
|
|
2007-02-05 15:40:30 +01:00
|
|
|
Name: makedumpfile
|
2008-11-21 15:34:18 +01:00
|
|
|
BuildRequires: zlib-devel
|
2008-11-17 17:22:43 +01:00
|
|
|
%if 0%{?suse_version} > 1100
|
|
|
|
BuildRequires: libdw-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: libdw-devel libdw1 libelf-devel libelf0 libelf1
|
|
|
|
%endif
|
2010-03-02 12:41:56 +01:00
|
|
|
License: GPLv2+
|
2010-09-24 01:01:01 +02:00
|
|
|
Version: 1.3.6
|
2009-08-05 00:04:05 +02:00
|
|
|
Release: 1
|
2007-02-05 15:40:30 +01:00
|
|
|
Summary: Partial kernel dump
|
|
|
|
Group: System/Kernel
|
2007-10-10 11:33:02 +02:00
|
|
|
Url: https://sourceforge.net/projects/makedumpfile/
|
2008-11-17 17:22:43 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch0: %{name}-coptflags.diff
|
2007-02-05 15:40:30 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-03-02 12:41:56 +01:00
|
|
|
ExclusiveArch: %ix86 x86_64 ia64 ppc64
|
2007-02-05 15:40:30 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
makedumpfile is a dump program to shorten the size of dump file. It
|
|
|
|
copies only the necessary pages for analysis with various dump levels,
|
|
|
|
and can compress the page data. The obtained dump file can by analyzed
|
|
|
|
via gdb or crash utility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
NEC Corporation
|
|
|
|
|
|
|
|
%prep
|
2008-09-09 22:14:10 +02:00
|
|
|
%setup -q
|
2009-08-05 00:04:05 +02:00
|
|
|
%patch0 -p1
|
2007-02-05 15:40:30 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
make COPTFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/bin
|
|
|
|
install -c -m 0755 makedumpfile $RPM_BUILD_ROOT/bin
|
|
|
|
install -c -m 0755 makedumpfile-R.pl $RPM_BUILD_ROOT/bin
|
2007-03-11 00:02:29 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
|
|
|
install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
2007-02-05 15:40:30 +01:00
|
|
|
|
|
|
|
%clean
|
2009-08-05 00:04:05 +02:00
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
2007-02-05 15:40:30 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-08-16 01:01:39 +02:00
|
|
|
%doc README COPYING IMPLEMENTATION
|
2007-03-11 00:02:29 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
2007-02-05 15:40:30 +01:00
|
|
|
/bin/*
|
2007-11-29 18:24:38 +01:00
|
|
|
|
2007-03-11 00:02:29 +01:00
|
|
|
%changelog
|