This commit is contained in:
committed by
Git OBS Bridge
parent
2100ce0800
commit
9712638660
65
gdb.spec
65
gdb.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package gdb (Version 6.6)
|
||||
# spec file for package gdb (Version 6.6.50.20070511)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -11,39 +11,34 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: gdb
|
||||
BuildRequires: dejagnu gcc-c++ gcc-fortran gcc-java gcc-objc readline-devel
|
||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc libexpat-devel readline-devel
|
||||
%ifarch %ix86 x86_64 ia64
|
||||
BuildRequires: libunwind-devel
|
||||
%endif
|
||||
%ifnarch ppc64 s390x
|
||||
BuildRequires: gcc-ada
|
||||
%endif
|
||||
URL: http://www.gnu.org/software/gdb/
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Development/Tools/Debuggers
|
||||
Autoreqprov: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Version: 6.6
|
||||
Release: 30
|
||||
Version: 6.6.50.20070511
|
||||
Release: 1
|
||||
Summary: The GNU Debugger
|
||||
Source: gdb-%{version}.tar.bz2
|
||||
Source: gdb-%{version}-cvs.tar.bz2
|
||||
Patch1: gdb-misc.patch
|
||||
Patch2: warn.patch
|
||||
Patch3: readline-5.1-random.patch
|
||||
Patch4: readnever.patch
|
||||
Patch5: gstack.patch
|
||||
Patch6: sect-index-text.diff
|
||||
Patch7: ppc-dwarf2-cfi.patch
|
||||
Patch8: pie-relocate.diff
|
||||
Patch9: mst-solib-trampoline.diff
|
||||
Patch10: readline-callback.diff
|
||||
Patch11: loader_break.diff
|
||||
Patch12: ppc-long-double.diff
|
||||
Patch13: lr-frame-offset.diff
|
||||
Patch15: solib-extract-address.diff
|
||||
Patch16: pc-regnum.diff
|
||||
Patch17: show-endian.diff
|
||||
Patch18: elf-symtab-read.diff
|
||||
Patch19: atomic-single-step.diff
|
||||
Patch20: altivec-regs.diff
|
||||
Patch21: ppc-cr-regnum.diff
|
||||
Patch7: pie-relocate.diff
|
||||
Patch8: mst-solib-trampoline.diff
|
||||
Patch9: loader_break.diff
|
||||
Patch10: ppc-long-double.diff
|
||||
Patch11: elf-symtab-read.diff
|
||||
Patch12: find-pc-sect-line.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -71,33 +66,21 @@ Authors:
|
||||
Stu Grossman <grossman@cygnus.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-%{version}-cvs
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
cd gdb
|
||||
%patch7
|
||||
cd ..
|
||||
%patch8
|
||||
cd gdb
|
||||
%patch9
|
||||
cd ..
|
||||
%patch10
|
||||
cd gdb
|
||||
%patch11
|
||||
cd ..
|
||||
%patch12
|
||||
%patch13 -p1
|
||||
%patch15
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch18
|
||||
cd gdb
|
||||
%patch19
|
||||
cd ..
|
||||
%patch20
|
||||
%patch21
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -109,16 +92,18 @@ CFLAGS="$RPM_OPT_FLAGS" \
|
||||
--without-libunwind \
|
||||
%endif
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--enable-64-bit-bfd --disable-werror \
|
||||
--host=%{_target_cpu}-suse-linux
|
||||
--enable-64-bit-bfd --disable-werror --disable-tui \
|
||||
--build=%{_target_cpu}-suse-linux
|
||||
make %{?jobs:-j%jobs}
|
||||
make info
|
||||
ulimit -c unlimited
|
||||
export TERM=dumb
|
||||
make -k check || :
|
||||
|
||||
%install
|
||||
make install-gdb install-info-gdb DESTDIR="$RPM_BUILD_ROOT"
|
||||
echo '#!/bin/sh
|
||||
exec gdb --tui "$@"' > $RPM_BUILD_ROOT%{_bindir}/gdbtui
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/run
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/run.1
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -139,10 +124,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.LIB gdb/README gdb/NEWS
|
||||
%{_bindir}/gdb
|
||||
%{_bindir}/gdbtui
|
||||
%{_bindir}/gstack
|
||||
%{_mandir}/man1/gdb.1.gz
|
||||
%{_mandir}/man1/gdbtui.1.gz
|
||||
%{_infodir}/annotate.info*.gz
|
||||
%{_infodir}/gdb.info*.gz
|
||||
%{_infodir}/gdbint.info*.gz
|
||||
@@ -153,6 +136,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 11 2007 - schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
* Fri Apr 13 2007 - schwab@suse.de
|
||||
- Avoid crash on object with no text section [#176306].
|
||||
* Wed Apr 11 2007 - schwab@suse.de
|
||||
|
Reference in New Issue
Block a user