File kdumpid.spec of Package kdumpid

# spec file for package kdumpid
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

# norootforbuild


Name:           kdumpid
BuildRequires:  zlib-devel
%if 0%{?suse_version} < 1030
BuildRequires:  binutils
BuildRequires:  binutils-devel
License:        GPL-2.0+
Group:          System/Kernel
Version:        0.92
Release:        0
Summary:        Utility to extract information from vmcores
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         kdumpid-%{version}.tar.bz2

Kdumpid extracts information such as type of dump, architecture
and kernel version from raw vmcores (Kernel memory dumps).


make CUSTOM_CFLAGS="${CFLAGS:-%optflags}"

export BINDIR=%{_bindir}
export MANDIR=%{_mandir}
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}

%defattr (-, root, root)