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

4.104.114.84.95
Last change on this file since c3af37c was c3af37c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/17/06 at 13:13:46

Use %sysdir instead of %if %_prefix ==|!= /usr

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