OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [scripts/] [cpukit/] [rtems-cpukit.spec.in] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
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
 
11
Vendor:       OAR Corporation
12
Distribution: Linux
13
Name:         @target_alias@-cpukit
14
Release:      @Release@
15
License:      Various, Open Source.
16
Group:        rtems
17
 
18
Autoreqprov:  on
19
Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
20
BuildPreReq:    @target_alias@-binutils
21
BuildPreReq:    @target_alias@-gcc
22
Requires:       @target_alias@-binutils
23
Requires:       @target_alias@-gcc
24
 
25
Version:      @rpm_version@
26
Summary:      A free operating system for embedded systems
27
Source:       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
#
40
NoSource:      0
41
# We claim to be relocatible, but in fact we are not
42
Prefix:         %{_prefix}
43
Buildroot:    %{_tmppath}/%{name}-%{version}-root
44
 
45
%description
46
RTEMS is a free operating system for embedded systems.
47
 
48
This package contains the cpukit for cpu @target_alias@.
49
 
50
Authors:
51
--------
52
    Joel Sherrill (joel@oarcorp.com)
53
    ...
54
 
55
%prep
56
%setup -c -T -n %{name}-%{version} -a0
57
test -d build || mkdir build
58
%build
59
cd 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
69
cd build
70
  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
71
 
72
%files
73
%{_prefix}/@target_alias@
74
# ignore
75
# %{_mandir}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.