source: rtems/scripts/gccnewlib/base-chill.add @ 0ab87349
Last change on this file since 0ab87349 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 1.1 KB
1# ==============================================================
2# rtems-base-chill
3# ==============================================================
4%package -n rtems-base-chill
5Provides:       rtems-base-chill
6Summary:        base package for rtems gcc/chill compiler.
7Group: rtems
8Requires: rtems-base-gcc
10%description -n rtems-base-chill
11RTEMS is an open source operating system for embedded systems.
13This is the files for gcc/chill that are shared by all targets.
15%files -n rtems-base-chill
16%dir /opt/rtems/info
17%doc /opt/rtems/info/*.gz
19%post -n rtems-base-chill
20  if test -d $RPM_INSTALL_PREFIX/rtems/info;
21  then
22    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
23    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
24    test -n "$f" && for i in $f; do
25      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
26    done
27  fi
29%postun -n rtems-base-chill
30  if test -d $RPM_INSTALL_PREFIX/rtems/info;
31  then
32    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
33    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
34    test -n "$f" && for i in $f; do
35      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
36    done
37  fi
Note: See TracBrowser for help on using the repository browser.