[Tizen-submit] 3644: New package devel:upstream/gdb

noreply at tizen.org noreply at tizen.org
Fri May 3 20:45:24 GMT 2013


Hi,
Adding new package gdb in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.204705
Git project: platform/upstream/gdb
Tag: submit/tizen/20130503.204705
Commit: 6b92438 cleanup

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3644

  submit:       devel:upstream:build/gdb(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.204705
Git project: platform/upstream/gdb
Tag: submit/tizen/20130503.204705
Commit: 6b92438 cleanup

State:   new        2013-05-03T13:15:28 tizenrobot
Comment: <no comment>
new:
----
  gdb-7.5.tar.bz2
  gdb.spec

spec files:
-----------

++++++ new spec file:
--- gdb.spec
+++ gdb.spec
@@ -0,0 +1,107 @@
+Name:           gdb
+Version:        7.5
+Release:        0
+VCS:        platform/upstream/gdb#submit/tizen/20130503.204705-0-g6b92438
+License:        GPL-3.0+
+Summary:        A GNU source-level debugger for C, C++, Java and other languages
+Url:            http://gnu.org/software/gdb/
+Group:          Development/Debuggers
+Source:         ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2
+%define gdb_src gdb-%{version}
+%define gdb_build build-%{_target_platform}
+
+BuildRequires:  bison
+BuildRequires:  expat-devel
+BuildRequires:  flex
+BuildRequires:  gettext
+BuildRequires: 	python-devel
+BuildRequires:  gcc-c++
+BuildRequires:  ncurses-devel
+BuildRequires:  readline-devel
+BuildRequires:  rpm-devel
+BuildRequires:  makeinfo
+
+%description
+GDB, the GNU debugger, allows you to debug programs written in C, C++,
+Java, and other languages, by executing them in a controlled fashion
+and printing their data.
+
+%package devel
+Summary:        Development files for gdb
+Group:          Development
+
+%description devel
+Development files for gdb.
+
+%package server
+Summary:        A standalone server for GDB (the GNU source-level debugger)
+Group:          Development/Debuggers
+
+%description server
+GDB, the GNU debugger, allows you to debug programs written in C, C++,
+Java, and other languages, by executing them in a controlled fashion
+and printing their data.
+
+This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
+
+%prep
+%setup -q 
+
+# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
+#rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
+#rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
+
+# Remove the info and other generated files added by the FSF release
+# process.
+rm -f libdecnumber/gstdint.h
+rm -f bfd/doc/*.info
+rm -f bfd/doc/*.info-*
+rm -f gdb/doc/*.info
+rm -f gdb/doc/*.info-*
+
+%build
+%configure						\
+	--with-gdb-datadir=%{_datadir}/gdb		\
+	--enable-gdb-build-warnings=,-Wno-unused	\
+	--disable-werror				\
+	--with-separate-debug-dir=/usr/lib/debug	\
+	--disable-sim					\
+	--disable-rpath					\
+	--with-system-readline				\
+	--with-expat					\
+	--disable-tui					\
+	--enable-64-bit-bfd				\
+	--enable-static --disable-shared --enable-debug	\

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list