Changeset ac620ef in rtems


Ignore:
Timestamp:
Sep 1, 2011, 3:55:47 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
7a84689f
Parents:
120adc24
Message:

Regenerate.

Location:
contrib/crossrpms/rtems4.11
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-arm-rtemseabi4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/arm-rtemseabi4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtemseabi4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/arm-rtemseabi4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/arm-rtemseabi4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/arm-rtemseabi4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/arm-rtemseabi4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-arm-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/arm-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/arm-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/arm-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/arm-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/arm-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-avr-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/avr-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libavr-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/avr-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/avr-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/avr-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/avr-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9486%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    96 
    97 
    98 
    9988
    10089BuildRequires:  rtems-4.11-bfin-rtems4.11-binutils
     
    141130    --with-expat \
    142131    %{?with_python:--with-python}%{!?with_python:--without-python} \
     132    --with-gdb-datadir=%{_datadir}/bfin-rtems4.11-gdb \
    143133    --prefix=%{_prefix} --bindir=%{_bindir} \
    144134    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    164154  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libbfin-rtems4.11-sim.a
    165155
    166 %if "%{gdb_version}" >= "7.0"
    167156# Bug in gdb-7.0, bogusly installs linux-only files
    168157  somethinguseful=0
    169   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     158  for f in ${RPM_BUILD_ROOT}%{_datadir}/bfin-rtems4.11-gdb/syscalls/*.xml; do
    170159    case $f in
    171160    *linux.xml) rm -f $f;;
     
    174163  done
    175164  if test $somethinguseful -eq 0; then
    176     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     165    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/bfin-rtems4.11-gdb/syscalls"
    177166  fi
    178 %endif
    179167
    180168%if "{gdb_version}" >= "7.3"
    181169%if ! %{with python}
    182170# gdb-7.3 doesn't honor --without-python correctly
    183   rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gdb/python
     171  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/bfin-rtems4.11-gdb/python
    184172%endif
    185173%endif
     
    234222%dir %{_prefix}
    235223%dir %{_prefix}/share
     224%{?with_python:%{_datadir}/bfin-rtems4.11-gdb}
    236225
    237226%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-h8300-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9991BuildRequires:  %{_host_rpmprefix}ncurses-devel
    10092
    101 
    10293# Required for building the infos
    10394BuildRequires:  /sbin/install-info
    10495BuildRequires:  texinfo >= 4.2
    105 
    106 
    10796Requires:       rtems-4.11-gdb-common
    10897
     98%if "%{gdb_version}" == "7.3"
     99Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     100Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     101%endif
    109102%if "%{gdb_version}" == "7.2"
    110103Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    147140    --with-expat \
    148141    %{?with_python:--with-python}%{!?with_python:--without-python} \
     142    --with-gdb-datadir=%{_datadir}/h8300-rtems4.11-gdb \
    149143    --prefix=%{_prefix} --bindir=%{_bindir} \
    150144    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    176170  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libh8300-rtems4.11-sim.a
    177171
    178 %if "%{gdb_version}" >= "7.0"
    179172# Bug in gdb-7.0, bogusly installs linux-only files
    180173  somethinguseful=0
    181   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     174  for f in ${RPM_BUILD_ROOT}%{_datadir}/h8300-rtems4.11-gdb/syscalls/*.xml; do
    182175    case $f in
    183176    *linux.xml) rm -f $f;;
     
    186179  done
    187180  if test $somethinguseful -eq 0; then
    188     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     181    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/h8300-rtems4.11-gdb/syscalls"
    189182  fi
    190 %endif
    191 
     183
     184%if "{gdb_version}" >= "7.3"
     185%if ! %{with python}
     186# gdb-7.3 doesn't honor --without-python correctly
     187  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/h8300-rtems4.11-gdb/python
     188%endif
     189%endif
    192190  cd ..
    193191
     
    240238%dir %{_prefix}
    241239%dir %{_prefix}/share
     240%{?with_python:%{_datadir}/h8300-rtems4.11-gdb}
    242241
    243242%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-i386-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/i386-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libi386-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/i386-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/i386-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/i386-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/i386-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-lm32-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9991BuildRequires:  %{_host_rpmprefix}ncurses-devel
    10092
    101 
    10293# Required for building the infos
    10394BuildRequires:  /sbin/install-info
    10495BuildRequires:  texinfo >= 4.2
    105 
    106 
    10796Requires:       rtems-4.11-gdb-common
    10897
     98%if "%{gdb_version}" == "7.3"
     99Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     100Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     101%endif
    109102%if "%{gdb_version}" == "7.2"
    110103Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    147140    --with-expat \
    148141    %{?with_python:--with-python}%{!?with_python:--without-python} \
     142    --with-gdb-datadir=%{_datadir}/lm32-rtems4.11-gdb \
    149143    --prefix=%{_prefix} --bindir=%{_bindir} \
    150144    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    176170  rm -f ${RPM_BUILD_ROOT}%{_libdir}/liblm32-rtems4.11-sim.a
    177171
    178 %if "%{gdb_version}" >= "7.0"
    179172# Bug in gdb-7.0, bogusly installs linux-only files
    180173  somethinguseful=0
    181   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     174  for f in ${RPM_BUILD_ROOT}%{_datadir}/lm32-rtems4.11-gdb/syscalls/*.xml; do
    182175    case $f in
    183176    *linux.xml) rm -f $f;;
     
    186179  done
    187180  if test $somethinguseful -eq 0; then
    188     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     181    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/lm32-rtems4.11-gdb/syscalls"
    189182  fi
    190 %endif
    191 
     183
     184%if "{gdb_version}" >= "7.3"
     185%if ! %{with python}
     186# gdb-7.3 doesn't honor --without-python correctly
     187  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/lm32-rtems4.11-gdb/python
     188%endif
     189%endif
    192190  cd ..
    193191
     
    240238%dir %{_prefix}
    241239%dir %{_prefix}/share
     240%{?with_python:%{_datadir}/lm32-rtems4.11-gdb}
    242241
    243242%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-m32c-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9991BuildRequires:  %{_host_rpmprefix}ncurses-devel
    10092
    101 
    10293# Required for building the infos
    10394BuildRequires:  /sbin/install-info
    10495BuildRequires:  texinfo >= 4.2
    105 
    106 
    10796Requires:       rtems-4.11-gdb-common
    10897
     98%if "%{gdb_version}" == "7.3"
     99Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     100Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     101%endif
    109102%if "%{gdb_version}" == "7.2"
    110103Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    147140    --with-expat \
    148141    %{?with_python:--with-python}%{!?with_python:--without-python} \
     142    --with-gdb-datadir=%{_datadir}/m32c-rtems4.11-gdb \
    149143    --prefix=%{_prefix} --bindir=%{_bindir} \
    150144    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    176170  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm32c-rtems4.11-sim.a
    177171
    178 %if "%{gdb_version}" >= "7.0"
    179172# Bug in gdb-7.0, bogusly installs linux-only files
    180173  somethinguseful=0
    181   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     174  for f in ${RPM_BUILD_ROOT}%{_datadir}/m32c-rtems4.11-gdb/syscalls/*.xml; do
    182175    case $f in
    183176    *linux.xml) rm -f $f;;
     
    186179  done
    187180  if test $somethinguseful -eq 0; then
    188     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     181    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/m32c-rtems4.11-gdb/syscalls"
    189182  fi
    190 %endif
    191 
     183
     184%if "{gdb_version}" >= "7.3"
     185%if ! %{with python}
     186# gdb-7.3 doesn't honor --without-python correctly
     187  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/m32c-rtems4.11-gdb/python
     188%endif
     189%endif
    192190  cd ..
    193191
     
    240238%dir %{_prefix}
    241239%dir %{_prefix}/share
     240%{?with_python:%{_datadir}/m32c-rtems4.11-gdb}
    242241
    243242%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-m32r-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/m32r-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm32r-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/m32r-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/m32r-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/m32r-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/m32r-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-m68k-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/m68k-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm68k-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/m68k-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/m68k-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/m68k-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/m68k-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-mips-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/mips-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmips-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/mips-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/mips-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mips-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/mips-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-mipstx39-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9991BuildRequires:  %{_host_rpmprefix}ncurses-devel
    10092
    101 
    10293# Required for building the infos
    10394BuildRequires:  /sbin/install-info
    10495BuildRequires:  texinfo >= 4.2
    105 
    106 
    10796Requires:       rtems-4.11-gdb-common
    10897
     98%if "%{gdb_version}" == "7.3"
     99Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     100Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     101%endif
    109102%if "%{gdb_version}" == "7.2"
    110103Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    147140    --with-expat \
    148141    %{?with_python:--with-python}%{!?with_python:--without-python} \
     142    --with-gdb-datadir=%{_datadir}/mipstx39-rtems4.11-gdb \
    149143    --prefix=%{_prefix} --bindir=%{_bindir} \
    150144    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    176170  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmipstx39-rtems4.11-sim.a
    177171
    178 %if "%{gdb_version}" >= "7.0"
    179172# Bug in gdb-7.0, bogusly installs linux-only files
    180173  somethinguseful=0
    181   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     174  for f in ${RPM_BUILD_ROOT}%{_datadir}/mipstx39-rtems4.11-gdb/syscalls/*.xml; do
    182175    case $f in
    183176    *linux.xml) rm -f $f;;
     
    186179  done
    187180  if test $somethinguseful -eq 0; then
    188     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     181    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/mipstx39-rtems4.11-gdb/syscalls"
    189182  fi
    190 %endif
    191 
     183
     184%if "{gdb_version}" >= "7.3"
     185%if ! %{with python}
     186# gdb-7.3 doesn't honor --without-python correctly
     187  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mipstx39-rtems4.11-gdb/python
     188%endif
     189%endif
    192190  cd ..
    193191
     
    240238%dir %{_prefix}
    241239%dir %{_prefix}/share
     240%{?with_python:%{_datadir}/mipstx39-rtems4.11-gdb}
    242241
    243242%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-powerpc-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    8577%if "%{_build}" != "%{_host}"
    8678# psim doesn't support Cdn-X
    87 %define build_sim --disable-sim
    88 %else
    89 %define build_sim --enable-sim --enable-sim-trace
     79%global build_sim --disable-sim
     80%else
     81%global build_sim --enable-sim --enable-sim-trace
    9082%endif
    9183
     
    10193BuildRequires:  %{_host_rpmprefix}ncurses-devel
    10294
    103 
    10495# Required for building the infos
    10596BuildRequires:  /sbin/install-info
    10697BuildRequires:  texinfo >= 4.2
    107 
    108 
    10998Requires:       rtems-4.11-gdb-common
    11099
     100%if "%{gdb_version}" == "7.3"
     101Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     102Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     103%endif
    111104%if "%{gdb_version}" == "7.2"
    112105Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    149142    --with-expat \
    150143    %{?with_python:--with-python}%{!?with_python:--without-python} \
     144    --with-gdb-datadir=%{_datadir}/powerpc-rtems4.11-gdb \
    151145    --prefix=%{_prefix} --bindir=%{_bindir} \
    152146    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    178172  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libpowerpc-rtems4.11-sim.a
    179173
    180 %if "%{gdb_version}" >= "7.0"
    181174# Bug in gdb-7.0, bogusly installs linux-only files
    182175  somethinguseful=0
    183   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     176  for f in ${RPM_BUILD_ROOT}%{_datadir}/powerpc-rtems4.11-gdb/syscalls/*.xml; do
    184177    case $f in
    185178    *linux.xml) rm -f $f;;
     
    188181  done
    189182  if test $somethinguseful -eq 0; then
    190     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     183    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/powerpc-rtems4.11-gdb/syscalls"
    191184  fi
    192 %endif
    193 
     185
     186%if "{gdb_version}" >= "7.3"
     187%if ! %{with python}
     188# gdb-7.3 doesn't honor --without-python correctly
     189  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/powerpc-rtems4.11-gdb/python
     190%endif
     191%endif
    194192  cd ..
    195193
     
    242240%dir %{_prefix}
    243241%dir %{_prefix}/share
     242%{?with_python:%{_datadir}/powerpc-rtems4.11-gdb}
    244243
    245244%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-sh-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/sh-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsh-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/sh-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/sh-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sh-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/sh-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-sparc-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9991BuildRequires:  %{_host_rpmprefix}ncurses-devel
    10092
    101 
    10293# Required for building the infos
    10394BuildRequires:  /sbin/install-info
    10495BuildRequires:  texinfo >= 4.2
    105 
    106 
    10796Requires:       rtems-4.11-gdb-common
    10897
     98%if "%{gdb_version}" == "7.3"
     99Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     100Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     101%endif
    109102%if "%{gdb_version}" == "7.2"
    110103Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    147140    --with-expat \
    148141    %{?with_python:--with-python}%{!?with_python:--without-python} \
     142    --with-gdb-datadir=%{_datadir}/sparc-rtems4.11-gdb \
    149143    --prefix=%{_prefix} --bindir=%{_bindir} \
    150144    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    176170  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsparc-rtems4.11-sim.a
    177171
    178 %if "%{gdb_version}" >= "7.0"
    179172# Bug in gdb-7.0, bogusly installs linux-only files
    180173  somethinguseful=0
    181   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     174  for f in ${RPM_BUILD_ROOT}%{_datadir}/sparc-rtems4.11-gdb/syscalls/*.xml; do
    182175    case $f in
    183176    *linux.xml) rm -f $f;;
     
    186179  done
    187180  if test $somethinguseful -eq 0; then
    188     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     181    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/sparc-rtems4.11-gdb/syscalls"
    189182  fi
    190 %endif
    191 
     183
     184%if "{gdb_version}" >= "7.3"
     185%if ! %{with python}
     186# gdb-7.3 doesn't honor --without-python correctly
     187  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sparc-rtems4.11-gdb/python
     188%endif
     189%endif
    192190  cd ..
    193191
     
    240238%dir %{_prefix}
    241239%dir %{_prefix}/share
     240%{?with_python:%{_datadir}/sparc-rtems4.11-gdb}
    242241
    243242%dir %{_mandir}
  • contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec

    r120adc24 rac620ef  
    4646%endif
    4747
    48 %define gdb_version 7.2
    49 %define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
     48%define gdb_version 7.3
     49%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)}
    5050
    5151Name:           rtems-4.11-sparc64-rtems4.11-gdb
     
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        2%{?dist}
     55Release:        1%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
    62 %define build_sim --enable-sim
     62%global build_sim --enable-sim
    6363
    6464# Whether to build against system readline
     
    7171%bcond_with python
    7272%else
    73 %if "%{gdb_version}" >= "7.3"
    74 # Python support is broken
    75 %bcond_with python
    76 %elseif "%{gdb_version}" >= "6.8.50"
    7773%bcond_without python
    78 %else
    79 # python is unsupported
    80 %bcond_with python
    81 %endif
    8274%endif
    8375%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
     
    9587BuildRequires:  %{_host_rpmprefix}ncurses-devel
    9688
    97 
    9889# Required for building the infos
    9990BuildRequires:  /sbin/install-info
    10091BuildRequires:  texinfo >= 4.2
    101 
    102 
    10392Requires:       rtems-4.11-gdb-common
    10493
     94%if "%{gdb_version}" == "7.3"
     95Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
     96Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
     97%endif
    10598%if "%{gdb_version}" == "7.2"
    10699Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
     
    143136    --with-expat \
    144137    %{?with_python:--with-python}%{!?with_python:--without-python} \
     138    --with-gdb-datadir=%{_datadir}/sparc64-rtems4.11-gdb \
    145139    --prefix=%{_prefix} --bindir=%{_bindir} \
    146140    --includedir=%{_includedir} --libdir=%{_libdir} \
     
    172166  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsparc64-rtems4.11-sim.a
    173167
    174 %if "%{gdb_version}" >= "7.0"
    175168# Bug in gdb-7.0, bogusly installs linux-only files
    176169  somethinguseful=0
    177   for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     170  for f in ${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/syscalls/*.xml; do
    178171    case $f in
    179172    *linux.xml) rm -f $f;;
     
    182175  done
    183176  if test $somethinguseful -eq 0; then
    184     rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     177    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/syscalls"
    185178  fi
    186 %endif
    187 
     179
     180%if "{gdb_version}" >= "7.3"
     181%if ! %{with python}
     182# gdb-7.3 doesn't honor --without-python correctly
     183  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/python
     184%endif
     185%endif
    188186  cd ..
    189187
     
    236234%dir %{_prefix}
    237235%dir %{_prefix}/share
     236%{?with_python:%{_datadir}/sparc64-rtems4.11-gdb}
    238237
    239238%dir %{_mandir}
Note: See TracChangeset for help on using the changeset viewer.