source: rtems/scripts/gdb.spec.in @ 7815d96

4.104.114.84.95
Last change on this file since 7815d96 was 7815d96, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 19, 1999 at 10:27:13 PM

Left to build overnight.

  • Property mode set to 100644
File size: 1.6 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 -- nothing
10
11Vendor:       OAR Corporation
12Distribution: Linux
13Name:         @target_alias@-gdb
14Release:      @Release@
15Copyright:    1999 OARCorp
16Group:        unsorted
17Provides:     @target_alias@-gdb
18
19Autoreqprov:  on
20Packager:     corsepiu@faw.uni-ulm.de and joel@OARcorp.com
21
22Version:      gdb@gdb_version@
23Summary:      gdb for target @target_alias@
24Source0:        gdb-@gdb_version@.tar.gz
25Patch0:         gdb-@gdb_version@-rtems-@gdb_patch_version@.diff
26
27Buildroot:    /tmp
28# Patch:
29%description
30RTEMS is an open source operating system for embedded systems.
31
32This is the GNU gdb 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@-gdb
41%setup -c -n @target_alias@-gdb -a 0
42
43%patch0 -p0
44
45%build
46test -d build || mkdir build
47( cd build
48  ../gdb-@gdb_version@/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/gdb.info*
68%doc /opt/rtems/info/mmalloc.info*
69%doc /opt/rtems/info/readline.info*
70%doc /opt/rtems/man/man1/@target_alias@-gdb.1
71
72/opt/rtems/bin/@target_alias@-gdb
73/opt/rtems/include/bfd.h
74/opt/rtems/include/bfdlink.h
75/opt/rtems/lib/libbfd*
76/opt/rtems/lib/libiberty*
Note: See TracBrowser for help on using the repository browser.