summaryrefslogtreecommitdiffstats
path: root/scripts/gdb
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-25 19:47:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-25 19:47:32 +0000
commit5eac93c7cc33640f8fc0786a2071c4466138ed56 (patch)
tree2854e2633ea7ae7f2d9356742d5112bbaed5cec8 /scripts/gdb
parentAttempting to split binutils and gcc into base/shared and CPU specific (diff)
downloadrtems-5eac93c7cc33640f8fc0786a2071c4466138ed56.tar.bz2
Now binutils, gcc, and gdb build into a "base" package that is shared
by all targets and one or more target specific RPMs. This significantly reduces the conflicts between the RPMs whether installing one or multiple targets.
Diffstat (limited to 'scripts/gdb')
-rw-r--r--scripts/gdb/gdb.spec.in33
1 files changed, 29 insertions, 4 deletions
diff --git a/scripts/gdb/gdb.spec.in b/scripts/gdb/gdb.spec.in
index f01266f803..0e8c005556 100644
--- a/scripts/gdb/gdb.spec.in
+++ b/scripts/gdb/gdb.spec.in
@@ -10,11 +10,11 @@
Vendor: OAR Corporation
Distribution: Linux
-Name: @target_alias@-gdb
+Name: @target_alias@-gdb-collection
Release: @Release@
Copyright: 1999 OARCorp
Group: rtems
-Provides: @target_alias@-gdb
+Provides: rtems-base-gdb @target_alias@-gdb
Autoreqprov: on
Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com
@@ -42,11 +42,33 @@ RTEMS is an open source operating system for embedded systems.
This is the GNU gdb for RTEMS targetting @target_alias@.
+%package -n rtems-base-gdb
+Summary: base package for rtems gdb
+Group: rtems
+
+%description -n rtems-base-gdb
+
+RTEMS is an open source operating system for embedded systems.
+
+This is the base for gdb regardless of target CPU.
+
+%package -n @target_alias@-gdb
+Summary: rtems gdb for @target_alias@
+Group: rtems
+Requires: rtems-base-gdb
+
+%description -n @target_alias@-gdb
+
+RTEMS is an open source operating system for embedded systems.
+
+This is the GNU gdb for RTEMS targetting @target_alias@.
+
Authors:
--------
Joel Sherrill (joel@oarcorp.com)
...
+
%prep
echo RPM_BUILD_ROOT=${RPM_BUILD_ROOT}
# untar the sources inside @target_alias@-gdb
@@ -93,7 +115,8 @@ test -d build || mkdir build
done
fi
-%files
+%files -n rtems-base-gdb
+
%dir /opt/rtems/info
%doc /opt/rtems/info/gdb.info*
%doc /opt/rtems/info/mmalloc.info*
@@ -101,7 +124,6 @@ test -d build || mkdir build
%dir /opt/rtems/man
%dir /opt/rtems/man/man1
-%doc /opt/rtems/man/man1/@target_alias@-gdb.1
%dir /opt/rtems/include
# We install libbfd from binutils
@@ -114,6 +136,9 @@ test -d build || mkdir build
# We use libiberty from gcc
# /opt/rtems/lib/libiberty*
+%files -n @target_alias@-gdb
+%doc /opt/rtems/man/man1/@target_alias@-gdb.1
+
%dir /opt/rtems/bin
/opt/rtems/bin/@target_alias@-gdb@exe_ext@