2 # - build Qt GUI for Linux Crash (spec/lkcdutils-qlcrash.spec)
5 # - has patched bfd, see if it still needed
6 Summary: Linux Kernel Crash Dump (LKCD) Utilities
10 License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
12 Source0: http://dl.sourceforge.net/lkcd/%{name}-%{version}.tar.gz
13 # Source0-md5: 8cd68ff9115d210d4f1c6458929559a3
14 URL: http://lkcd.sourceforge.net/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This software package contains system crash dump analyzer tools. It
20 includes Linux Crash (lcrash) and all appropriate user level scripts
21 required for saving and configuring system crash dumps. This package
22 should be installed after the lkcd kernel patches are installed on the
29 # not autotools generated configure
34 # --cflags=%{rpmcflags} \
35 # --lflags=%{rpmldflags}
43 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 %{__make} -C netdump install \
49 DESTDIR=$RPM_BUILD_ROOT
53 # We do not need these files for s390 and s390x
54 rm -f $RPM_BUILD_ROOT/etc/sysconfig/dump \
55 $RPM_BUILD_ROOT/sbin/lkcd \
56 $RPM_BUILD_ROOT/sbin/lkcd_config \
57 $RPM_BUILD_ROOT%{_prefix}/man/man1/lkcd_config.1*
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)