Changeset 1dec74de in rtems


Ignore:
Timestamp:
Mar 27, 2004, 2:51:19 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
02c7c81
Parents:
fc235f44
Message:

2004-03-26 Ralf Corsepius <corsepiu@…>

  • binutils/base-binutils.add: Apply _infodir. Don't install libiberty. Misc. cleanups.
  • binutils/binutils.add: Apply _infodir, _mandir. Don't install libiberty. Gzip man pages. Misc. cleanups.
  • binutils/target-binutils.add: Apply _mandir.
Location:
scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rfc235f44 r1dec74de  
     12004-03-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * binutils/base-binutils.add: Apply _infodir.
     4        Don't install libiberty. Misc. cleanups.
     5        * binutils/binutils.add: Apply _infodir, _mandir.
     6        Don't install libiberty. Gzip man pages. Misc. cleanups.
     7        * binutils/target-binutils.add: Apply _mandir.
     8
    192004-03-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • scripts/binutils/base-binutils.add

    rfc235f44 r1dec74de  
    1616  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    1717  then
    18     rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     18    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
    1919    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
    2020    test x"$f" != x"" && for i in $f; do
    21       /sbin/install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     21      /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
    2222    done
    2323  fi
     
    2626  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    2727  then
    28     rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     28    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
    2929    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
    3030    test x"$f" != x"" && for i in $f; do
    31       /sbin/install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     31      /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
    3232    done
    3333  fi
    3434
    35 %files -n %{rpmprefix}rtems@osversion@-base-binutils -f files
     35%files -n %{rpmprefix}rtems@osversion@-base-binutils
    3636%defattr(-,root,root)
    3737%dir %{_prefix}/info
    38 %doc %{_prefix}/info/dir
    39 %doc %{_prefix}/info/as.info*
    40 %doc %{_prefix}/info/bfd.info*
    41 %doc %{_prefix}/info/binutils.info*
    42 %doc %{_prefix}/info/ld.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*
    4343
    4444%if "%{binutils_version}" < "2.13"
    45 %doc %{_prefix}/info/gasp.info.gz
     45%doc %{_infodir}/gasp.info*
    4646%endif
    47 %doc %{_prefix}/info/standards.info.gz
     47%doc %{_infodir}/standards.info*
    4848
    49 %dir %{_prefix}/man
    50 %dir %{_prefix}/man/man1
     49%if "%{binutils_version}" < "2.9.5"
     50%doc %{_infodir}/configure.info*
     51%endif
     52
     53# %dir %{_mandir}
     54# %dir %{_mandir}/man1
    5155
    5256# deleted as of 2.13
     
    5660# %{_prefix}/include/bfdlink.h
    5761
    58 %dir %{_prefix}/lib
    59 # deleted as of 2.13
    60 %{_prefix}/lib/libiberty*
     62# %dir %{_prefix}/lib
     63# %{_prefix}/lib/libiberty*
    6164# deleted as of 2.13
    6265# %{_prefix}/lib/libbfd*
  • scripts/binutils/binutils.add

    rfc235f44 r1dec74de  
    4848    --build=%_build --host=%_host \
    4949    --target=%{binutils_target} \
    50     --verbose --prefix=%{_prefix} --disable-nls
     50    --verbose --disable-nls \
     51    --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
    5152
    5253  make all
     
    5657%install
    5758  cd build
    58   make prefix=$RPM_BUILD_ROOT%{_prefix} install
    59   make prefix=$RPM_BUILD_ROOT%{_prefix} install-info
     59  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     60    mandir=$RPM_BUILD_ROOT%{_mandir} \
     61    infodir=$RPM_BUILD_ROOT%{_infodir} \
     62    install
     63  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     64    mandir=$RPM_BUILD_ROOT%{_mandir} \
     65    infodir=$RPM_BUILD_ROOT%{_infodir} \
     66    install-info
    6067# A bug in binutils: binutils does not install share/locale
    6168# however it uses it
     
    6370    $RPM_BUILD_ROOT%{_prefix}/share/locale
    6471
    65 #  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
    6672# gzip info files
    67   gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
    68   gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info-* 2>/dev/null
    69 
    70   if test -f $RPM_BUILD_ROOT%{_prefix}/info/configure.info.gz;
    71   then
    72 # These are only present in binutils >= 2.9.5
    73     find $RPM_BUILD_ROOT%{_prefix}/info -name 'configure.*' | \
    74       sed -e "s,^$RPM_BUILD_ROOT,,g" > ../files
    75   else
    76     touch ../files
    77   fi
     73  gzip -9qf $RPM_BUILD_ROOT%{_infodir}/*.info 2>/dev/null
     74  gzip -9qf $RPM_BUILD_ROOT%{_infodir}/*.info-* 2>/dev/null
    7875
    7976# We assume that info/dir exists when building the RPMs
    80   rm -f $RPM_BUILD_ROOT%{_prefix}/info/dir
     77  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    8178  f=`find $RPM_BUILD_ROOT%{_prefix}/info -name '*.info.gz'`
    8279  test x"$f" != x"" && for i in $f; do
    83     /sbin/install-info $i $RPM_BUILD_ROOT%{_prefix}/info/dir
     80    /sbin/install-info $i $RPM_BUILD_ROOT%{_infodir}/dir
    8481  done
    8582
     83# gzip man pages
     84  gzip -9qf $RPM_BUILD_ROOT%{_mandir}/man?/*.? 2>/dev/null
     85
     86# We don't ship host files
     87  rm -f ${RPM_BUILD_ROOT}%{_prefix}/lib/libiberty*
  • scripts/binutils/target-binutils.add

    rfc235f44 r1dec74de  
    1616%files -n %{rpmprefix}%{binutils_target}-binutils
    1717%defattr(-,root,root)
    18 %doc %{_prefix}/man/man1/%{binutils_target}-*.1*
     18%doc %{_mandir}/man1/%{binutils_target}-*.1*
    1919
    2020%dir %{_prefix}/bin
Note: See TracChangeset for help on using the changeset viewer.