Changeset 4279a35 in rtems


Ignore:
Timestamp:
Apr 20, 2005, 8:59:45 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ac9bbe7
Parents:
d8fa12c
Message:

2005-04-20 Ralf Corsepius <ralf.corsepius@…>

  • binutils/base-binutils.add, binutils/binutils.add, binutils/target-binutils.add: Introduce %{_includedir}, %{_libdir}, %{_bindir}. Remove superfluous %doc. Misc. fixes.
Location:
scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rd8fa12c r4279a35  
     12005-04-20      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * binutils/base-binutils.add, binutils/binutils.add,
     4        binutils/target-binutils.add: Introduce %{_includedir}, %{_libdir},
     5        %{_bindir}. Remove superfluous %doc. Misc. fixes.
     6
    172005-04-20      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • scripts/binutils/base-binutils.add

    rd8fa12c r4279a35  
    1414
    1515%post -n %{rpmprefix}rtems@osversion@-base-binutils
    16   if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
     16  if test -d %{_infodir};
    1717  then
    18     rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
    19     f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
     18    rm -f %{_infodir}/dir
     19    f=`find %{_infodir} -name '*.info.gz'`
    2020    test x"$f" != x"" && for i in $f; do
    21       /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
     21      /sbin/install-info $i %{_infodir}/dir
    2222    done
    2323  fi
    2424
    2525%postun -n %{rpmprefix}rtems@osversion@-base-binutils
    26   if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
     26  if test -d %{_infodir};
    2727  then
    28     rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
    29     f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
     28    rm -f %{_infodir}/dir
     29    f=`find %{_infodir} -name '*.info.gz'`
    3030    test x"$f" != x"" && for i in $f; do
    31       /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
     31      /sbin/install-info $i %{_infodir}/dir
    3232    done
    3333  fi
     
    3535%files -n %{rpmprefix}rtems@osversion@-base-binutils
    3636%defattr(-,root,root)
    37 %dir %{_prefix}/info
    38 %doc %{_infodir}/dir
    39 %doc %{_infodir}/as.info*
    40 %doc %{_infodir}/bfd.info*
    41 %doc %{_infodir}/binutils.info*
    42 %doc %{_infodir}/ld.info*
     37%dir %{_infodir}
     38%{_infodir}/as.info*
     39%{_infodir}/bfd.info*
     40%{_infodir}/binutils.info*
     41%{_infodir}/ld.info*
     42%{_infodir}/standards.info*
    4343
    4444%if "%{binutils_version}" < "2.13"
    45 %doc %{_infodir}/gasp.info*
     45%{_infodir}/gasp.info*
    4646%endif
    47 %doc %{_infodir}/standards.info*
    48 
    49 %if "%{binutils_version}" < "2.9.5"
    50 %doc %{_infodir}/configure.info*
    51 %endif
    52 
    53 # %dir %{_mandir}
    54 # %dir %{_mandir}/man1
    55 
    56 # deleted as of 2.13
    57 # %dir %{_prefix}/include
    58 # %{_prefix}/include/bfd.h
    59 # %{_prefix}/include/ansidecl.h
    60 # %{_prefix}/include/bfdlink.h
    61 
    62 # %dir %{_prefix}/lib
    63 # %{_prefix}/lib/libiberty*
    64 # deleted as of 2.13
    65 # %{_prefix}/lib/libbfd*
    66 # %{_prefix}/lib/libopcodes*
    6747
    6848%dir %{_prefix}/share
  • scripts/binutils/binutils.add

    rd8fa12c r4279a35  
    5252    --target=%{binutils_target} \
    5353    --verbose --disable-nls \
    54     --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
     54    --prefix=%{_prefix} --bindir=%{_bindir} \
     55    --includedir=%{_includedir} --libdir=%{_libdir} \
     56    --mandir=%{_mandir} --infodir=%{_infodir} \
    5557
    5658  make all
     
    6365  cd build
    6466  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     67    bindir=$RPM_BUILD_ROOT%{_bindir} \
     68    includedir=$RPM_BUILD_ROOT%{_includedir} \
     69    libdir=$RPM_BUILD_ROOT%{_libdir} \
     70    infodir=$RPM_BUILD_ROOT%{_infodir} \
    6571    mandir=$RPM_BUILD_ROOT%{_mandir} \
    66     infodir=$RPM_BUILD_ROOT%{_infodir} \
    6772    install
    6873  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     74    bindir=$RPM_BUILD_ROOT%{_bindir} \
     75    includedir=$RPM_BUILD_ROOT%{_includedir} \
     76    libdir=$RPM_BUILD_ROOT%{_libdir} \
     77    infodir=$RPM_BUILD_ROOT%{_infodir} \
    6978    mandir=$RPM_BUILD_ROOT%{_mandir} \
    70     infodir=$RPM_BUILD_ROOT%{_infodir} \
    7179    install-info
     80
    7281# A bug in binutils: binutils does not install share/locale
    7382# however it uses it
    74   ../binutils-%{binutils_version}/mkinstalldirs \
    75     $RPM_BUILD_ROOT%{_prefix}/share/locale
     83  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
     84
     85%if "%{binutils_version}" < "2.9.5"
     86  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
     87%endif
    7688
    7789# gzip info files
    78   # gzip info files
    7990  ls $RPM_BUILD_ROOT%{_infodir}/*.info \
    8091    $RPM_BUILD_ROOT%{_infodir}/*.info-? \
     
    8697# We assume that info/dir exists when building the RPMs
    8798  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    88   f=`find $RPM_BUILD_ROOT%{_prefix}/info -name '*.info.gz'`
     99  f=`find $RPM_BUILD_ROOT%{_infodir} -name '*.info.gz'`
    89100  test x"$f" != x"" && for i in $f; do
    90101    /sbin/install-info $i $RPM_BUILD_ROOT%{_infodir}/dir
     
    95106
    96107# We don't ship host files
    97   rm -f ${RPM_BUILD_ROOT}%{_prefix}/lib/libiberty*
     108  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
  • scripts/binutils/target-binutils.add

    rd8fa12c r4279a35  
    1515%files -n %{rpmprefix}%{binutils_target}-binutils
    1616%defattr(-,root,root)
    17 %doc %{_mandir}/man1/%{binutils_target}-*.1*
     17%dir %{_mandir}
     18%dir %{_mandir}/man1
     19%{_mandir}/man1/%{binutils_target}-*.1*
    1820
    19 %dir %{_prefix}/bin
    20 %{_prefix}/bin/%{binutils_target}-addr2line%{_exeext}
    21 %{_prefix}/bin/%{binutils_target}-ar%{_exeext}
    22 %{_prefix}/bin/%{binutils_target}-as%{_exeext}
    23 %{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     21%dir %{_bindir}
     22%{_bindir}/%{binutils_target}-addr2line%{_exeext}
     23%{_bindir}/%{binutils_target}-ar%{_exeext}
     24%{_bindir}/%{binutils_target}-as%{_exeext}
     25%{_bindir}/%{binutils_target}-c++filt%{_exeext}
    2426%if "%{binutils_version}" < "2.13"
    2527# deleted as of 2.13
    26 %{_prefix}/bin/%{binutils_target}-gasp%{_exeext}
     28%{_bindir}/%{binutils_target}-gasp%{_exeext}
    2729%endif
    28 %{_prefix}/bin/%{binutils_target}-ld%{_exeext}
    29 %{_prefix}/bin/%{binutils_target}-nm%{_exeext}
    30 %{_prefix}/bin/%{binutils_target}-objcopy%{_exeext}
    31 %{_prefix}/bin/%{binutils_target}-objdump%{_exeext}
    32 %{_prefix}/bin/%{binutils_target}-ranlib%{_exeext}
    33 %{_prefix}/bin/%{binutils_target}-readelf%{_exeext}
    34 %{_prefix}/bin/%{binutils_target}-size%{_exeext}
    35 %{_prefix}/bin/%{binutils_target}-strings%{_exeext}
    36 %{_prefix}/bin/%{binutils_target}-strip%{_exeext}
     30%{_bindir}/%{binutils_target}-ld%{_exeext}
     31%{_bindir}/%{binutils_target}-nm%{_exeext}
     32%{_bindir}/%{binutils_target}-objcopy%{_exeext}
     33%{_bindir}/%{binutils_target}-objdump%{_exeext}
     34%{_bindir}/%{binutils_target}-ranlib%{_exeext}
     35%{_bindir}/%{binutils_target}-readelf%{_exeext}
     36%{_bindir}/%{binutils_target}-size%{_exeext}
     37%{_bindir}/%{binutils_target}-strings%{_exeext}
     38%{_bindir}/%{binutils_target}-strip%{_exeext}
    3739
    3840%dir %{_prefix}/%{binutils_target}
Note: See TracChangeset for help on using the changeset viewer.