diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5d246ba
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/gyp-0.1-svn1617.tar.bz2
diff --git a/.rh-nodejs6-gyp.metadata b/.rh-nodejs6-gyp.metadata
new file mode 100644
index 0000000..43780ec
--- /dev/null
+++ b/.rh-nodejs6-gyp.metadata
@@ -0,0 +1 @@
+cf2e06083bdd1881ad5e0a25e2e843253712189e SOURCES/gyp-0.1-svn1617.tar.bz2
diff --git a/README.md b/README.md
deleted file mode 100644
index 98f42b4..0000000
--- a/README.md
+++ /dev/null
@@ -1,4 +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/gyp-rpmoptflags.patch b/SOURCES/gyp-rpmoptflags.patch
new file mode 100644
index 0000000..b2246e8
--- /dev/null
+++ b/SOURCES/gyp-rpmoptflags.patch
@@ -0,0 +1,32 @@
+diff -pruN gyp.orig/pylib/gyp/generator/make.py gyp/pylib/gyp/generator/make.py
+--- gyp.orig/pylib/gyp/generator/make.py	2011-08-23 16:47:59.000000000 +0900
++++ gyp/pylib/gyp/generator/make.py	2011-08-23 17:31:13.000000000 +0900
+@@ -1554,6 +1554,7 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)
+     # Write configuration-specific variables for CFLAGS, etc.
+     for configname in sorted(configs.keys()):
+       config = configs[configname]
++      rpmoptflags = ['$(RPM_OPT_FLAGS)']
+       self.WriteList(config.get('defines'), 'DEFS_%s' % configname, prefix='-D',
+           quoter=EscapeCppDefine)
+ 
+@@ -1565,8 +1566,20 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)
+         cflags_objcc = self.xcode_settings.GetCflagsObjCC(configname)
+       else:
+         cflags = config.get('cflags')
++        if cflags:
++          cflags += rpmoptflags
++        else:
++          cflags = rpmoptflags
+         cflags_c = config.get('cflags_c')
++        if cflags_c:
++          cflags_c += rpmoptflags
++        else:
++          cflags_c = rpmoptflags
+         cflags_cc = config.get('cflags_cc')
++        if cflags_cc:
++          cflags_cc += rpmoptflags
++        else:
++          cflags_cc = rpmoptflags
+ 
+       self.WriteLn("# Flags passed to all source files.");
+       self.WriteList(cflags, 'CFLAGS_%s' % configname)
diff --git a/SPECS/gyp.spec b/SPECS/gyp.spec
new file mode 100644
index 0000000..0ff0eeb
--- /dev/null
+++ b/SPECS/gyp.spec
@@ -0,0 +1,116 @@
+%{?scl:%scl_package gyp}
+%{!?scl:%global pkg_name %{name}}
+
+%global		revision	1617
+%{expand:	%%global	archivename	gyp-%{version}%{?revision:-svn%{revision}}}
+%if !(0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
+
+Name:		%{?scl_prefix}gyp
+Version:	0.1
+Release:	0.11%{?revision:.%{revision}svn}%{?dist}
+Summary:	Generate Your Projects
+
+Group:		Development/Tools
+License:	BSD
+URL:		http://code.google.com/p/gyp/
+# No released tarball avaiable. so the tarball was generated
+# from svn as following:
+#
+# 1. svn co http://gyp.googlecode.com/svn/trunk gyp
+# 2. cd gyp
+# 3. version=$(grep version= setup.py|cut -d\' -f2)
+# 4. revision=$(svn info|grep -E "^Revision:"|cut -d' ' -f2)
+# 5. tar -a --exclude-vcs -cf /tmp/gyp-$version-svn$revision.tar.bz2 *
+Source0:	%{archivename}.tar.bz2
+Patch0:		gyp-rpmoptflags.patch
+
+BuildRequires:	python2-devel
+BuildArch:	noarch
+
+%{?scl:BuildRequires: %{scl}-runtime}
+%{?scl:Requires: %{scl}-runtime}
+
+%description
+GYP is a tool to generates native Visual Studio, Xcode and SCons
+and/or make build files from a platform-independent input format.
+
+Its syntax is a universal cross-platform build representation
+that still allows sufficient per-platform flexibility to accommodate
+irreconcilable differences.
+
+%prep
+%setup -q -c -n %{archivename}
+%patch0 -p1 -b .0-rpmoptflags
+for i in $(find pylib -name '*.py'); do
+	sed -e '\,#![ \t]*/.*python,{d}' $i > $i.new && touch -r $i $i.new && mv $i.new $i
+done
+
+%build
+%{?scl:scl enable %{scl} "}
+%{__python} setup.py build
+%{?scl:"}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{?scl:scl enable %{scl} "}
+%{__python} setup.py install --root $RPM_BUILD_ROOT --skip-build \
+    --prefix %{_prefix}
+%{?scl:"}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS LICENSE
+%{_bindir}/gyp
+%{?scl:%_scl_root}%{python_sitelib}/*
+
+%changelog
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.11.1617svn
+ 85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue Apr 23 2013 Akira TAGOH <tagoh@redhat.com> - 0.1-0.10.1617svn
+ 91 - Rebase to r1617
+
+* Mon Apr 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1-0.9.1010svn
+- Add SCL runtime to Requires as well
+
+* Mon Apr 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1-0.8.1010svn
+- Add conditional BR on SCL runtime
+
+* Fri Apr 05 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1-0.7.1010svn
+- Add support for software collections
+
+* Tue Feb 12 2013 Akira TAGOH <tagoh@redhat.com> - 0.1-0.9.1569svn
+- Rebase to r1569 (#908983)
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.8.1010svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.7.1010svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Aug 23 2011 Akira TAGOH <tagoh@redhat.com> - 0.1-0.6.1010svn
+- Rebase to r1010.
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.5.840svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Aug 20 2010 Akira TAGOH <tagoh@redhat.com> - 0.1-0.4.840svn
+- Rebase to r840.
+- generate Makefile with RPM_OPT_FLAGS in CCFLAGS.
+
+* Fri Aug  6 2010 Akira TAGOH <tagoh@redhat.com> - 0.1-0.3.839svn
+- Drop the unnecessary macro.
+
+* Thu Aug  5 2010 Akira TAGOH <tagoh@redhat.com. - 0.1-0.2.839svn
+- Update the spec file according to the suggestion in rhbz#621242.
+
+* Wed Aug  4 2010 Akira TAGOH <tagoh@redhat.com> - 0.1-0.1.839svn
+- Initial packaging.