Regenerate.

This commit is contained in:
Ralf Corsepius
2008-03-25 05:50:32 +00:00
parent 4e780508f7
commit 1f129d87d5
11 changed files with 173 additions and 20 deletions

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target arm-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target avr-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.5 %define gdb_version 6.5
%define gdb_rpmvers %{expand:%(echo 6.5 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.5 | tr - _)}
@@ -25,6 +31,10 @@ 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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -61,9 +71,11 @@ GDB for target bfin-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -88,6 +100,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target h8300-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target i386-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target m68k-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target mips-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target mipstx39-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target powerpc-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target sh-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build

View File

@@ -13,6 +13,12 @@
%define _exeext %{nil} %define _exeext %{nil}
%endif %endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%define debug_package %{nil}
%endif
%define gdb_version 6.7.1 %define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)} %define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
@@ -20,11 +26,15 @@ 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: 5%{?dist} Release: 6%{?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 "%{_build}" != "%{_host}"
BuildRequires: rtems-4.9-%{_host}-gcc
%endif
%if "%{gdb_version}" >= "6.6" %if "%{gdb_version}" >= "6.6"
# suse # suse
%if "%{?suse}" %if "%{?suse}"
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.7.1" %if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071216.diff Patch0: gdb-6.7.1-rtems4.9-20080324.diff
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
%endif %endif
%description %description
@@ -63,9 +74,11 @@ GDB for target sparc-rtems4.9
%setup -q -D -T -n %{name}-%{version} -a0 %setup -q -D -T -n %{name}-%{version} -a0
cd gdb-%{gdb_version} cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1} %{?PATCH0:%patch0 -p1}
%{?PATCH1:%patch1 -p1}
cd .. cd ..
%build %build
export PATH="%{_bindir}:${PATH}"
mkdir -p build mkdir -p build
cd build cd build
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
@@ -90,6 +103,7 @@ cd ..
cd .. cd ..
%install %install
export PATH="%{_bindir}:${PATH}"
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd build cd build