diff --git a/.libdwarf.metadata b/.libdwarf.metadata
new file mode 100644
index 0000000..37ee9ad
--- /dev/null
+++ b/.libdwarf.metadata
@@ -0,0 +1 @@
+4afd5513d41da7d19141fee15a0b63f44c7c1ef4 SOURCES/libdwarf-20130207.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 0e7897f..0000000
--- a/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-The master branch has no content
- 
-Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6
- 
-If you find this file in a distro specific branch, it means that no content has been checked in yet
diff --git a/SOURCES/libdwarf-soname.patch b/SOURCES/libdwarf-soname.patch
new file mode 100644
index 0000000..a392439
--- /dev/null
+++ b/SOURCES/libdwarf-soname.patch
@@ -0,0 +1,18 @@
+diff --git a/libdwarf/Makefile.in b/libdwarf/Makefile.in
+index 76add35..1876507 100644
+--- a/libdwarf/Makefile.in
++++ b/libdwarf/Makefile.in
+@@ -131,8 +131,11 @@ all: @build_shared@ @build_nonshared@
+ libdwarf.a: dwarf_names.h dwarf_names.c  $(OBJS) dwarf_names.o
+ 	$(AR) $(ARFLAGS) $@ $(OBJS)  dwarf_names.o
+ 
+-libdwarf.so: dwarf_names.h dwarf_names.c $(OBJS) dwarf_names.o
+-	$(CC) $(CFLAGS) -shared $(OBJS)  dwarf_names.o -o $@
++libdwarf.so: $(SONAME)
++	ln -s $(SONAME) $@
++
++$(SONAME): dwarf_names.h dwarf_names.c $(OBJS) dwarf_names.o
++	$(CC) $(CFLAGS) -shared $(OBJS) -Wl,-soname,$(SONAME)  dwarf_names.o -o $@
+ 
+ none:
+ 	echo "do nothing"
diff --git a/SPECS/libdwarf.spec b/SPECS/libdwarf.spec
new file mode 100644
index 0000000..addc566
--- /dev/null
+++ b/SPECS/libdwarf.spec
@@ -0,0 +1,158 @@
+%define soversion 0
+%define soname libdwarf.so.%{soversion}
+%define sofullname libdwarf.so.%{soversion}.%{version}.0
+
+Name:          libdwarf
+Version:       20130207
+Release:       1%{?dist}
+Summary:       Library to access the DWARF Debugging file format 
+Group:         Development/Libraries
+
+License:       LGPLv2
+URL:           http://reality.sgiweb.org/davea/dwarf.html
+Source0:       http://reality.sgiweb.org/davea/%{name}-%{version}.tar.gz
+Patch0:        libdwarf-soname.patch
+
+BuildRequires: binutils-devel elfutils-libelf-devel
+
+%package devel
+Summary:       Library and header files of libdwarf
+Group:         Development/Libraries
+License:       LGPLv2
+Requires:      %{name} = %{version}-%{release}
+
+%package static
+Summary:       Static libdwarf library
+Group:         Development/Libraries
+License:       LGPLv2
+Requires:      %{name}-devel = %{version}-%{release}
+
+%package tools
+Summary:       Tools for accessing DWARF debugging information
+Group:         Development/Tools
+License:       GPLv2
+Requires:      %{name} = %{version}-%{release}
+
+%description
+Library to access the DWARF debugging file format which supports
+source level debugging of a number of procedural languages, such as C, C++,
+and Fortran.  Please see http://www.dwarfstd.org for DWARF specification.
+
+%description static
+Static libdwarf library.
+
+%description devel
+Development package containing library and header files of libdwarf.
+
+%description tools
+C++ version of dwarfdump (dwarfdump2) command-line utilities 
+to access DWARF debug information.
+
+%prep
+%setup -q -n dwarf-%{version}
+%patch0 -p1 -b .soname
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %configure --enable-shared
+LD_LIBRARY_PATH="../libdwarf" make %{?_smp_mflags} SONAME="%{soname}"
+
+%install
+install -pDm 0644 libdwarf/dwarf.h         %{buildroot}%{_includedir}/libdwarf/dwarf.h
+install -pDm 0644 libdwarf/libdwarf.a      %{buildroot}%{_libdir}/libdwarf.a
+
+install -pDm 0644 libdwarf/libdwarf.h      %{buildroot}%{_includedir}/libdwarf/libdwarf.h
+install -pDm 0755 libdwarf/libdwarf.so     %{buildroot}%{_libdir}/%{sofullname}
+ln      -s        %{sofullname}            %{buildroot}%{_libdir}/%{soname}
+ln      -s        %{sofullname}            %{buildroot}%{_libdir}/libdwarf.so
+install -pDm 0755 dwarfdump2/dwarfdump     %{buildroot}%{_bindir}/dwarfdump
+
+%post -n libdwarf -p /sbin/ldconfig
+
+%postun -n libdwarf -p /sbin/ldconfig
+
+%files
+%doc libdwarf/ChangeLog libdwarf/README libdwarf/COPYING libdwarf/LIBDWARFCOPYRIGHT libdwarf/LGPL.txt
+%{_libdir}/libdwarf.so.*
+
+%files static
+%{_libdir}/libdwarf.a
+
+%files devel
+%doc libdwarf/*.pdf
+%{_includedir}/libdwarf
+%{_libdir}/libdwarf.so
+
+%files tools
+%doc dwarfdump2/README dwarfdump2/ChangeLog dwarfdump2/COPYING dwarfdump2/DWARFDUMPCOPYRIGHT dwarfdump2/GPL.txt
+%{_bindir}/dwarfdump
+
+%changelog
+* Fri Feb  8 2013 Tom Hughes <tom@compton.nu> - 20130207-1
+- Update to 20130207 release
+
+* Sun Jan 27 2013 Tom Hughes <tom@compton.nu> - 20130126-1
+- Update to 20130126 release
+- Revert soname to libdwarf.so.0
+
+* Sat Jan 26 2013 Tom Hughes <tom@compton.nu> - 20130125-1
+- Update to 20130125 release
+- Bump soname to libdwarf.so.1
+
+* Mon Dec  3 2012 Tom Hughes <tom@compton.nu> - 20121130-1
+- Update to 20121130 release
+
+* Thu Nov 29 2012 Tom Hughes <tom@compton.nu> - 20121127-1
+- Update to 20121127 release
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120410-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jul 13 2012 Tom Hughes <tom@compton.nu> - 20120410-1
+- Update to 20120410 release
+- Drop the 0. from the version - the dates are the upstream versions
+- Remove explicit dependencies on elfutils-libelf
+
+* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110612-3
+- Rebuilt for c++ ABI breakage
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110612-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Jul 13 2011 Parag Nemade <paragn AT fedoraproject DOT org> - 0.20110612-1
+- Update to 20110612 release
+
+* Wed Mar 09 2011 Parag Nemade <paragn AT fedoraproject DOT org> - 0.20110113-1
+- Update to 20110113 release
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100629-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Jul 06 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.20100629-1
+- Update to 20100629 release
+- Add -static subpackage as request in rh#586807
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090324-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Mar 31 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+- 0.20090324-4
+- Adding _smp_mflags for libdwarf build
+- Move CFLAGS override from configure to make
+ 
+* Mon Mar 30 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+- 0.20090324-3
+- Remove AutoreqProv no
+
+* Thu Mar 26 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+- 0.20090324-2
+- Drop the C implementation of dwarfdump. (dwarfdump1)
+- Since the doc package is small, we combined the contents into the devel package.
+- Fix the version string.
+- Drop the static library.
+- Add release number to "Requires".
+- Fix licensing (v2 instead of v2+)
+- Change linking for libdwarf.so and libdwarf.so.0
+
+* Wed Mar 25 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+- 20090324-1
+- Initial Revision