diff --git a/.libtasn1.metadata b/.libtasn1.metadata
new file mode 100644
index 0000000..d03c343
--- /dev/null
+++ b/.libtasn1.metadata
@@ -0,0 +1,2 @@
+594a2b65742e45b0abf140ea504fc06de2ca3b1e SOURCES/libtasn1-3.3.tar.gz
+bb67a247243ea42b183331d135bc68835e877f36 SOURCES/libtasn1-3.3.tar.gz.sig
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/libtasn1-2.12-rpath.patch b/SOURCES/libtasn1-2.12-rpath.patch
new file mode 100644
index 0000000..109edea
--- /dev/null
+++ b/SOURCES/libtasn1-2.12-rpath.patch
@@ -0,0 +1,21 @@
+diff -up libtasn1-2.12/configure.rpath libtasn1-2.12/configure
+--- libtasn1-2.12/configure.rpath	2012-03-19 10:14:43.000000000 +0100
++++ libtasn1-2.12/configure	2012-03-20 15:07:06.555041791 +0100
+@@ -11373,7 +11373,7 @@ shlibpath_var=
+ shlibpath_overrides_runpath=unknown
+ version_type=none
+ dynamic_linker="$host_os ld.so"
+-sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64"
+ need_lib_prefix=unknown
+ hardcode_into_libs=no
+ 
+@@ -11771,7 +11771,7 @@ fi
+   # Append ld.so.conf contents to the search path
+   if test -f /etc/ld.so.conf; then
+     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
++    sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64 $lt_ld_extra"
+   fi
+ 
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
diff --git a/SPECS/libtasn1.spec b/SPECS/libtasn1.spec
new file mode 100644
index 0000000..4e1c944
--- /dev/null
+++ b/SPECS/libtasn1.spec
@@ -0,0 +1,244 @@
+Summary:	The ASN.1 library used in GNUTLS
+Name:		libtasn1
+Version:	3.3
+Release:	1%{?dist}
+
+# The libtasn1 library is LGPLv2+, utilities are GPLv3+
+License:	GPLv3+ and LGPLv2+
+Group:		System Environment/Libraries
+URL:		http://www.gnu.org/software/libtasn1/
+Source0:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
+Source1:	http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
+Patch1:		libtasn1-2.12-rpath.patch
+BuildRequires:	bison, pkgconfig
+%ifarch %ix86 x86_64 ppc ppc64
+BuildRequires:	valgrind
+%endif
+# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
+Provides: bundled(gnulib) = 20120913
+
+%package devel
+Summary:	Files for development of applications which will use libtasn1
+Group:		Development/Libraries
+Requires:	%name = %version-%release
+Requires:	pkgconfig
+Requires(post):		/sbin/install-info
+Requires(postun):	/sbin/install-info
+
+
+%package tools
+Summary:	Some ASN.1 tools
+Group:		Applications/Text
+License:	GPLv3+
+Requires:	%name = %version-%release
+
+
+%description
+A library that provides Abstract Syntax Notation One (ASN.1, as specified
+by the X.680 ITU-T recommendation) parsing and structures management, and
+Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
+
+%description devel
+This package contains files for development of applications which will
+use libtasn1.
+
+
+%description tools
+This package contains simple tools that can decode and encode ASN.1
+data.
+
+
+%prep
+%setup -q
+
+%patch1 -p1 -b .rpath
+
+%build
+%configure --disable-static --disable-silent-rules
+
+make %{?_smp_mflags}
+
+
+%install
+make DESTDIR="$RPM_BUILD_ROOT" install
+
+rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
+
+
+%check
+make check
+
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%post devel
+test -f %_infodir/%name.info.gz && \
+	/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
+
+%preun devel
+test "$1" = 0 -a -f %_infodir/%name.info.gz && \
+	/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
+
+%files
+%defattr(-,root,root,-)
+%doc doc/TODO doc/*.pdf
+%doc AUTHORS COPYING* NEWS README THANKS
+%_libdir/*.so.6*
+
+%files tools
+%defattr(-,root,root,-)
+%_bindir/asn1*
+%_mandir/man1/asn1*
+
+%files devel
+%defattr(-,root,root,-)
+%_libdir/*.so
+%_libdir/pkgconfig/*.pc
+%_includedir/*
+%_infodir/*.info.*
+%_mandir/man3/*asn1*
+
+
+%changelog
+* Mon Mar 25 2013 Tomáš Mráz <tmraz@redhat.com> - 3.3-1
+- new upstream release
+- improved description
+
+* Thu Mar  7 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-3
+- drop the temporary compat libtasn1
+
+* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-2
+- now with temporary compat libtasn1 taken from old build
+
+* Tue Feb  5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1
+- new upstream release
+- SONAME bumped
+
+* Fri Nov  9 2012 Tomas Mraz <tmraz@redhat.com> - 2.14-1
+- new upstream release
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon Jun 18 2012 Tomas Mraz <tmraz@redhat.com> - 2.13-1
+- new upstream release
+
+* Tue Mar 20 2012 Tomas Mraz <tmraz@redhat.com> - 2.12-1
+- new upstream release
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Aug 3 2010 Tomas Mraz <tmraz@redhat.com> - 2.7-1
+- new upstream release
+
+* Thu Jan 28 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-2
+- drop superfluous rpath
+
+* Mon Jan 18 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-1
+- new upstream release
+
+* Mon Jan 11 2010 Tomas Mraz <tmraz@redhat.com> - 2.3-2
+- no longer ignore make check result on ppc64
+
+* Tue Aug 11 2009 Tomas Mraz <tmraz@redhat.com> - 2.3-1
+- updated to new upstream version
+- fix warnings when installed with --excludedocs (#515950)
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri May 29 2009 Tomas Mraz <tmraz@redhat.com> - 2.2-1
+- updated to new upstream version
+- SMP build should work now
+- drop fix for spurious rpath - no longer necessary
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Tue Jan 27 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.8-1
+- updated to 1.8
+- updated URLs
+- disabled SMP builds for now
+
+* Fri Dec 12 2008 Caolán McNamara <caolanm@redhat.com> - 1.7-2
+- rebuild to get provides pkgconfig(libtasn1)
+
+* Fri Nov 21 2008 Tomas Mraz <tmraz@redhat.com> - 1.7-1
+- updated to new upstream version
+
+* Tue Sep 30 2008 Tomas Mraz <tmraz@redhat.com> - 1.5-1
+- updated to new upstream version
+- fix license tag
+- fix spurious rpath in the tool binaries
+
+* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
+- fix license tag
+
+* Thu Jun  5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4-1
+- updated to new upstream version
+
+* Wed Feb 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.3-1
+- updated to 1.3 (#426488, #431334)
+- use wrapper around libtasn1-config which should make it multilib
+  safe (#342411); this implies an untagged 'Requires: pkgconfig' for
+  -devel now
+- conditionalized BR of valgrind (#401041)
+
+* Mon Sep  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.1-1
+- updated to 1.1
+- workaround 'make check' errors on ppc64
+
+* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.10-1
+- updated to 0.3.10
+
+* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.9-1
+- updated to 0.3.9
+
+* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.8-1
+- updated to 0.3.8
+
+* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.6-1
+- updated to 0.3.6
+- BR valgrind
+
+* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1
+- updated to 0.3.5
+
+* Sat Jun  3 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.4-1
+- updated to 0.3.4
+
+* Sun Mar 26 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.2-1
+- updated to 0.3.2
+- added -tools subpackage
+
+* Wed Mar  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.1-1
+- updated to 0.3.1
+
+* Mon Mar  6 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.0-1
+- updated to 0.3.0
+- removed unneeded curlies
+- created -devel subpackage
+
+* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
+- rebuild on all arches
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
+* Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1
+- updated to 0.2.6
+
+* Mon Aug  4 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.5-0.fdr.1
+- updated to 0.2.5
+- changed license to LGPL
+- rearranged %%check to reflect execution order
+- minor cosmetical changes
+
+* Tue Jun 10 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 0:0.2.4-0.fdr.1
+- Initial build.