source: rtems/scripts/gccnewlib/base-gcc.add @ 1cd0db4

4.104.114.84.95
Last change on this file since 1cd0db4 was 1cd0db4, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 13, 2001 at 4:37:03 PM

2001-09-13 Joel Sherrill <joel@…>

  • setup.def, gccnewlib/gccnewlib.add, gccnewlib/target-gcc.add: Revert changes because of gcc 2.5.x/3.0 transition and continue to support gcc 2.95.x as primary version.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1# ==============================================================
2# rtems-base-gcc
3# ==============================================================
4%package -n rtems-base-gcc
5Provides:       rtems-base-gcc
6Summary:        base package for rtems gcc and newlib C Library
7Group: rtems
8
9%description -n rtems-base-gcc
10
11RTEMS is an open source operating system for embedded systems.
12
13This is the files for gcc and newlib that are shared by all targets.
14
15%files -n rtems-base-gcc
16%dir /opt/rtems/info
17%doc /opt/rtems/info/cpp.info*.gz
18%doc /opt/rtems/info/gcc.info*.gz
19%doc /opt/rtems/info/libc.info*.gz
20%doc /opt/rtems/info/libm.info*.gz
21
22%dir /opt/rtems/bin
23/opt/rtems/bin/gcov@exe_ext@
24
25%dir /opt/rtems/man
26%dir /opt/rtems/man/man1
27%doc /opt/rtems/man/man1/cccp.1
28
29%dir /opt/rtems/include
30/opt/rtems/include/g++-3
31
32%post -n rtems-base-gcc
33  if test -d $RPM_INSTALL_PREFIX/rtems/info;
34  then
35    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
36    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
37    test -n "$f" && for i in $f; do
38      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
39    done
40  fi
41
42%postun -n rtems-base-gcc
43  if test -d $RPM_INSTALL_PREFIX/rtems/info;
44  then
45    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
46    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
47    test -n "$f" && for i in $f; do
48      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
49    done
50  fi
51
Note: See TracBrowser for help on using the repository browser.