Changeset cdf5ff65 in rtems


Ignore:
Timestamp:
Sep 4, 2003, 2:39:05 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
35e4691
Parents:
dbb13bf
Message:

2003-09-04 Ralf Corsepius <corsepiu@…>

  • binutils/base-binutils.add: Add osversion support.
  • binutils/binutils.add: Add osversion support. %setup -n %{name}-%{version}. Don't remove c++filt.
  • binutils/target-binutils.add: Add osversion support. Pickup c++filt.
  • gcc3newlib/base-g77.add: Add osversion support.
  • gcc3newlib/base-gcc.add: Add osversion support.
  • gcc3newlib/base-gcj.add: Add osversion support.
  • gcc3newlib/base-gnat.add: Add osversion support.
  • gcc3newlib/gccnewlib.add: Add osversion support. Remove c++filt, %setup -n -n %{name}-%{version}.
  • gcc3newlib/target-c++.add: Add osversion support. Don't pickup c++filt.
  • gcc3newlib/target-g77.add: Add osversion support.
  • gcc3newlib/target-gcc.add: Add osversion support.
  • gcc3newlib/target-gcj.add: Add osversion support.
  • gcc3newlib/target-gnat.add: Add osversion support.
  • gccnewlib/gccnewlib.add: %setup -n %{name}-%{version}.
  • gdb/base-gdb.add: Add osversion support, rpmgroup, rpmprefix, gdb_version, gdb_target.
  • gdb/target-gdb.add: Ditto.
  • gdb/gdb.add: Ditto. %setup -n -n %{name}-%{version}.
