source: rtems/scripts/gccnewlib/base-g77.add @ 664d8b71

4.104.114.84.95
Last change on this file since 664d8b71 was 664d8b71, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 12, 2005 at 3:17:39 PM

New.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1%if %build_g77
2# ==============================================================
3# rtems-base-g77
4# ==============================================================
5%package -n %{rpmprefix}rtems@osversion@-base-g77
6Summary:      rtems base package for gcc/g77 compiler
7Group: %{rpmgroup}
8Requires: rtems-base-gcc
9
10%description -n %{rpmprefix}rtems@osversion@-base-g77
11RTEMS is an open source operating system for embedded systems.
12
13This is the files for gcc/g77 that are shared by all targets.
14
15%files -n %{rpmprefix}rtems@osversion@-base-g77
16%defattr(-,root,root)
17%dir %{_infodir}
18%doc %{_infodir}/g77.info*.gz
19
20%dir %{_mandir}
21%dir %{_mandir}/man1
22%doc %{_mandir}/man1/%{gcc_target}-g77.1*
23
24%post -n %{rpmprefix}rtems@osversion@-base-g77
25  if test -d $RPM_INSTALL_PREFIX%{_infodir};
26  then
27    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
28    f=`find $RPM_INSTALL_PREFIX%{_infodir} -name '*.info.gz'`
29    test -n "$f" && for i in $f; do
30      install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
31    done
32  fi
33
34%postun -n %{rpmprefix}rtems@osversion@-base-g77
35  if test -d $RPM_INSTALL_PREFIX%{_infodir};
36  then
37    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
38    f=`find $RPM_INSTALL_PREFIX%{_infodir} -name '*.info.gz'`
39    test -n "$f" && for i in $f; do
40      install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
41    done
42  fi
43
44%endif
Note: See TracBrowser for help on using the repository browser.