source: rtems/scripts/binutils/base-binutils.add @ b96a7b1

4.104.114.84.9
Last change on this file since b96a7b1 was b96a7b1, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 24, 2002 at 2:14:31 PM

2002-01-23 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add AC_PREFIX_DEFAULT(opt/rtems).
  • mkbinutilsspec.in: Add propagation of @prefix@.
  • binutils/base-binutils.add: Let %post and %unpost apply %{_prefix}. Apply %{_prefix} instead of /opt/rtems.
  • binutils/binutils.add: Update copyright notice. Add _prefix. Apply %{_prefix} instead of /opt/rtems. Remove -a 0 in %setup. Rework hack to SuSE's rpm screwing up %{_target}. Replace ARGS with CONFIGURE_ARGS.
  • binutils/target-binutils.add: Apply %{_prefix} instead of /opt/rtems.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1# ==============================================================
2# rtems-base-binutils
3# ==============================================================
4%package -n rtems-base-binutils
5Provides:       rtems-base-binutils
6Summary:      base package for rtems binutils
7Group: rtems
8
9%description -n rtems-base-binutils
10
11RTEMS is an open source operating system for embedded systems.
12
13This is the base for binutils regardless of target CPU.
14
15%post -n rtems-base-binutils
16  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
17  then
18    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
19    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
20    test x"$f" != x"" && for i in $f; do
21      install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
22    done
23  fi
24
25%postun -n rtems-base-binutils
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 x"$f" != x"" && for i in $f; do
31      install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
32    done
33  fi
34
35%files -n rtems-base-binutils -f files
36%dir %{_prefix}/info
37%doc %{_prefix}/info/dir
38%doc %{_prefix}/info/as.info.gz
39%doc %{_prefix}/info/as.info-?.gz
40%doc %{_prefix}/info/bfd.info.gz
41%doc %{_prefix}/info/bfd.info-?.gz
42%doc %{_prefix}/info/binutils.info.gz
43%doc %{_prefix}/info/binutils.info-?.gz
44%doc %{_prefix}/info/ld.info.gz
45%doc %{_prefix}/info/ld.info-?.gz
46%doc %{_prefix}/info/gasp.info.gz
47%doc %{_prefix}/info/standards.info.gz
48
49%dir %{_prefix}/man
50%dir %{_prefix}/man/man1
51
52%dir %{_prefix}/include
53%{_prefix}/include/bfd.h
54%{_prefix}/include/ansidecl.h
55%{_prefix}/include/bfdlink.h
56
57%dir %{_prefix}/lib
58%{_prefix}/lib/libbfd*
59%{_prefix}/lib/libiberty*
60%{_prefix}/lib/libopcodes*
61
62%dir %{_prefix}/share
63%dir %{_prefix}/share/locale
64
Note: See TracBrowser for help on using the repository browser.