source: rtems/contrib/crossrpms/gcc/base-gfortran.add @ 64ccc152

4.104.114.84.95
Last change on this file since 64ccc152 was 64ccc152, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 16, 2007 at 8:31:33 AM

Ignore errors on install-info.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1%if %build_infos
2%if %build_f95
3# ==============================================================
4# @rpmprefix@gcc-gfortran-common
5# ==============================================================
6%package -n @rpmprefix@gcc-gfortran-common
7Summary:        Base package for RTEMS gcc/gfortran compiler
8Group:          Development/Tools
9License:        GPL
10
11Requires(post):         /sbin/install-info
12Requires(preun):        /sbin/install-info
13
14Provides:       @rpmprefix@rtems4.7-base-gfortran = %{gcc_rpmvers}-%{release}
15Obsoletes:      @rpmprefix@rtems4.7-base-gfortran < %{gcc_rpmvers}-%{release}
16Provides:       @rpmprefix@rtems-base-gfortran = %{gcc_rpmvers}-%{release}
17Obsoletes:      @rpmprefix@rtems-base-gfortran < %{gcc_rpmvers}-%{release}
18
19%description -n @rpmprefix@gcc-gfortran-common
20RTEMS is an open source operating system for embedded systems.
21
22This is the files for gcc/gfortran that are shared by all targets.
23
24%files -n @rpmprefix@gcc-gfortran-common
25%defattr(-,root,root)
26%sysdir %{_infodir}
27%ghost %{_infodir}/dir
28%{_infodir}/gfortran.info*.gz
29
30%post -n @rpmprefix@gcc-gfortran-common
31  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
32
33%preun -n @rpmprefix@gcc-gfortran-common
34if [ $1 -eq 0 ]; then
35  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
36fi
37
38%endif
39%endif
Note: See TracBrowser for help on using the repository browser.