source: rtems/scripts/cpukit/rtems-cpukit.spec.in @ 620c972

4.104.114.84.95
Last change on this file since 620c972 was 620c972, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 29, 2002 at 7:40:53 AM

2002-07-29 Ralf Corsepius <corsepiu@…>

  • ChangeLog?: Fix 2002-07-22 ChangeLog? entry bogusly referring to Joel.
  • cpukit/Makefile.am: New.
  • cpukit/mkspec.in: New.
  • cpukit/rtems-cpukit.spec.in: New.
  • cpukit/.cvsignore: New.
  • configure.ac: Add cpukit. Add RTEMS_TOP to pickup _RTEMS_VERSION (required by cpukit).
  • Makefile.am: Add cpukit. Add ACLOCAL_AMFLAGS (required to pickup RTEMS_VERSION).
  • setup.def: Use %{_tmppath} as default for $rpm_build_root.
  • mkbinutilsspec.in: Use ',' as pattern delimiter in sed expression for $rpm_build_root.
  • mkgccnewlibspec.in: Use ',' as pattern delimiter in sed expression for $rpm_build_root.
  • mkgcc3newlibspec.in: Use ',' as pattern delimiter in sed expression for $rpm_build_root.
  • mkgdbspec.in: Use ',' as pattern delimiter in sed expression for $rpm_build_root.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1#
2# spec file for package rtems-cpukit
3#
4# Copyright  (c)  2002 Ralf Corsepius, Ulm, Germany
5#
6# please send bugfixes or comments to joel@OARcorp.com
7#
8
9%define _prefix /opt/rtems
10
11Vendor:       OAR Corporation
12Distribution: Linux
13Name:         @target_alias@-cpukit
14Release:      @Release@
15License:      Various, Open Source.
16Group:        rtems
17
18Autoreqprov:  on
19Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
20BuildPreReq:    @target_alias@-binutils
21BuildPreReq:    @target_alias@-gcc
22Requires:       @target_alias@-binutils
23Requires:       @target_alias@-gcc
24
25Version:      @rpm_version@
26Summary:      A free operating system for embedded systems
27Source:       rtems-@rtems_version@.tar.gz
28
29#
30# The original sources are not included in the source RPM.
31# If we included them, then the source RPMs for each target
32# would duplicate MBs of source unnecessarily.  This is
33# a duplication of over 30 MBs of source for each of
34# the more than 10 targets it is possible to build.
35#
36# You can get them yourself from the Internet and copy them to
37# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
38# Or you can try the ftp options of rpm :-)
39#
40NoSource:      0
41# We claim to be relocatible, but in fact we are not
42Prefix:         %{_prefix}
43Buildroot:    %{_tmppath}/%{name}-%{version}-root
44
45%description
46RTEMS is a free operating system for embedded systems.
47
48This package contains the cpukit for cpu @target_alias@.
49
50Authors:
51--------
52    Joel Sherrill (joel@oarcorp.com)
53    ...
54
55%prep
56%setup -c -T -n %{name}-%{version} -a0
57test -d build || mkdir build
58%build
59cd build
60# rtems does not support building inside the source tree
61  ../rtems-@rtems_version@/cpukit/configure \
62  --build=`../rtems-@rtems_version@/config.guess` \
63  --prefix=%{_prefix} \
64  --host=@target_alias@ --target=@target_alias@ \
65  --exec-prefix=%{_prefix}/@target_alias@ \
66  --enable-multilib
67  make RTEMS_BSP=
68%install
69cd build
70  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
71
72%files
73%{_prefix}/@target_alias@
74# ignore
75# %{_mandir}
Note: See TracBrowser for help on using the repository browser.