summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gdb/gdb.add
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/gdb/gdb.add')
-rw-r--r--contrib/crossrpms/gdb/gdb.add24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add
new file mode 100644
index 0000000000..ae65a13839
--- /dev/null
+++ b/contrib/crossrpms/gdb/gdb.add
@@ -0,0 +1,24 @@
+%define gdb_version @GDB_VERS@
+%define gdb_rpmvers %{expand:%(echo @GDB_VERS@ | tr - _)}
+
+Name: @rpmprefix@@tool_target@-gdb
+Summary: Gdb for target @tool_target@
+Group: Development/Tools
+Version: %{gdb_rpmvers}
+Release: @GDB_RPMREL@%{?dist}
+License: GPL/LGPL
+URL: http://sources.redhat.com/gdb
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%if "%{_prefix}" != "/usr"
+# Required for building the infos
+BuildRequires: /sbin/install-info
+BuildRequires: texinfo >= 4.2
+%endif
+BuildRequires: flex
+BuildRequires: bison
+
+@SOURCES@
+
+%description
+Cross gdb for target @tool_target@