Regenerate.

This commit is contained in:
Ralf Corsepius
2011-09-01 09:22:43 +00:00
parent 660912b990
commit 04232161bf
16 changed files with 70 additions and 78 deletions

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-arm-rtemseabi4.11-gdb
Summary: Gdb for target arm-rtemseabi4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target arm-rtemseabi4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-arm-rtems4.11-gdb
Summary: Gdb for target arm-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target arm-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-avr-rtems4.11-gdb
Summary: Gdb for target avr-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target avr-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-bfin-rtems4.11-gdb
Summary: Gdb for target bfin-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -86,6 +86,11 @@ BuildRequires: %{_host_rpmprefix}expat-devel
%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
Requires: rtems-4.11-gdb-common
BuildRequires: rtems-4.11-bfin-rtems4.11-binutils
BuildRequires: texinfo
@@ -135,6 +140,7 @@ cd ..
--mandir=%{_mandir} --infodir=%{_infodir}
make %{?_smp_mflags} all
make info
cd ..
%install
@@ -144,8 +150,13 @@ cd ..
cd build
make DESTDIR=$RPM_BUILD_ROOT install
# Conflict with a native gdb's infos
rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
touch $RPM_BUILD_ROOT%{_infodir}/dir
# These come from other packages
rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
# We don't ship host files
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
@@ -230,3 +241,44 @@ GNU gdb targetting bfin-rtems4.11.
%dir %{_bindir}
%{_bindir}/bfin-rtems4.11-*
# ==============================================================
# rtems-4.11-gdb-common
# ==============================================================
%package -n rtems-4.11-gdb-common
Summary: Base package for RTEMS gdbs
Group: Development/Tools
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%{?_with_noarch_subpackages:BuildArch: noarch}
%description -n rtems-4.11-gdb-common
GDB files shared by all targets.
%post -n rtems-4.11-gdb-common
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
%preun -n rtems-4.11-gdb-common
if [ $1 -eq 0 ]; then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
fi
%files -n rtems-4.11-gdb-common
%defattr(-,root,root)
%dir %{_prefix}
%dir %{_prefix}/share
%dir %{_infodir}
%ghost %{_infodir}/dir
%{_infodir}/gdb.info*
%{_infodir}/gdbint.info*
%{_infodir}/stabs.info*
%{_infodir}/annotate.info*

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-h8300-rtems4.11-gdb
Summary: Gdb for target h8300-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -103,10 +103,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target h8300-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-i386-rtems4.11-gdb
Summary: Gdb for target i386-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target i386-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-lm32-rtems4.11-gdb
Summary: Gdb for target lm32-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -103,10 +103,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target lm32-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-m32c-rtems4.11-gdb
Summary: Gdb for target m32c-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -103,10 +103,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target m32c-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-m32r-rtems4.11-gdb
Summary: Gdb for target m32r-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target m32r-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-m68k-rtems4.11-gdb
Summary: Gdb for target m68k-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target m68k-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-mips-rtems4.11-gdb
Summary: Gdb for target mips-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target mips-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-mipstx39-rtems4.11-gdb
Summary: Gdb for target mipstx39-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -103,10 +103,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target mipstx39-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-powerpc-rtems4.11-gdb
Summary: Gdb for target powerpc-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,10 +105,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target powerpc-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-sh-rtems4.11-gdb
Summary: Gdb for target sh-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target sh-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-sparc-rtems4.11-gdb
Summary: Gdb for target sparc-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -103,10 +103,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target sparc-rtems4.11

View File

@@ -52,7 +52,7 @@ Name: rtems-4.11-sparc64-rtems4.11-gdb
Summary: Gdb for target sparc64-rtems4.11
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,10 +99,6 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.di
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100907.diff
%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
%endif
%description
GDB for target sparc64-rtems4.11