source: rtems/scripts/gcc3newlib/base-g77.add @ ac3786b

4.104.114.84.95
Last change on this file since ac3786b was ae67478, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 24, 2003 at 4:41:10 AM

2003-08-23 Ralf Corsepius <corsepiu@…>

  • common/common.add.in: s/www.oarcorp.com/www.rtems.com/. Add %define os_install_post %{nil} to prevent RH-9's rpm-brp-strip from running (Chokes on foreign object formats).
  • gcc3newlib/base-g77.add: Use %{gcc_version} instead of @gcc_version@.
  • gcc3newlib/gccnewlib.add: Use %{gcc_version} instead of @gcc_version@. Reflect gcc >= 3.3 shipping monolytic infos.
  • gcc3newlib/target-c++.add: Use %{gcc_version} instead of @gcc_version@. Don't pickup c++filt.
  • gcc3newlib/target-g77.add: Use %{gcc_version} instead of @gcc_version@.
  • gcc3newlib/target-gcc.add: Use %{gcc_version} instead of @gcc_version@.
  • gcc3newlib/target-gcj.add: Use %{gcc_version} instead of @gcc_version@.
  • gcc3newlib/target-gnat.add: Use %{gcc_version} instead of @gcc_version@.
  • gcc3newlib/target-objc.add: Use %{gcc_version} instead of @gcc_version@.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1%if %build_g77
2# ==============================================================
3# rtems-base-g77
4# ==============================================================
5%package -n rtems-base-g77
6Provides:       rtems-base-g77
7Summary:      rtems base package for gcc/g77 compiler
8Group: rtems
9Requires: rtems-base-gcc
10
11%description -n rtems-base-g77
12RTEMS is an open source operating system for embedded systems.
13
14This is the files for gcc/g77 that are shared by all targets.
15
16%files -n rtems-base-g77
17%defattr(-,root,root)
18%dir %{_prefix}/info
19%doc %{_prefix}/info/g77.info*.gz
20
21%dir %{_prefix}/man
22%dir %{_prefix}/man/man1
23%doc %{_prefix}/man/man1/%{gcc_target}-g77.1*
24
25%post -n rtems-base-g77
26  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
27  then
28    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
29    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
30    test -n "$f" && for i in $f; do
31      install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
32    done
33  fi
34
35%postun -n rtems-base-g77
36  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
37  then
38    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
39    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
40    test -n "$f" && for i in $f; do
41      install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
42    done
43  fi
44
45%endif
Note: See TracBrowser for help on using the repository browser.