source: rtems/scripts/gccnewlib/base-gfortran.add @ 6d4ad17

4.104.114.84.95
Last change on this file since 6d4ad17 was 6d4ad17, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 21, 2005 at 8:35:22 PM

New.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1%if %build_f95
2# ==============================================================
3# rtems-base-gfortran
4# ==============================================================
5%package -n %{rpmprefix}rtems@osversion@-base-gfortran
6Summary:      rtems base package for gcc/gfortran compiler
7Group: %{rpmgroup}
8Requires: rtems-base-gcc
9
10%description -n %{rpmprefix}rtems@osversion@-base-gfortran
11RTEMS is an open source operating system for embedded systems.
12
13This is the files for gcc/gfortran that are shared by all targets.
14
15%files -n %{rpmprefix}rtems@osversion@-base-gfortran
16%defattr(-,root,root)
17%dir %{_infodir}
18%{_infodir}/gfortran.info*.gz
19
20%dir %{_mandir}
21%dir %{_mandir}/man1
22%{_mandir}/man1/%{gcc_target}-gfortran.1*
23
24%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
33
34%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
43
44%endif
Note: See TracBrowser for help on using the repository browser.