--- /dev/null
+#%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