Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
crosscrash
crosscrash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crosscrash.spec of Package crosscrash
# # spec file for package crosscrash # # 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 http://bugs.opensuse.org/ # Name: crosscrash Summary: Cross-architecture version of crash (tool to debug kernel dump files) Version: 4.0.7.4 Release: 3 %define crash_version %(echo %{version} | cut -d . -f 1-2) %define crash_subversion %(echo %{version} | cut -d . -f 3-4) License: GPL-2.0 ; GPL-2.0+ ; LGPL-2.1+ Group: Development/Tools/Debuggers Source: crash-%{crash_version}-%{crash_subversion}.tar.bz2 Source1: README.SUSE BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: crosscrash-Makefile-ADD_CFLAGS.diff.bz2 Patch1: crosscrash-make-emacs-default.diff.bz2 Patch2: crosscrash-search-also-in-lib-crash.diff.bz2 Patch3: crosscrash-fixed-uninitialised.diff.bz2 Patch4: crosscrash-crash-compressed-kernel.bz2 Patch5: crosscrash-crash-segmentation-fault-fix.diff.bz2 Patch6: crosscrash-crash-remove-archive-before-adding.diff.bz2 Patch7: crosscrash-crash-remove-remote.diff.bz2 Patch8: crosscrash-crash-remove-unwind-dead-code.diff.bz2 Patch9: crosscrash-crash-lkcd-index-file.diff.bz2 Patch10: crosscrash-crash-struct-module-2.6.27.diff.bz2 Patch11: crosscrash-crash-xen-dead-code.diff.bz2 Patch12: crosscrash-crash-crossgdb.diff.bz2 Patch13: crosscrash-crash-use-mulle-gdb-targets.diff.bz2 Patch14: crosscrash-crash-mulle-crash-targets.diff.bz2 Patch15: crosscrash-crash-configure-fix-warning.diff.bz2 Patch16: crosscrash-warning-T-hint.diff.bz2 Patch17: crosscrash-crash-STRCASEEQ.diff.bz2 Patch18: crosscrash-crash-dup-offsetoff.diff.bz2 Patch19: crosscrash-crash-archinit.diff.bz2 Patch20: crosscrash-crash-add-target-help.diff.bz2 Patch21: crosscrash-crash-mkstring-cross.diff.bz2 Patch22: crosscrash-crash-cross-machdep_init.diff.bz2 Patch23: crosscrash-crash-setup-host.diff.bz2 Patch24: crosscrash-crash-machdep-setup-env.diff.bz2 Patch25: crosscrash-crash-dynamic-nr_cpus.diff.bz2 Patch26: crosscrash-crash-cross-machine-type.diff.bz2 Patch27: crosscrash-crash-VTOP.diff.bz2 Patch28: crosscrash-crash-PTOV.diff.bz2 Patch29: crosscrash-crash-IS_VMALLOC_ADDR.diff.bz2 Patch30: crosscrash-crash-arch-private-constants.diff.bz2 Patch31: crosscrash-arch-private-x86.diff.bz2 Patch32: crosscrash-arch-private-x86_64.diff.bz2 Patch33: crosscrash-arch-private-alpha.diff.bz2 Patch34: crosscrash-arch-private-ia64.diff.bz2 Patch35: crosscrash-arch-private-ppc.diff.bz2 Patch36: crosscrash-arch-private-ppc64.diff.bz2 Patch37: crosscrash-arch-private-s390.diff.bz2 Patch38: crosscrash-arch-private-s390x.diff.bz2 Patch39: crosscrash-crash-swp.diff.bz2 Patch40: crosscrash-crash-TIF_SIGPENDING.diff.bz2 Patch41: crosscrash-crash-UVADDR_PRLEN.diff.bz2 Patch42: crosscrash-unify-irq-constants.diff.bz2 Patch43: crosscrash-crash-dump-machdep-table.diff.bz2 Patch44: crosscrash-crash-struct-machine-specific.diff.bz2 Patch45: crosscrash-crash-display-idt-table.diff.bz2 Patch46: crosscrash-crash-hypervisor.diff.bz2 Patch47: crosscrash-pt-regs.diff.bz2 Patch48: crosscrash-crash-unwind-use-fpreg.diff.bz2 Patch49: crosscrash-crash-unwind-use-pt_regs.diff.bz2 Patch50: crosscrash-crash-lkcdv1.diff.bz2 Patch51: crosscrash-crash-lkcdv2.diff.bz2 Patch52: crosscrash-crash-lkcdv8.diff.bz2 Patch53: crosscrash-crash-symbol-type.diff.bz2 Patch54: crosscrash-crash-crosscrashmacro.diff.bz2 Patch55: crosscrash-crash-unwind-x86.diff.bz2 Patch56: crosscrash-crash-pagesize2.diff.bz2 Patch57: crosscrash-crash-remove-non-MCLX.diff.bz2 Patch58: crosscrash-crash-ansi-c.diff.bz2 Patch59: crosscrash-crash-compile-warning.diff.bz2 Patch60: crosscrash-crash-long.diff.bz2 Patch61: crosscrash-crash-remove-redhat.diff.bz2 Patch62: crosscrash-crash-compile-warnings-lkcd_x86_trace.diff.bz2 Patch63: crosscrash-crash-datatype-macros.diff.bz2 Patch64: crosscrash-crash-target-ptr.diff.bz2 Patch65: crosscrash-crash-use-target-ptr.diff.bz2 Patch66: crosscrash-crash-kernel-sym.diff.bz2 Patch67: crosscrash-crash-pid_hash-upid.diff.bz2 Patch68: crosscrash-crash-hq-64bit.diff.bz2 Patch69: crosscrash-crash-readmem-array.diff.bz2 Patch70: crosscrash-crash-idle-tasks.diff.bz2 Patch71: crosscrash-no-return.diff.bz2 Patch72: crosscrash-portability-issue.diff.bz2 Patch73: crosscrash-buffer-overflow.diff.bz2 Patch74: crosscrash-gcc-4.5.diff BuildRequires: bison flex ncurses-devel zlib-devel %description The core analysis suite is a self-contained tool that can be used to investigate either live systems, kernel core dumps created from the netdump and diskdump packages from Red Hat Linux, the mcore kernel patch offered by Mission Critical Linux, or the LKCD kernel patch. This package contains a cross-architecture capable version of crash which is not mature yet (that's why the 'crash' package is shipped in addition). With this version you can open dumps from another architecture. Please read README.SUSE before you use it. %prep %setup -q -n crash-%{crash_version}-%{crash_subversion} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 %patch29 -p1 %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch35 -p1 %patch36 -p1 %patch37 -p1 %patch38 -p1 %patch39 -p1 %patch40 -p1 %patch41 -p1 %patch42 -p1 %patch43 -p1 %patch44 -p1 %patch45 -p1 %patch46 -p1 %patch47 -p1 %patch48 -p1 %patch49 -p1 %patch50 -p1 %patch51 -p1 %patch52 -p1 %patch53 -p1 %patch54 -p1 %patch55 -p1 %patch56 -p1 %patch57 -p1 %patch58 -p1 %patch59 -p1 %patch60 -p1 %patch61 -p1 %patch62 -p1 %patch63 -p1 %patch64 -p1 %patch65 -p1 %patch66 -p1 %patch67 -p1 %patch68 -p1 %patch69 -p1 %patch70 -p1 %patch71 -p1 %patch72 -p1 %patch73 -p1 %patch74 -p1 %build #export CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing" make ADD_CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing -fno-builtin-memset" \ RPMPKG="`cat .rh_rpm_package`" %{?_smp_mflags} cp %{S:1} . %install mkdir -p $RPM_BUILD_ROOT/%{_bindir} install -m 0755 crash $RPM_BUILD_ROOT/%{_bindir}/crosscrash # permissions chmod 644 COPYING %files %defattr(-,root,root) %{_bindir}/crosscrash %doc README COPYING README.SUSE # :mode=rpm-spec:maxLineLen=0: %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor