source: rtems/scripts/cpukit/rtems-cpukit.add @ ab591073

4.104.114.84.95
Last change on this file since ab591073 was ab591073, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/31/03 at 07:29:27

2003-01-31 Ralf Corsepius <corsepiu@…>

  • common/common.add.in: Add Vendor, Distribution, BuildRoot?.
  • binutils/Makefile.am: Fix path to clean.add.
  • binutils/binutils.add: Remove BuildRoot?.
  • cpukit/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add. Generate rtems-cpukit.spec.in.
  • cpukit/header.add: New.
  • cpukit/rtems-cpukit.spec.in: Remove.
  • cpukit/rtems-cpukit.add: New.
  • gccnewlib/gccnewlib.add: Remove Buildroot.
  • gdb/gdb.add: Remove Buildroot.
  • rtemsdoc/rtemsdoc.add: Remove BuildRoot?.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1Name:         @target_alias@-cpukit
2Release:      @Release@
3License:      Various, Open Source.
4Group:        rtems
5
6Autoreqprov:  on
7Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
8BuildPreReq:    @target_alias@-binutils
9BuildPreReq:    @target_alias@-gcc
10Requires:       @target_alias@-binutils
11Requires:       @target_alias@-gcc
12
13Version:      @rpm_version@
14Summary:      A free operating system for embedded systems
15Source:       rtems-@rtems_version@.tar.gz
16
17#
18# The original sources are not included in the source RPM.
19# If we included them, then the source RPMs for each target
20# would duplicate MBs of source unnecessarily.  This is
21# a duplication of over 30 MBs of source for each of
22# the more than 10 targets it is possible to build.
23#
24# You can get them yourself from the Internet and copy them to
25# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
26# Or you can try the ftp options of rpm :-)
27#
28NoSource:      0
29# We claim to be relocatible, but in fact we are not
30Prefix:         %{_prefix}
31
32%description
33RTEMS is a free operating system for embedded systems.
34
35This package contains the cpukit for cpu @target_alias@.
36
37Authors:
38--------
39    Joel Sherrill (joel@oarcorp.com)
40    ...
41
42%prep
43%setup -c -T -n %{name}-%{version} -a0
44test -d build || mkdir build
45%build
46cd build
47# rtems does not support building inside the source tree
48  ../rtems-@rtems_version@/cpukit/configure \
49  --build=`../rtems-@rtems_version@/config.guess` \
50  --prefix=%{_prefix} \
51  --host=@target_alias@ --target=@target_alias@ \
52  --exec-prefix=%{_prefix}/@target_alias@ \
53  --enable-multilib
54  make RTEMS_BSP=
55%install
56cd build
57  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
58
59%files
60%{_prefix}/@target_alias@
61# ignore
62# %{_mandir}
Note: See TracBrowser for help on using the repository browser.