source: rtems/scripts/gccnewlib/base-gcc.add @ b3fded0f

4.104.114.84.95
Last change on this file since b3fded0f was b3fded0f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/20/05 at 05:40:30

install-info --info-dir=

  • Property mode set to 100644
File size: 2.3 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
8Requires(post):         /sbin/install-info
9Requires(preun):        /sbin/install-info
10
11%description -n %{rpmprefix}rtems@osversion@-base-gcc
12
13RTEMS is an open source operating system for embedded systems.
14
15This is the files for gcc and newlib that are shared by all targets.
16
17%files -n %{rpmprefix}rtems@osversion@-base-gcc
18%defattr(-,root,root)
19%dir %{_infodir}
20%ghost %{_infodir}/dir
21%{_infodir}/cpp.info*
22%{_infodir}/cppinternals.info*
23%{_infodir}/gcc.info*
24%{_infodir}/libc.info*
25%{_infodir}/libm.info*
26%{_infodir}/gccint.info*
27%if "%{gcc_version}" >= "3.4"
28%{_infodir}/gccinstall.info*
29%endif
30
31%dir %{_mandir}
32%if "%{gcc_version}" < "3.4"
33%dir %{_mandir}/man1
34%{_mandir}/man1/cpp.1*
35%{_mandir}/man1/gcov.1*
36%endif
37%dir %{_mandir}/man7
38%{_mandir}/man7/fsf-funding.7*
39%{_mandir}/man7/gfdl.7*
40%{_mandir}/man7/gpl.7*
41
42%dir %{_includedir}
43
44%post -n %{rpmprefix}rtems@osversion@-base-gcc
45  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz
46  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz
47  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz
48  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
49  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz
50  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz
51%if "%{gcc_version}" >= "3.4"
52  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz
53%endif
54
55%preun -n %{rpmprefix}rtems@osversion@-base-gcc
56if [ $1 -eq 0 ]; then
57  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz
58  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz
59  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz
60  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
61  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz
62  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz
63%if "%{gcc_version}" >= "3.4"
64  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz
65%endif
66fi
67
Note: See TracBrowser for help on using the repository browser.