source: rtems/scripts/binutils.spec.in @ 8c5e54b

4.104.114.84.95
Last change on this file since 8c5e54b was 8c5e54b, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 18, 1999 at 7:10:03 PM

Working on being able to cut RPMs. It now appears that the process
is working mostly for sparc at least.

There is one major problem -- the current process generates a unique
source file per RPM when in fact all of the source files are nearly
the same -- it is only the spec part of the rpm which differs.
The new file mkbinutils_subpackage_version is an attempt to
address this. It does part of the job right -- one source file
produces multiple binary RPMs. BUT the end user can not produce
the resulting RPMS themselves from SRPMS unless they also
build all targets.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1#
2# spec file for package rtems
3#
4# Copyright  (c)  1999  OARCorp, Huntsville, AL
5#
6# please send bugfixes or comments to joel@OARcorp.com
7#
8
9# neededforbuild  @target_alias@-binutils @target_alias@-gcc
10
11Vendor:       OAR Corporation
12Distribution: Linux
13Name:         @target_alias@-binutils
14Release:      @Release@
15Copyright:    1999 OARCorp
16Group:        unsorted
17Provides:     @target_alias@-binutils
18
19Autoreqprov:  on
20Packager:     corsepiu@faw.uni-ulm.de and joel@OARcorp.com
21
22Version:      @Version@
23Summary:      binutils for target @target_alias@
24Source0:        binutils-990901.tar.gz
25Patch0:         binutils-990901-rtems-19991015.diff
26
27Buildroot:    /tmp
28# Patch:
29%description
30RTEMS is an open source operating system for embedded systems.
31
32This is the GNU binutils for RTEMS targetting @target_alias@.
33
34Authors:
35--------
36    Joel Sherrill (joel@oarcorp.com)
37    ...
38
39%prep
40# untar the sources inside @target_alias@-binutils-@Version@
41%setup -c -n @target_alias@-binutils -a 0
42
43%patch0 -p0
44
45%build
46test -d build || mkdir build
47( cd build
48  ../binutils-990901/configure --target=@target_alias@ \
49    --verbose --prefix=/opt/rtems
50
51  test -d $RPM_BUILD_ROOT/opt \
52    || mkdir $RPM_BUILD_ROOT/opt
53  test -d $RPM_BUILD_ROOT/opt/rtems \
54    || mkdir $RPM_BUILD_ROOT/opt/rtems
55
56  make all
57  make info
58)
59
60%install
61( cd build
62  make prefix=$RPM_BUILD_ROOT/opt/rtems install
63  make prefix=$RPM_BUILD_ROOT/opt/rtems install-info
64)
65
66%files
67%doc /opt/rtems/info/as.info*
68%doc /opt/rtems/info/bfd.info*
69%doc /opt/rtems/info/binutils.info*
70%doc /opt/rtems/info/gasp.info*
71%doc /opt/rtems/info/ld.info*
72%doc /opt/rtems/info/standards.info*
73%doc /opt/rtems/man/man1/@target_alias@-ar.1
74%doc /opt/rtems/man/man1/@target_alias@-nm.1
75%doc /opt/rtems/man/man1/@target_alias@-objdump.1
76%doc /opt/rtems/man/man1/@target_alias@-ranlib.1
77%doc /opt/rtems/man/man1/@target_alias@-size.1
78%doc /opt/rtems/man/man1/@target_alias@-strings.1
79%doc /opt/rtems/man/man1/@target_alias@-strip.1
80%doc /opt/rtems/man/man1/@target_alias@-objcopy.1
81%doc /opt/rtems/man/man1/@target_alias@-addr2line.1
82%doc /opt/rtems/man/man1/@target_alias@-nlmconv.1
83%doc /opt/rtems/man/man1/@target_alias@-c++filt.1
84%doc /opt/rtems/man/man1/@target_alias@-as.1
85%doc /opt/rtems/man/man1/@target_alias@-ld.1
86
87/opt/rtems/bin/@target_alias@-addr2line
88/opt/rtems/bin/@target_alias@-ar
89/opt/rtems/bin/@target_alias@-as
90/opt/rtems/bin/@target_alias@-c++filt
91/opt/rtems/bin/@target_alias@-gasp
92/opt/rtems/bin/@target_alias@-ld
93/opt/rtems/bin/@target_alias@-nm
94/opt/rtems/bin/@target_alias@-objcopy
95/opt/rtems/bin/@target_alias@-objdump
96/opt/rtems/bin/@target_alias@-ranlib
97/opt/rtems/bin/@target_alias@-readelf
98/opt/rtems/bin/@target_alias@-size
99/opt/rtems/bin/@target_alias@-strings
100/opt/rtems/bin/@target_alias@-strip
101/opt/rtems/include/bfd.h
102/opt/rtems/include/ansidecl.h
103/opt/rtems/include/bfdlink.h
104/opt/rtems/lib/libbfd*
105/opt/rtems/lib/libiberty*
106/opt/rtems/lib/libopcodes*
107/opt/rtems/@target_alias@/bin/ar
108/opt/rtems/@target_alias@/bin/as
109/opt/rtems/@target_alias@/bin/ld
110/opt/rtems/@target_alias@/bin/nm
111/opt/rtems/@target_alias@/bin/ranlib
112/opt/rtems/@target_alias@/bin/strip
113/opt/rtems/@target_alias@/lib/ldscripts
Note: See TracBrowser for help on using the repository browser.