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
RevLine 
[e8a6236]1%if %build_infos
[b3a8c23b]2%if %build_f95
3# ==============================================================
[793bad2]4# @rpmprefix@gcc-gfortran-common
[b3a8c23b]5# ==============================================================
[793bad2]6%package -n @rpmprefix@gcc-gfortran-common
[b3a8c23b]7Summary:        Base package for RTEMS gcc/gfortran compiler
[4fa25687]8Group:          Development/Tools
[b3a8c23b]9License:        GPL
10
11Requires(post):         /sbin/install-info
12Requires(preun):        /sbin/install-info
13
[793bad2]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
[b3a8c23b]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
[793bad2]24%files -n @rpmprefix@gcc-gfortran-common
[b3a8c23b]25%defattr(-,root,root)
[c3af37c]26%sysdir %{_infodir}
[b3a8c23b]27%ghost %{_infodir}/dir
28%{_infodir}/gfortran.info*.gz
29
[793bad2]30%post -n @rpmprefix@gcc-gfortran-common
[64ccc152]31  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
[b3a8c23b]32
[793bad2]33%preun -n @rpmprefix@gcc-gfortran-common
[b3a8c23b]34if [ $1 -eq 0 ]; then
[64ccc152]35  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
[b3a8c23b]36fi
37
38%endif
39%endif
Note: See TracBrowser for help on using the repository browser.