source: rtems/scripts/gccnewlib/base-gnat.add @ 1eb65053

4.104.114.84.95
Last change on this file since 1eb65053 was 1eb65053, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 22, 2005 at 5:15:44 AM

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

  • gccnewlib/base-gfortran.add, gccnewlib/target-gfortran.add: New.
  • gccnewlib/Makefile.am: Reflect addition of gfortran.
  • gccnewlib/base-g77.add, gccnewlib/base-gcc.add, gccnewlib/base-gcj.add, gccnewlib/base-gnat.add, gccnewlib/target-g++.add, gccnewlib/target-g77.add, gccnewlib/target-gcc.add, gccnewlib/target-gcj.add, gccnewlib/target-gnat.add: Remove RPM_INSTALL_PREFIX. Remove superfluous %doc directives. Use %_infodir, %_includedir, %_bindir, %_libdir.
  • gccnewlib/gccnewlib.add: Ditto. Add further BR's, Reflect addition of gfortran. Reflect gcc's changes to "version_string".
  • Property mode set to 100644
File size: 1.1 KB
Line 
1%if %build_gnat
2# ==============================================================
3# rtems-base-gnat
4# ==============================================================
5%package -n %{rpmprefix}rtems@osversion@-base-gnat
6Summary:        gcc/gnat tools
7Group: %{rpmgroup}
8
9%description -n %{rpmprefix}rtems@osversion@-base-gnat
10RTEMS is an open source operating system for embedded systems.
11
12This is the gcc/gnat tools for the gcc/gnat compiler
13
14%files -n %{rpmprefix}rtems@osversion@-base-gnat
15%defattr(-,root,root)
16%dir %{_bindir}
17
18%if "%{gcc_version}" >= "3.3"
19%{_infodir}/gnat*
20%endif
21
22%if "%{gcc_version}" >= "3.3"
23%post -n %{rpmprefix}rtems@osversion@-base-gnat
24  if test -d %{_infodir};
25  then
26    rm -f %{_infodir}/dir
27    f=`find %{_infodir} -name '*.info.gz'`
28    test -n "$f" && for i in $f; do
29      install-info $i %{_infodir}/dir
30    done
31  fi
32
33%postun -n %{rpmprefix}rtems@osversion@-base-gnat
34  if test -d %{_infodir};
35  then
36    rm -f %{_infodir}/dir
37    f=`find %{_infodir} -name '*.info.gz'`
38    test -n "$f" && for i in $f; do
39      install-info $i %{_infodir}/dir
40    done
41  fi
42%endif
43%endif
Note: See TracBrowser for help on using the repository browser.