Location:
scripts
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rdbb13bf rcdf5ff65  
     12003-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * binutils/base-binutils.add: Add osversion support.
     4        * binutils/binutils.add: Add osversion support.
     5        %setup -n %{name}-%{version}.
     6        Don't remove c++filt.
     7        * binutils/target-binutils.add: Add osversion support.
     8        Pickup c++filt.
     9        * gcc3newlib/base-g77.add: Add osversion support.
     10        * gcc3newlib/base-gcc.add: Add osversion support.
     11        * gcc3newlib/base-gcj.add: Add osversion support.
     12        * gcc3newlib/base-gnat.add: Add osversion support.
     13        * gcc3newlib/gccnewlib.add: Add osversion support.
     14        Remove c++filt,
     15        %setup -n -n %{name}-%{version}.
     16        * gcc3newlib/target-c++.add: Add osversion support.
     17        Don't pickup c++filt.
     18        * gcc3newlib/target-g77.add: Add osversion support.
     19        * gcc3newlib/target-gcc.add: Add osversion support.
     20        * gcc3newlib/target-gcj.add: Add osversion support.
     21        * gcc3newlib/target-gnat.add: Add osversion support.
     22        * gccnewlib/gccnewlib.add: %setup -n %{name}-%{version}.
     23        * gdb/base-gdb.add: Add osversion support, rpmgroup, rpmprefix,
     24        gdb_version, gdb_target.
     25        * gdb/target-gdb.add: Ditto.
     26        * gdb/gdb.add: Ditto.
     27        %setup -n -n %{name}-%{version}.
     28
    1292003-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    230
  • scripts/binutils/base-binutils.add

    rdbb13bf rcdf5ff65  
    22# rtems-base-binutils
    33# ==============================================================
    4 %package -n %{rpmprefix}rtems-base-binutils
     4%package -n %{rpmprefix}rtems@osversion@-base-binutils
    55Summary:      base package for rtems binutils
    66Group: %{rpmgroup}
    77PreReq:         /sbin/install-info
    88
    9 %description -n %{rpmprefix}rtems-base-binutils
     9%description -n %{rpmprefix}rtems@osversion@-base-binutils
    1010
    1111RTEMS is an open source operating system for embedded systems.
     
    1313This is the base for binutils regardless of target CPU.
    1414
    15 %post -n %{rpmprefix}rtems-base-binutils
     15%post -n %{rpmprefix}rtems@osversion@-base-binutils
    1616  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    1717  then
     
    2323  fi
    2424
    25 %postun -n %{rpmprefix}rtems-base-binutils
     25%postun -n %{rpmprefix}rtems@osversion@-base-binutils
    2626  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    2727  then
     
    3333  fi
    3434
    35 %files -n %{rpmprefix}rtems-base-binutils -f files
     35%files -n %{rpmprefix}rtems@osversion@-base-binutils -f files
    3636%defattr(-,root,root)
    3737%dir %{_prefix}/info
  • scripts/binutils/binutils.add

    rdbb13bf rcdf5ff65  
    3939
    4040%prep
    41 # untar the sources inside %{binutils_target}-binutils
    42 %setup -c -n %{binutils_target}-binutils
     41%setup -c -n %{name}-%{version}
    4342@PATCH2@
    4443  test -d build || mkdir build
     
    6463    $RPM_BUILD_ROOT%{_prefix}/share/locale
    6564
    66   rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     65#  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
    6766# gzip info files
    6867  gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
  • scripts/binutils/target-binutils.add

    rdbb13bf rcdf5ff65  
    55Summary:      rtems binutils for %{binutils_target}
    66Group: %{rpmgroup}
    7 Requires: %{rpmprefix}rtems-base-binutils
     7Requires: %{rpmprefix}rtems@osversion@-base-binutils
    88Autoreqprov:    off
    99
     
    2222%{_prefix}/bin/%{binutils_target}-ar%{_exeext}
    2323%{_prefix}/bin/%{binutils_target}-as%{_exeext}
    24 # c++filt now comes from gcc
    25 # %{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     24%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     25%if "%{binutils_version}" < "2.13"
    2626# deleted as of 2.13
    27 # %{_prefix}/bin/%{binutils_target}-gasp%{_exeext}
     27%{_prefix}/bin/%{binutils_target}-gasp%{_exeext}
     28%endif
    2829%{_prefix}/bin/%{binutils_target}-ld%{_exeext}
    2930%{_prefix}/bin/%{binutils_target}-nm%{_exeext}
  • scripts/gcc3newlib/base-g77.add

    rdbb13bf rcdf5ff65  
    33# rtems-base-g77
    44# ==============================================================
    5 %package -n %{rpmprefix}rtems-base-g77
     5%package -n %{rpmprefix}rtems@osversion@-base-g77
    66Summary:      rtems base package for gcc/g77 compiler
    77Group: %{rpmgroup}
    88Requires: rtems-base-gcc
    99
    10 %description -n %{rpmprefix}rtems-base-g77
     10%description -n %{rpmprefix}rtems@osversion@-base-g77
    1111RTEMS is an open source operating system for embedded systems.
    1212
    1313This is the files for gcc/g77 that are shared by all targets.
    1414
    15 %files -n %{rpmprefix}rtems-base-g77
     15%files -n %{rpmprefix}rtems@osversion@-base-g77
    1616%defattr(-,root,root)
    1717%dir %{_prefix}/info
     
    2222%doc %{_prefix}/man/man1/%{gcc_target}-g77.1*
    2323
    24 %post -n %{rpmprefix}rtems-base-g77
     24%post -n %{rpmprefix}rtems@osversion@-base-g77
    2525  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    2626  then
     
    3232  fi
    3333
    34 %postun -n %{rpmprefix}rtems-base-g77
     34%postun -n %{rpmprefix}rtems@osversion@-base-g77
    3535  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    3636  then
  • scripts/gcc3newlib/base-gcc.add

    rdbb13bf rcdf5ff65  
    11# ==============================================================
    2 # %{rpmprefix}rtems-base-gcc
     2# %{rpmprefix}rtems@osversion@-base-gcc
    33# ==============================================================
    4 %package -n %{rpmprefix}rtems-base-gcc
     4%package -n %{rpmprefix}rtems@osversion@-base-gcc
    55Summary:        base package for rtems gcc and newlib C Library
    66Group: %{rpmgroup}
    77
    8 %description -n %{rpmprefix}rtems-base-gcc
     8%description -n %{rpmprefix}rtems@osversion@-base-gcc
    99
    1010RTEMS is an open source operating system for embedded systems.
     
    1212This is the files for gcc and newlib that are shared by all targets.
    1313
    14 %files -n %{rpmprefix}rtems-base-gcc
     14%files -n %{rpmprefix}rtems@osversion@-base-gcc
    1515%defattr(-,root,root)
    1616%dir %{_prefix}/info
     
    3333%dir %{_prefix}/include
    3434
    35 %post -n %{rpmprefix}rtems-base-gcc
     35%post -n %{rpmprefix}rtems@osversion@-base-gcc
    3636  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    3737  then
     
    4343  fi
    4444
    45 %postun -n %{rpmprefix}rtems-base-gcc
     45%postun -n %{rpmprefix}rtems@osversion@-base-gcc
    4646  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    4747  then
  • scripts/gcc3newlib/base-gcj.add

    rdbb13bf rcdf5ff65  
    33# rtems-base-gcj
    44# ==============================================================
    5 %package -n %{rpmprefix}rtems-base-gcj
     5%package -n %{rpmprefix}rtems@osversion@-base-gcj
    66Summary:      base package for rtems gcc/java compiler (gcj).
    77Group: %{rpmgroup}
    8 Requires: %{rpmprefix}rtems-base-gcc
     8Requires: %{rpmprefix}rtems@osversion@-base-gcc
    99
    10 %description -n %{rpmprefix}rtems-base-gcj
     10%description -n %{rpmprefix}rtems@osversion@-base-gcj
    1111RTEMS is an open source operating system for embedded systems.
    1212
    1313This is the files for gcc/java (gcj) that are shared by all targets.
    1414
    15 %files -n %{rpmprefix}rtems-base-gcj
     15%files -n %{rpmprefix}rtems@osversion@-base-gcj
    1616%defattr(-,root,root)
    1717%dir %{_prefix}/bin
  • scripts/gcc3newlib/base-gnat.add

    rdbb13bf rcdf5ff65  
    33# rtems-base-gnat
    44# ==============================================================
    5 %package -n %{rpmprefix}rtems-base-gnat
     5%package -n %{rpmprefix}rtems@osversion@-base-gnat
    66Summary:        gcc/gnat tools
    77Group: %{rpmgroup}
    88
    9 %description -n %{rpmprefix}rtems-base-gnat
     9%description -n %{rpmprefix}rtems@osversion@-base-gnat
    1010RTEMS is an open source operating system for embedded systems.
    1111
    1212This is the gcc/gnat tools for the gcc/gnat compiler
    1313
    14 %files -n %{rpmprefix}rtems-base-gnat
     14%files -n %{rpmprefix}rtems@osversion@-base-gnat
    1515%defattr(-,root,root)
    1616%dir %{_prefix}/bin
  • scripts/gcc3newlib/gccnewlib.add

    rdbb13bf rcdf5ff65  
    7272%define build_gnat      0
    7373
    74 %if "%{gcc_target}" == "arm-rtems"
    75 %define build_gcj       %_gcj
    76 %endif
    77 
    78 %if "%{gcc_target}" == "c4x-rtems"
     74%if "%{gcc_target}" == "arm-rtems@osversion@"
     75%define build_gcj       %_gcj
     76%endif
     77
     78%if "%{gcc_target}" == "c4x-rtems@osversion@"
    7979%define build_cxx       0
    8080%endif
    8181
    82 %if "%{gcc_target}" == "i386-rtems"
     82%if "%{gcc_target}" == "i386-rtems@osversion@"
    8383%define build_gnat      %_gnat
    8484%define build_gcj       %_gcj
    8585%endif
    8686
    87 %if "%{gcc_target}" == "i960-rtems"
     87%if "%{gcc_target}" == "i960-rtems@osversion@"
    8888%define build_cxx       0
    8989%endif
    9090
    91 %if "%{gcc_target}" == "m68k-rtems"
    92 %define build_gcj       %_gcj
    93 %endif
    94 
    95 %if "%{gcc_target}" == "mips-rtems"
     91%if "%{gcc_target}" == "m68k-rtems@osversion@"
     92%define build_gcj       %_gcj
     93%endif
     94
     95%if "%{gcc_target}" == "mips-rtems@osversion@"
    9696%define build_gnat      %_gnat
    9797%define build_gcj       %_gcj
    9898%endif
    9999
    100 %if "%{gcc_target}" == "powerpc-rtems"
     100%if "%{gcc_target}" == "powerpc-rtems@osversion@"
    101101%define build_gnat      %_gnat
    102102%define build_gcj       %_gcj
    103103%endif
    104104
    105 %if "%{gcc_target}" == "sparc-rtems"
     105%if "%{gcc_target}" == "sparc-rtems@osversion@"
    106106%define build_gnat      %_gnat
    107107%define build_gcj       %_gcj
     
    141141%prep
    142142# untar the sources inside %{gcc_target}-gcc-newlib
    143 %setup -c -T -n %{name} -a0 -a1
     143%setup -c -T -n %{name}-%{version} -a0 -a1
    144144
    145145@PATCH2@
     
    200200%endif
    201201
    202 %if %build_cxx
    203 %if "%{gcc_version}" >= "3.3"
    204   make -C %{gcc_target}/libiberty CFLAGS="$RPM_OPT_FLAGS" c++filt
    205 %endif
    206 %endif
     202  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target}-c++filt%{_exeext}
    207203
    208204%if %build_gnat
     
    231227# Without this xgcc doesn't find the target's binutils.
    232228  GNATLIBCFLAGS="$GNATLIBCFLAGS -B%{_prefix}/%{gcc_target}/bin/"
    233 %if "%{gcc_target}" == "mips-rtems"
     229%if "%{gcc_target}" == "mips-rtems@osversion@"
    234230  GNATLIBCFLAGS="$GNATLIBCFLAGS -G0"
    235231%endif
    236232  make -C gcc GNATLIBCFLAGS="${GNATLIBCFLAGS}" gnatlib
    237233%endif
     234
    238235  make info
    239236
     
    269266  rm -f  ${RPM_BUILD_ROOT}%{_prefix}/lib/libiberty.a
    270267
     268%if "%{gcc_version}" < "3.3"
     269  # We use the version from binutils
     270  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target}-c++filt%{_exeext}
     271%endif
     272
    271273%if "%{gcc_version}" < "3.0"
    272274  # Bug in gcc-2.95.x: It bogusly tries to share cpp for all targets.
     
    277279      $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target}-cpp%{_exeext}
    278280  fi
    279 %endif
    280 
    281 %if %build_cxx
    282 %if "%{gcc_version}" >= "3.3"
    283   install -d $RPM_BUILD_ROOT%{_prefix}/bin
    284   install -c -m 755 %{gcc_target}/libiberty/c++filt%{_exeext} \
    285      $RPM_BUILD_ROOT%{_prefix}/bin/%{target_alias}-c++filt%{_exeext}
    286 %endif
    287281%endif
    288282
  • scripts/gcc3newlib/target-c++.add

    rdbb13bf rcdf5ff65  
    66Summary:      gcc/g++ compiler (c++) for %{gcc_target}
    77Group: %{rpmgroup}
    8 Requires: %{rpmprefix}rtems-base-gcc %{rpmprefix}%{gcc_target}-gcc
     8Requires: %{rpmprefix}rtems@osversion@-base-gcc %{rpmprefix}%{gcc_target}-gcc
    99
    1010%description -n %{rpmprefix}%{gcc_target}-c++
     
    2020%{_prefix}/bin/%{gcc_target}-c++%{_exeext}
    2121%{_prefix}/bin/%{gcc_target}-g++%{_exeext}
    22 %{_prefix}/bin/%{gcc_target}-c++filt%{_exeext}
    2322
    2423%{_prefix}/lib/gcc-lib/%{gcc_target}/%{gcc_version}/cc1plus%{_exeext}
  • scripts/gcc3newlib/target-g77.add

    rdbb13bf rcdf5ff65  
    66Summary:        gcc/g77 compiler for %{gcc_target}
    77Group: %{rpmgroup}
    8 Requires: %{rpmprefix}rtems-base-g77 %{rpmprefix}%{gcc_target}-gcc
     8Requires: %{rpmprefix}rtems@osversion@-base-g77 %{rpmprefix}%{gcc_target}-gcc
    99
    1010%description -n %{rpmprefix}%{gcc_target}-g77
  • scripts/gcc3newlib/target-gcc.add

    rdbb13bf rcdf5ff65  
    55Summary:        rtems gcc and newlib C Library for %{gcc_target}
    66Group: %{rpmgroup}
    7 Requires: %{rpmprefix}%{gcc_target}-binutils %{rpmprefix}rtems-base-gcc
     7Requires: %{rpmprefix}%{gcc_target}-binutils %{rpmprefix}rtems@osversion@-base-gcc
    88
    99%description -n %{rpmprefix}%{gcc_target}-gcc
  • scripts/gcc3newlib/target-gcj.add

    rdbb13bf rcdf5ff65  
    66Summary:      gcc/java compiler (gcj) for %{gcc_target}
    77Group: %{rpmgroup}
    8 Requires: %{rpmprefix}rtems-base-gcj %{rpmprefix}%{gcc_target}-gcc
     8Requires: %{rpmprefix}rtems@osversion@-base-gcj %{rpmprefix}%{gcc_target}-gcc
    99
    1010%description -n %{rpmprefix}%{gcc_target}-gcj
  • scripts/gcc3newlib/target-gnat.add

    rdbb13bf rcdf5ff65  
    66Summary:        gcc/gnat compiler for %{gcc_target}
    77Group: %{rpmgroup}
    8 Requires: %{rpmprefix}rtems-base-gnat %{rpmprefix}%{gcc_target}-gcc
     8Requires: %{rpmprefix}rtems@osversion@-base-gnat %{rpmprefix}%{gcc_target}-gcc
    99
    1010%description -n %{rpmprefix}%{gcc_target}-gnat
  • scripts/gccnewlib/gccnewlib.add

    rdbb13bf rcdf5ff65  
    4848%prep
    4949# untar the sources inside @target_alias@-gcc-newlib
    50 %setup -c -n %{name} -a 0 -a 1
     50%setup -c -n %{name}-%{version} -a 0 -a 1
    5151
    5252%patch0 -p0
  • scripts/gdb/base-gdb.add

    rdbb13bf rcdf5ff65  
    33# =====================================================================
    44
    5 %package -n rtems-base-gdb
    6 Provides:       rtems-base-gdb
     5%package -n %{rpmprefix}rtems@osversion@-base-gdb
    76Summary:      base package for rtems gdb
    8 Group: rtems
     7Group: %{rpmgroup}
    98
    10 %description -n rtems-base-gdb
     9%description -n %{rpmprefix}rtems@osversion@-base-gdb
    1110
    1211RTEMS is an open source operating system for embedded systems.
     
    1413This is the base for gdb regardless of target CPU.
    1514
    16 %files -n rtems-base-gdb
     15%files -n %{rpmprefix}rtems@osversion@-base-gdb
    1716%defattr(-,root,root)
    1817
     
    2120%doc %{_prefix}/info/mmalloc.info*
    2221# FIXME: When had gdbint and stabs been introduced?
    23 %if "@gdb_version@" >= "5.0"
     22%if "%{gdb_version}" >= "5.0"
    2423%doc %{_prefix}/info/gdbint.info*
    2524%doc %{_prefix}/info/stabs.info*
    2625%endif
    2726# gdb 4.18 installed this, gdb 5.0 does not
    28 %if "@gdb_version@" < "5.0"
     27%if "%{gdb_version}" < "5.0"
    2928%doc %{_prefix}/info/readline.info*
    3029%endif
     
    4443# %{_prefix}/lib/libiberty*
    4544
    46 %post -n rtems-base-gdb
     45%post -n %{rpmprefix}rtems@osversion@-base-gdb
    4746  if test -d $RPM_INSTALL_PREFIX/rtems/info;
    4847  then
     
    5453  fi
    5554
    56 %postun -n rtems-base-gdb
     55%postun -n %{rpmprefix}rtems@osversion@-base-gdb
    5756  if test -d $RPM_INSTALL_PREFIX/rtems/info;
    5857  then
  • scripts/gdb/gdb.add

    rdbb13bf rcdf5ff65  
    1 Name:         @target_alias@-gdb-collection
     1
     2%define gdb_version     @gdb_version@
     3%define gdb_target      @target_alias@
     4
     5Name:         %{rpmprefix}%{gdb_target}-gdb-collection
    26Release:      @Release@
    37License:      GPL/LGPL
    4 Group:        rtems
     8Group:        %{rpmgroup}
    59
    610Autoreqprov:  on
    711Packager:     corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    812
    9 Version:      @gdb_version@
    10 Summary:      gdb for target @target_alias@
    11 Source0:      ftp://ftp.gnu.org/pub/gnu/gdb-@gdb_version@.tar.gz
    12 Patch0:       gdb-@gdb_version@-rtems-base-@gdb_patch_version@.diff
    13 Patch1:       gdb-@gdb_version@-rtems-cg-@gdb_patch_version@.diff
    14 Patch2:       gdb-@gdb_version@-rtems-rdbg-@gdb_patch_version@.diff
     13Version:      %{gdb_version}
     14Summary:      gdb for target %{gdb_version}
     15Source0:      ftp://ftp.gnu.org/pub/gnu/gdb-%{gdb_version}.tar.gz
     16Patch0:       gdb-%{gdb_version}-rtems-base-@gdb_patch_version@.diff
     17Patch1:       gdb-%{gdb_version}-rtems-cg-@gdb_patch_version@.diff
     18Patch2:       gdb-%{gdb_version}-rtems-rdbg-@gdb_patch_version@.diff
    1519
    1620%if "%{_vendor}" == "redhat"
     
    3539%define _sim    1
    3640
    37 %if "@target_alias@" == "m68k-rtems"
     41%if "%{gdb_target}" == "m68k-rtems@osversion@"
    3842%define _sim    0
    3943%endif
    40 %if "@target_alias@" == "i386-rtems"
     44%if "%{gdb_target}" == "i386-rtems@osversion@"
    4145%define _sim    0
    4246%endif
     
    4650RTEMS is an open source operating system for embedded systems.
    4751
    48 This is the GNU gdb for RTEMS targetting @target_alias@.
     52This is the GNU gdb for RTEMS targetting %{gdb_version}.
    4953
    5054%prep
    51 # untar the sources inside @target_alias@-gdb
    52 %setup -c -n @target_alias@-gdb -a 0
     55%setup -c -n %{name}-%{version} -a 0
    5356
    54 cd gdb-@gdb_version@
     57cd gdb-%{gdb_version}
    5558%patch0 -p1
    5659%patch1 -p1
     
    6265%endif
    6366
    64 %if "@target_alias@" == "powerpc-rtems"
     67%if "%{gdb_target}" == "powerpc-rtems@osversion@"
    6568 simargs="$simargs --enable-sim-timebase --enable-sim-hardware"
    6669 #  Enabling this causes the program image to be huge and causes
     
    7174test -d build || mkdir build
    7275  cd build
    73   ../gdb-@gdb_version@/configure \
     76  export PATH="%{_bindir}:${PATH}"
     77  ../gdb-%{gdb_version}/configure \
    7478    --build=%_build --host=%_host \
    75     --target=@target_alias@ \
     79    --target=%{gdb_target} \
    7680    --verbose --prefix=%{_prefix} $simargs \
    7781    --disable-nls
  • scripts/gdb/target-gdb.add

    rdbb13bf rcdf5ff65  
    11# =====================================================================
    2 # @target_alias@-gdb
     2# %{gdb_target}-gdb
    33# =====================================================================
    44
    5 %package -n @target_alias@-gdb
    6 Provides:       @target_alias@-gdb
    7 Summary:      rtems gdb for @target_alias@
    8 Group: rtems
    9 Requires: rtems-base-gdb
     5%package -n %{rpmprefix}%{gdb_target}-gdb
     6Summary:      rtems gdb for %{gdb_target}
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}rtems@osversion@-base-gdb
    109
    11 %description -n @target_alias@-gdb
     10%description -n %{rpmprefix}%{gdb_target}-gdb
    1211
    1312RTEMS is an open source operating system for embedded systems.
    1413
    15 This is the GNU gdb for RTEMS targetting @target_alias@.
     14This is the GNU gdb for RTEMS targetting %{gdb_target}.
    1615
    17 %files -n @target_alias@-gdb
    18 %defattr(-,attr,attr)
    19 %doc %{_prefix}/man/man1/@target_alias@-gdb.1*
     16%files -n %{rpmprefix}%{gdb_target}-gdb
     17%defattr(-,root,root)
     18%doc %{_prefix}/man/man1/%{gdb_target}-gdb.1*
    2019%if "%_sim" == "1"
    21 %doc %{_prefix}/man/man1/@target_alias@-run.1*
     20%doc %{_prefix}/man/man1/%{gdb_target}-run.1*
    2221%endif
    2322
    2423%dir %{_prefix}/bin
    25 %{_prefix}/bin/@target_alias@-gdb%{_exeext}
     24%{_prefix}/bin/%{gdb_target}-gdb%{_exeext}
    2625%if "%_sim" == "1"
    27 %{_prefix}/bin/@target_alias@-run%{_exeext}
     26%{_prefix}/bin/%{gdb_target}-run%{_exeext}
    2827%endif
    29 %if "@target_alias@" == "sparc-rtems"
    30 %{_prefix}/bin/@target_alias@-sis%{_exeext}
     28%if "%{gdb_target}" == "sparc-rtems@osversion@"
     29%{_prefix}/bin/%{gdb_target}-sis%{_exeext}
    3130%endif
Note: See TracChangeset for help on using the changeset viewer.