source: rtems/scripts/gccnewlib/base-gcc.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.7 KB
Line 
1# ==============================================================
2# %{rpmprefix}rtems@osversion@-base-gcc
3# ==============================================================
4%package -n %{rpmprefix}rtems@osversion@-base-gcc
5Summary:        base package for rtems gcc and newlib C Library
6Group: %{rpmgroup}
7
8%description -n %{rpmprefix}rtems@osversion@-base-gcc
9
10RTEMS is an open source operating system for embedded systems.
11
12This is the files for gcc and newlib that are shared by all targets.
13
14%files -n %{rpmprefix}rtems@osversion@-base-gcc
15%defattr(-,root,root)
16%dir %{_infodir}
17%doc %{_infodir}/cpp.info*
18%doc %{_infodir}/cppinternals.info*
19%doc %{_infodir}/gcc.info*
20%doc %{_infodir}/libc.info*
21%doc %{_infodir}/libm.info*
22%doc %{_infodir}/gccint.info*
23%if "%{gcc_version}" >= "3.4"
24%doc %{_infodir}/gccinstall.info*
25%endif
26
27%dir %{_mandir}
28%if "%{gcc_version}" < "3.4"
29%dir %{_mandir}/man1
30%doc %{_mandir}/man1/cpp.1*
31%doc %{_mandir}/man1/gcov.1*
32%endif
33%dir %{_mandir}/man7
34%doc %{_mandir}/man7/fsf-funding.7*
35%doc %{_mandir}/man7/gfdl.7*
36%doc %{_mandir}/man7/gpl.7*
37
38%dir %{_prefix}/include
39
40%post -n %{rpmprefix}rtems@osversion@-base-gcc
41  if test -d $RPM_INSTALL_PREFIX%{_infodir};
42  then
43    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
44    f=`find $RPM_INSTALL_PREFIX%{_infodir} -name '*.info.gz'`
45    test -n "$f" && for i in $f; do
46      install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
47    done
48  fi
49
50%postun -n %{rpmprefix}rtems@osversion@-base-gcc
51  if test -d $RPM_INSTALL_PREFIX%{_infodir};
52  then
53    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
54    f=`find $RPM_INSTALL_PREFIX%{_infodir} -name '*.info.gz'`
55    test -n "$f" && for i in $f; do
56      install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
57    done
58  fi
59
Note: See TracBrowser for help on using the repository browser.