forked from Imagelibrary/rtems
gdb-6.7.1-4
This commit is contained in:
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-arm-rtems4.9-gdb
|
Name: rtems-4.9-arm-rtems4.9-gdb
|
||||||
Summary: Gdb for target arm-rtems4.9
|
Summary: Gdb for target arm-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "arm-rtems4.9" == "sparc-rtems4.9"
|
%if "arm-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target arm-rtems4.9
|
GDB for target arm-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ include ../gcc.am
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-avr-rtems4.9-gdb
|
Name: rtems-4.9-avr-rtems4.9-gdb
|
||||||
Summary: Gdb for target avr-rtems4.9
|
Summary: Gdb for target avr-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "avr-rtems4.9" == "sparc-rtems4.9"
|
%if "avr-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target avr-rtems4.9
|
GDB for target avr-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -26,9 +26,15 @@ URL: http://sources.redhat.com/gdb
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "bfin-rtems4.9" == "sparc-rtems4.9"
|
%if "bfin-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -68,6 +75,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-h8300-rtems4.9-gdb
|
Name: rtems-4.9-h8300-rtems4.9-gdb
|
||||||
Summary: Gdb for target h8300-rtems4.9
|
Summary: Gdb for target h8300-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "h8300-rtems4.9" == "sparc-rtems4.9"
|
%if "h8300-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target h8300-rtems4.9
|
GDB for target h8300-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-i386-rtems4.9-gdb
|
Name: rtems-4.9-i386-rtems4.9-gdb
|
||||||
Summary: Gdb for target i386-rtems4.9
|
Summary: Gdb for target i386-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "i386-rtems4.9" == "sparc-rtems4.9"
|
%if "i386-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target i386-rtems4.9
|
GDB for target i386-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-m68k-rtems4.9-gdb
|
Name: rtems-4.9-m68k-rtems4.9-gdb
|
||||||
Summary: Gdb for target m68k-rtems4.9
|
Summary: Gdb for target m68k-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "m68k-rtems4.9" == "sparc-rtems4.9"
|
%if "m68k-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target m68k-rtems4.9
|
GDB for target m68k-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-mips-rtems4.9-gdb
|
Name: rtems-4.9-mips-rtems4.9-gdb
|
||||||
Summary: Gdb for target mips-rtems4.9
|
Summary: Gdb for target mips-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "mips-rtems4.9" == "sparc-rtems4.9"
|
%if "mips-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target mips-rtems4.9
|
GDB for target mips-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ include $(top_srcdir)/mkspec.am
|
|||||||
# We only want a gdb with a tx39 simulator in it. We share the other tools
|
# We only want a gdb with a tx39 simulator in it. We share the other tools
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-mipstx39-rtems4.9-gdb
|
Name: rtems-4.9-mipstx39-rtems4.9-gdb
|
||||||
Summary: Gdb for target mipstx39-rtems4.9
|
Summary: Gdb for target mipstx39-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "mipstx39-rtems4.9" == "sparc-rtems4.9"
|
%if "mipstx39-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target mipstx39-rtems4.9
|
GDB for target mipstx39-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-powerpc-rtems4.9-gdb
|
Name: rtems-4.9-powerpc-rtems4.9-gdb
|
||||||
Summary: Gdb for target powerpc-rtems4.9
|
Summary: Gdb for target powerpc-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "powerpc-rtems4.9" == "sparc-rtems4.9"
|
%if "powerpc-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target powerpc-rtems4.9
|
GDB for target powerpc-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 2%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-sh-rtems4.9-gdb
|
Name: rtems-4.9-sh-rtems4.9-gdb
|
||||||
Summary: Gdb for target sh-rtems4.9
|
Summary: Gdb for target sh-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "sh-rtems4.9" == "sparc-rtems4.9"
|
%if "sh-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target sh-rtems4.9
|
GDB for target sh-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
|
|||||||
|
|
||||||
GDB_VERS = 6.7.1
|
GDB_VERS = 6.7.1
|
||||||
GDB_PKGVERS = $(GDB_VERS)
|
GDB_PKGVERS = $(GDB_VERS)
|
||||||
GDB_RPMREL = 3%{?dist}
|
GDB_RPMREL = 4%{?dist}
|
||||||
include ../gdb.am
|
include ../gdb.am
|
||||||
GDB_OPTS +=
|
GDB_OPTS +=
|
||||||
|
|
||||||
|
|||||||
@@ -13,22 +13,28 @@
|
|||||||
%define _exeext %{nil}
|
%define _exeext %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define gdb_version 6.7
|
%define gdb_version 6.7.1
|
||||||
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
|
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||||
|
|
||||||
Name: rtems-4.9-sparc-rtems4.9-gdb
|
Name: rtems-4.9-sparc-rtems4.9-gdb
|
||||||
Summary: Gdb for target sparc-rtems4.9
|
Summary: Gdb for target sparc-rtems4.9
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gdb_rpmvers}
|
Version: %{gdb_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
URL: http://sources.redhat.com/gdb
|
URL: http://sources.redhat.com/gdb
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if "%{gdb_version}" >= "6.6"
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
# suse
|
||||||
%if "%{?suse}"
|
%if "%{?suse}"
|
||||||
BuildRequires: expat
|
%if "%{?suse}" >= "10.3"
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: expat
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# fedora/redhat
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: /sbin/install-info
|
BuildRequires: /sbin/install-info
|
||||||
BuildRequires: texinfo >= 4.2
|
BuildRequires: texinfo >= 4.2
|
||||||
%if "sparc-rtems4.9" == "sparc-rtems4.9"
|
%if "sparc-rtems4.9" == "sparc-rtems4.9"
|
||||||
BuildRequires: libtermcap-devel
|
BuildConflicts: libtermcap-devel termcap-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Requires: rtems-4.9-gdb-common
|
Requires: rtems-4.9-gdb-common
|
||||||
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
|
|||||||
%if "%{gdb_version}" == "6.7"
|
%if "%{gdb_version}" == "6.7"
|
||||||
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
Patch0: gdb-6.7-rtems4.9-20071011.diff
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{gdb_version}" == "6.7.1"
|
||||||
|
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GDB for target sparc-rtems4.9
|
GDB for target sparc-rtems4.9
|
||||||
@@ -76,6 +86,10 @@ cd ..
|
|||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
--enable-sim \
|
||||||
|
%if "%{gdb_version}" >= "6.6"
|
||||||
|
--with-system-readline \
|
||||||
|
--with-expat \
|
||||||
|
%endif
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir}
|
||||||
|
|||||||
Reference in New Issue
Block a user