diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9e7655a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/sdoc-0.4.1.gem
diff --git a/.rh-ror42-rubygem-sdoc.metadata b/.rh-ror42-rubygem-sdoc.metadata
new file mode 100644
index 0000000..16d831d
--- /dev/null
+++ b/.rh-ror42-rubygem-sdoc.metadata
@@ -0,0 +1 @@
+b18217b049af17e41bcb18941d43490bb5051d0a SOURCES/sdoc-0.4.1.gem
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/rubygem-sdoc-version-option-fix.patch b/SOURCES/rubygem-sdoc-version-option-fix.patch
new file mode 100644
index 0000000..da661f2
--- /dev/null
+++ b/SOURCES/rubygem-sdoc-version-option-fix.patch
@@ -0,0 +1,19 @@
+diff --git a/bin/sdoc b/bin/sdoc
+index 78640fe..0ba391d 100755
+--- a/bin/sdoc
++++ b/bin/sdoc
+@@ -1,6 +1,11 @@
+ #!/usr/bin/env ruby -KU
+ require 'sdoc'
+
++if ARGV.include? '--version'
++ puts "sdoc #{SDoc::VERSION}"
++ exit 0
++end
++
+ begin
+ ARGV.unshift('--format=sdoc') if ARGV.grep(/\A(-f|--fmt|--format|-r|-R|--ri|--ri-site)\b/).empty?
+ r = RDoc::RDoc.new
+
+
+
diff --git a/SOURCES/sdoc-merge.1 b/SOURCES/sdoc-merge.1
new file mode 100644
index 0000000..b9f5605
--- /dev/null
+++ b/SOURCES/sdoc-merge.1
@@ -0,0 +1,57 @@
+'\" t
+.\" Title: sdoc-merge
+.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
+.\" Generator: DocBook XSL Stylesheets v1.78.1
+.\" Date: 08/06/2013
+.\" Manual: \ \&
+.\" Source: \ \&
+.\" Language: English
+.\"
+.TH "SDOC\-MERGE" "1" "08/06/2013" "\ \&" "\ \&"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+sdoc-merge \- a command line tool to merge multiple sdoc folders into a single documentation site
+.SH "SYNOPSIS"
+.sp
+\fBsdoc\-merge\fR [\fIOPTIONS\fR] \fIDIRECTORIES\fR
+.SH "DESCRIPTION"
+.sp
+sdoc\-merge is a command line tool to merge multiple sdoc folders into a single documentation site\&. It\(cqs part of SDoc, see "man sdoc" for more details\&.
+.sp
+Example:
+.sp
+sdoc\-merge \-\-title "Ruby v1\&.9, Rails v2\&.3\&.2\&.1" \-\-op merged \-\-names "Ruby,Rails" ruby\-v1\&.9 rails\-v2\&.3\&.2\&.1
+.SH "OPTIONS"
+.PP
+\fB\-n, \-\-names\fR \fI[NAMES]\fR
+.RS 4
+Set the output directory
+.RE
+.PP
+\fB\-o, \-\-op\fR \fI[DIRECTORY]\fR
+.RS 4
+Set the output directory
+.RE
+.PP
+\fB\-t, \-\-title\fR \fI[TITLE]\fR
+.RS 4
+Set the title of merged file
+.RE
diff --git a/SOURCES/sdoc.1 b/SOURCES/sdoc.1
new file mode 100644
index 0000000..44a01d0
--- /dev/null
+++ b/SOURCES/sdoc.1
@@ -0,0 +1,44 @@
+'\" t
+.\" Title: sdoc
+.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
+.\" Generator: DocBook XSL Stylesheets v1.78.1
+.\" Date: 08/06/2013
+.\" Manual: \ \&
+.\" Source: \ \&
+.\" Language: English
+.\"
+.TH "SDOC" "1" "08/06/2013" "\ \&" "\ \&"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+sdoc \- RDoc generator to build searchable HTML documentation for Ruby code
+.SH "SYNOPSIS"
+.sp
+\fBsdoc\fR [\fIOPTIONS\fR] \fIPROJECTDIR\fR
+.SH "DESCRIPTION"
+.sp
+SDoc is simply a wrapper for the rdoc command line tool\&. See "sdoc \-\-help" for more details\&. \fI\-\-fmt\fR is set to shtml by default\&. The default template \fI\-T\fR is shtml, but you can also use the direct template\&.
+.sp
+Example:
+.sp
+sdoc \-o doc/rails \-T direct rails
+.SH "OPTIONS"
+.sp
+See "sdoc \-\-help" to see all the available options\&.
diff --git a/SPECS/rubygem-sdoc.spec b/SPECS/rubygem-sdoc.spec
new file mode 100644
index 0000000..50c5ac4
--- /dev/null
+++ b/SPECS/rubygem-sdoc.spec
@@ -0,0 +1,158 @@
+%{?scl:%scl_package rubygem-%{gem_name}}
+%{!?scl:%global pkg_name %{name}}
+
+# Generated from sdoc-0.3.20.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name sdoc
+
+Name: %{?scl_prefix}rubygem-%{gem_name}
+Version: 0.4.1
+Release: 6%{?dist}
+Summary: RDoc generator to build searchable HTML documentation for Ruby code
+Group: Development/Languages
+# License needs to take RDoc and Darkfish into account apparantly
+# https://github.com/voloko/sdoc/issues/27
+# SDoc itself is MIT, RDoc part is (GPLv2 or Ruby) and Darkfish is BSD
+License: MIT and (GPLv2 or Ruby) and BSD
+URL: http://github.com/voloko/sdoc
+# Let's build the gem on the latest stable release to avoid confusion
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Man pages
+# https://github.com/voloko/sdoc/pull/49
+Source1: sdoc.1
+Source2: sdoc-merge.1
+# Fix sdoc --version to return the correct version
+Patch0: rubygem-sdoc-version-option-fix.patch
+
+Requires: %{?scl_prefix_ruby}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(rubygems) >= 1.3.6
+Requires: %{?scl_prefix_ruby}rubygem(rdoc) => 4.0
+Requires: %{?scl_prefix_ruby}rubygem(rdoc) < 5
+Requires: %{?scl_prefix_ruby}rubygem(json) < 2
+Requires: %{?scl_prefix_ruby}rubygem(json) >= 1.7.7
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildArch: noarch
+Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+
+%description
+SDoc is simply a wrapper for the rdoc command line tool.
+
+%package doc
+Summary: Documentation for %{pkg_name}
+Group: Documentation
+Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{pkg_name}.
+
+%prep
+%{?scl:scl enable %{scl} - << \EOF}
+gem unpack %{SOURCE0}
+%{?scl:EOF}
+
+%setup -q -D -T -n %{gem_name}-%{version}
+
+%{?scl:scl enable %{scl} - << \EOF}
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+%{?scl:EOF}
+
+%patch0 -p1
+
+%build
+%{?scl:scl enable %{scl} - << \EOF}
+gem build %{gem_name}.gemspec
+%gem_install
+%{?scl:EOF}
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+mkdir -p %{buildroot}%{_bindir}
+cp -pa .%{_bindir}/* \
+ %{buildroot}%{_bindir}/
+
+# Install man pages into appropriate place.
+mkdir -p %{buildroot}%{_mandir}/man1
+mv %{SOURCE1} %{buildroot}%{_mandir}/man1
+mv %{SOURCE2} %{buildroot}%{_mandir}/man1
+
+find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
+find %{buildroot}%{gem_instdir}/lib/rdoc/generator/template -type f | xargs chmod a-x
+
+%check
+pushd .%{gem_instdir}
+# Get rid of Bundler
+sed -i "s/require 'bundler\/setup'//" ./spec/spec_helper.rb
+# To run the tests using minitest 5
+%{?scl:scl enable %{scl} - << \EOF}
+set -e
+ruby -rminitest/autorun -Ilib - << \EOR
+ Test = Minitest
+ Dir.glob "./spec/*.rb", &method(:require)
+EOR
+%{?scl:EOF}
+popd
+
+%files
+%dir %{gem_instdir}
+%{_bindir}/sdoc
+%{_bindir}/sdoc-merge
+%{gem_instdir}/bin
+%{gem_libdir}
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/.travis.yml
+%exclude %{gem_instdir}/.gitignore
+%{gem_spec}
+%doc %{gem_instdir}/LICENSE
+%doc %{_mandir}/man1/sdoc-merge.1*
+%doc %{_mandir}/man1/sdoc.1*
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Gemfile
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_instdir}/Rakefile
+%{gem_instdir}/spec
+
+%changelog
+* Wed Apr 06 2016 Pavel Valena - 0.4.1-6
+- Fix: build should fail on test failure
+
+* Wed Mar 02 2016 Pavel Valena - 0.4.1-5
+- Rebuilt for rh-ror42
+
+* Mon Aug 18 2014 Josef Stribny - 0.4.1-1
+- Update to 0.4.1
+
+* Fri Mar 21 2014 Vít Ondruch - 0.4.0-4
+- Rebuid against new scl-utils to depend on -runtime package.
+ Resolves: rhbz#1069109
+
+* Mon Jan 27 2014 Vít Ondruch - 0.4.0-3
+- Fix ruby200 scl dependencies.
+
+* Fri Jan 24 2014 Josef Stribny - 0.4.0-2
+- Fix disttag
+
+* Mon Nov 25 2013 Josef Stribny - 0.4.0-1
+- Update to sdoc 0.4.0
+- Run tests
+- Fix changelog
+
+* Mon Nov 25 2013 Josef Stribny - 0.4.0-2.rc1
+- Convert to scl
+
+* Wed Nov 06 2013 Josef Stribny - 0.4.0-1.rc1
+- sdoc 0.4.0 git pre-release to support RDoc 4.0
+
+* Tue Aug 06 2013 Josef Stribny - 0.3.20-2
+- Add man pages
+
+* Tue Jul 30 2013 Josef Stribny - 0.3.20-1
+- Initial package