source: rtems/contrib/crossrpms/gcc/base-gcc.add @ dc6771a7

4.104.114.95
Last change on this file since dc6771a7 was dc6771a7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 25, 2008 at 3:19:47 PM

Remove stray newline.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1%if %build_infos
2# ==============================================================
3# @rpmprefix@gcc-common
4# ==============================================================
5%package -n @rpmprefix@gcc-common
6Summary:        Base package for rtems gcc and newlib C Library
7Group:          Development/Tools
8Version:        %{gcc_rpmvers}
9License:        GPL
10
11Requires(post):         /sbin/install-info
12Requires(preun):        /sbin/install-info
13
14%description -n @rpmprefix@gcc-common
15GCC files that are shared by all targets.
16
17%files -n @rpmprefix@gcc-common
18%defattr(-,root,root)
19%sysdir %{_infodir}
20%ghost %{_infodir}/dir
21%{_infodir}/cpp.info*
22%{_infodir}/cppinternals.info*
23%{_infodir}/gcc.info*
24%{_infodir}/gccint.info*
25%if "%{gcc_version}" >= "3.4"
26%{_infodir}/gccinstall.info*
27%endif
28
29%sysdir %{_mandir}
30%if "%{gcc_version}" < "3.4"
31%sysdir %{_mandir}/man1
32%{_mandir}/man1/cpp.1*
33%{_mandir}/man1/gcov.1*
34%endif
35%sysdir %{_mandir}/man7
36%{_mandir}/man7/fsf-funding.7*
37%{_mandir}/man7/gfdl.7*
38%{_mandir}/man7/gpl.7*
39
40%post -n @rpmprefix@gcc-common
41  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
42  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
43  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
44  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
45%if "%{gcc_version}" >= "3.4"
46  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
47%endif
48
49%preun -n @rpmprefix@gcc-common
50if [ $1 -eq 0 ]; then
51  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
52  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
53  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
54  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
55%if "%{gcc_version}" >= "3.4"
56  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
57%endif
58fi
59
60%endif
Note: See TracBrowser for help on using the repository browser.