summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/gdb.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb/gdb.spec.in')
-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@