Initialize Tizen 2.3 2.3a_release submit/tizen_2.3/20140531.112957
authorSehong Na <sehong.na@samsung.com>
Sat, 31 May 2014 04:01:45 +0000 (13:01 +0900)
committerSehong Na <sehong.na@samsung.com>
Sat, 31 May 2014 04:01:45 +0000 (13:01 +0900)
packaging/tizen-debug.spec [new file with mode: 0644]
tizen-debug.manifest [new file with mode: 0644]

diff --git a/packaging/tizen-debug.spec b/packaging/tizen-debug.spec
new file mode 100644 (file)
index 0000000..21a6adf
--- /dev/null
@@ -0,0 +1,31 @@
+#%define debug_package %{nil}
+#%define __strip /bin/true
+
+Name:          tizen-debug
+Summary:       libc debug information with .debug_frame section only and ld debug information
+Version:       2.13
+Release:       1
+License:       LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
+Group:         Development/Libraries
+Source0:       %{name}-%{version}.tar.gz
+BuildRequires: eglibc-debuginfo = %{version}
+BuildRequires: binutils
+
+
+%description
+The package contains the libc debug library with .debug_frame section only
+which can be helpful during signal frame backtrace.
+Also, the ld debug information is included for the debugging convenience.
+
+%prep
+%setup -q
+
+%install
+mkdir -p %{buildroot}/%{_prefix}/%{_lib}/debug/%{_lib}
+objcopy -j .note.gnu.build-id -j .debug_frame %{_prefix}/%{_lib}/debug/%{_lib}/libc-%{version}.so.debug %{buildroot}%{_prefix}/%{_lib}/debug/%{_lib}/libc-%{version}.so.debug
+cp %{_prefix}/%{_lib}/debug/%{_lib}/ld-%{version}.so.debug %{buildroot}%{_prefix}/%{_lib}/debug/%{_lib}/ld-%{version}.so.debug
+
+%files
+%defattr(-,root,root)
+%{_prefix}/%{_lib}/debug/%{_lib}/*.so.debug
+%manifest %{name}.manifest
diff --git a/tizen-debug.manifest b/tizen-debug.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+</manifest>