Changeset 3e66bcf in rtems


Ignore:
Timestamp:
Apr 26, 2005, 1:36:21 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e6bb55e
Parents:
125c601
Message:

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

  • gccnewlib/base-gcc.add: Install infos using FC conventions.
  • gccnewlib/base-gcj.add: Install infos using FC conventions. Various minor fixes.
  • gccnewlib/base-gfortran.add: Install infos using FC conventions.
  • gccnewlib/target-gcj.add: Various minor fixes.
Location:
scripts
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r125c601 r3e66bcf  
     12005-04-26      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * gccnewlib/base-gcc.add: Install infos using FC conventions.
     4        * gccnewlib/base-gcj.add: Install infos using FC conventions.
     5        Various minor fixes.
     6        * gccnewlib/base-gfortran.add: Install infos using FC conventions.
     7        * gccnewlib/target-gcj.add: Various minor fixes.
     8
    192005-04-25      Ralf Corsepius <ralf.corsepius@rtems.org>
    210
  • scripts/gccnewlib/base-gcc.add

    r125c601 r3e66bcf  
    55Summary:        base package for rtems gcc and newlib C Library
    66Group: %{rpmgroup}
     7
     8Requires(post):         /sbin/install-info
     9Requires(postun):       /sbin/install-info
    710
    811%description -n %{rpmprefix}rtems@osversion@-base-gcc
     
    3942
    4043%post -n %{rpmprefix}rtems@osversion@-base-gcc
    41   if test -d %{_infodir};
    42   then
    43     rm -f %{_infodir}/dir
    44     f=`find %{_infodir} -name '*.info.gz'`
    45     test -n "$f" && for i in $f; do
    46       install-info $i %{_infodir}/dir
    47     done
    48   fi
     44  /sbin/install-info --infodir=%{_infodir} %{_infodir}/cpp.info.gz
     45  /sbin/install-info --infodir=%{_infodir} %{_infodir}/cppinternals.info.gz
     46  /sbin/install-info --infodir=%{_infodir} %{_infodir}/gcc.info.gz
     47  /sbin/install-info --infodir=%{_infodir} %{_infodir}/libc.info.gz
     48  /sbin/install-info --infodir=%{_infodir} %{_infodir}/libm.info.gz
     49  /sbin/install-info --infodir=%{_infodir} %{_infodir}/gccint.info.gz
     50%if "%{gcc_version}" >= "3.4"
     51  /sbin/install-info --infodir=%{_infodir} %{_infodir}/gccinstall.info.gz
     52%endif
    4953
    5054%postun -n %{rpmprefix}rtems@osversion@-base-gcc
    51   if test -d %{_infodir};
    52   then
    53     rm -f %{_infodir}/dir
    54     f=`find %{_infodir} -name '*.info.gz'`
    55     test -n "$f" && for i in $f; do
    56       install-info $i %{_infodir}/dir
    57     done
    58   fi
     55if [ $1 -eq 0 ]; then
     56  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/cpp.info.gz
     57  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/cppinternals.info.gz
     58  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/gcc.info.gz
     59  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/libc.info.gz
     60  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/libm.info.gz
     61  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/gccint.info.gz
     62%if "%{gcc_version}" >= "3.4"
     63  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/gccinstall.info.gz
     64%endif
     65fi
    5966
  • scripts/gccnewlib/base-gcj.add

    r125c601 r3e66bcf  
    66Summary:      base package for rtems gcc/java compiler (gcj).
    77Group: %{rpmgroup}
    8 Requires: %{rpmprefix}rtems@osversion@-base-gcc
     8
     9Requires(post):         /sbin/install-info
     10Requires(postun):       /sbin/install-info
    911
    1012%description -n %{rpmprefix}rtems@osversion@-base-gcj
     
    2628%{_infodir}/fastjar.info*
    2729%endif
    28 %if "%{gcc_version}" >= "3.3" && "%{gcc_version}" <= "3.4"
     30
     31%if "%{gcc_version}" < "4.0"
     32%if "%{gcc_version}" >= "3.3"
     33%dir %{_mandir}
    2934%dir %{_mandir}/man1
    3035%{_mandir}/man1/gcjh.1*
     
    3843%{_mandir}/man1/grepjar.1*
    3944%endif
     45%endif
     46
     47%post -n %{rpmprefix}rtems@osversion@-base-gcj
     48/sbin/install-info --infodir=%{_infodir} %{_infodir}/gcj.info*
     49
     50%if "%{gcc_version}" >= "3.3"
     51  /sbin/install-info --infodir=%{_infodir} %{_infodir}/fastjar.info*
     52%endif
     53
     54%postun -n %{rpmprefix}rtems@osversion@-base-gcj
     55if [ $1 -eq 0 ]; then
     56/sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/gcj.info*
     57
     58%if "%{gcc_version}" >= "3.3"
     59  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/fastjar.info*
     60%endif
     61fi
    4062
    4163%endif
  • scripts/gccnewlib/base-gfortran.add

    r125c601 r3e66bcf  
    66Summary:      rtems base package for gcc/gfortran compiler
    77Group: %{rpmgroup}
    8 Requires: rtems-base-gcc
     8
     9Requires(post):         /sbin/install-info
     10Requires(postun):       /sbin/install-info
    911
    1012%description -n %{rpmprefix}rtems@osversion@-base-gfortran
     
    2325
    2426%post -n %{rpmprefix}rtems@osversion@-base-gfortran
    25   if test -d %{_infodir};
    26   then
    27     rm -f %{_infodir}/dir
    28     f=`find %{_infodir} -name '*.info.gz'`
    29     test -n "$f" && for i in $f; do
    30       install-info $i %{_infodir}/dir
    31     done
    32   fi
     27  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/gfortran.info.gz
    3328
    3429%postun -n %{rpmprefix}rtems@osversion@-base-gfortran
    35   if test -d %{_infodir};
    36   then
    37     rm -f %{_infodir}/dir
    38     f=`find %{_infodir} -name '*.info.gz'`
    39     test -n "$f" && for i in $f; do
    40       install-info $i %{_infodir}/dir
    41     done
    42   fi
     30if [ $1 -eq 0 ]; then
     31  /sbin/install-info --delete --infodir=%{_infodir} %{_infodir}/gfortran.info.gz
     32fi
    4333
    4434%endif
  • scripts/gccnewlib/target-gcj.add

    r125c601 r3e66bcf  
    2020%{_bindir}/%{gcc_target}-jv-scan%{_exeext}
    2121%{_bindir}/%{gcc_target}-gcjh%{_exeext}
    22 %{_mandir}/man1/%{gcc_target}-gcj.1*
    2322
    2423%if "%{gcc_version}" >= "3.4"
    25 %{_bindir}/%{gcc_target}-jar%{_exeext}
    26 %{_bindir}/%{gcc_target}-grepjar%{_exeext}
    27 %{_mandir}/man1/%{gcc_target}-jar.1*
    28 %{_mandir}/man1/%{gcc_target}-grepjar.1*
    29 %{_mandir}/man1/%{gcc_target}-rmic.1*
    30 %{_mandir}/man1/%{gcc_target}-rmiregistry.1*
    31 %{_mandir}/man1/%{gcc_target}-gcjh.1*
     24%{_bindir}/%{gcc_target}-*jar%{_exeext}
     25
     26%dir %{_mandir}
     27%dir %{_mandir}/man1
     28%{_mandir}/man1/%{gcc_target}-*jar.1*
     29%{_mandir}/man1/%{gcc_target}-gcj*.1*
     30%{_mandir}/man1/%{gcc_target}-jv-*.1*
     31%{_mandir}/man1/%{gcc_target}-jcf-dump.1*
    3232%{_mandir}/man1/%{gcc_target}-gij.1*
    33 %{_mandir}/man1/%{gcc_target}-jcf-dump.1*
    34 %{_mandir}/man1/%{gcc_target}-jv-convert.1*
    35 %{_mandir}/man1/%{gcc_target}-jv-scan.1*
     33%endif
     34
     35%if "%{gcc_version}" >= "4.0"
     36%{_mandir}/man1/%{gcc_target}-grmi*.1*
     37%else
     38%if "%{gcc_version}" >= "3.4"
     39%{_mandir}/man1/%{gcc_target}-rmi*.1*
     40%endif
    3641%endif
    3742
Note: See TracChangeset for help on using the changeset viewer.