diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..51362b0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/jtidy.tar.xz
diff --git a/.rh-maven33-jtidy.metadata b/.rh-maven33-jtidy.metadata
new file mode 100644
index 0000000..e7dc20b
--- /dev/null
+++ b/.rh-maven33-jtidy.metadata
@@ -0,0 +1 @@
+30053d4dcf957c4699ce25a9935d93b7a7982255 SOURCES/jtidy.tar.xz
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/jtidy.jtidy.script b/SOURCES/jtidy.jtidy.script
new file mode 100644
index 0000000..421d5be
--- /dev/null
+++ b/SOURCES/jtidy.jtidy.script
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# JTidy script
+# JPackage Project
+# $Id: jtidy.jtidy.script,v 1.1 2002/08/30 20:27:06 scop Exp $
+
+# Source functions library
+if [ -f /usr/share/java-utils/java-functions ] ; then
+ . /usr/share/java-utils/java-functions
+else
+ echo "Can't find functions library, aborting"
+ exit 1
+fi
+
+# Configuration
+MAIN_CLASS=org.w3c.tidy.Tidy
+BASE_JARS="jtidy"
+
+# Set parameters
+set_jvm
+set_classpath $BASE_JARS
+set_flags $BASE_FLAGS
+set_options $BASE_OPTIONS
+
+# Let's start
+run "$@"
diff --git a/SPECS/jtidy.spec b/SPECS/jtidy.spec
new file mode 100644
index 0000000..705405e
--- /dev/null
+++ b/SPECS/jtidy.spec
@@ -0,0 +1,265 @@
+%global pkg_name jtidy
+%{?scl:%scl_package %{pkg_name}}
+%{?maven_find_provides_and_requires}
+
+%global jtidyversion r938
+
+Name: %{?scl_prefix}%{pkg_name}
+Version: 1.0
+Release: 0.16.20100930svn1125.15%{?dist}
+Epoch: 2
+Summary: HTML syntax checker and pretty printer
+License: zlib
+URL: http://jtidy.sourceforge.net/
+# svn export -r1125 https://jtidy.svn.sourceforge.net/svnroot/jtidy/trunk/jtidy/ jtidy
+# tar caf jtidy.tar.xz jtidy
+Source0: %{pkg_name}.tar.xz
+Source1: %{pkg_name}.jtidy.script
+BuildArch: noarch
+
+BuildRequires: %{?scl_prefix_java_common}javapackages-tools
+BuildRequires: %{?scl_prefix_java_common}ant
+BuildRequires: %{?scl_prefix_java_common}xml-commons-apis
+
+Requires: %{?scl_prefix_java_common}xml-commons-apis
+
+%description
+JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty
+printer. Like its non-Java cousin, JTidy can be used as a tool for
+cleaning up malformed and faulty HTML. In addition, JTidy provides a
+DOM interface to the document that is being processed, which
+effectively makes you able to use JTidy as a DOM parser for real-world
+HTML.
+
+%package javadoc
+Summary: API documentation for %{pkg_name}
+
+%description javadoc
+This package contains %{summary}.
+
+%prep
+%setup -q -n %{pkg_name}
+
+%build
+%{?scl:scl enable %{scl} - <<"EOF"}
+set -e -x
+ant -Dant.build.javac.source=1.4
+%{?scl:EOF}
+
+%install
+%{?scl:scl enable %{scl} - <<"EOF"}
+set -e -x
+# jar
+install -d -m 755 %{buildroot}%{_javadir}
+install -p -m 644 target/%{pkg_name}-%{jtidyversion}.jar %{buildroot}%{_javadir}/%{pkg_name}.jar
+
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{pkg_name}.pom
+%add_maven_depmap -a net.sf.jtidy:%{pkg_name}
+
+# javadoc
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}/
+cp -pr target/javadoc/* %{buildroot}%{_javadocdir}/%{name}/
+
+# shell script
+mkdir -p %{buildroot}%{_bindir}
+cp -ap %{SOURCE1} %{buildroot}%{_bindir}/%{pkg_name}
+
+# ant.d
+mkdir -p %{buildroot}%{_sysconfdir_java_common}/ant.d
+echo "jtidy" > %{buildroot}%{_sysconfdir_java_common}/ant.d/%{pkg_name}
+%{?scl:EOF}
+
+
+%files -f .mfiles
+%doc LICENSE.txt
+%attr(755, root, root) %{_bindir}/*
+%config(noreplace) %{_sysconfdir_java_common}/ant.d/%{pkg_name}
+
+%files javadoc
+%doc LICENSE.txt
+%{_javadocdir}/%{name}
+
+
+%changelog
+* Mon Feb 08 2016 Michal Srb - 2:1.0-0.16.20100930svn1125.15
+- Fix BR on maven-local & co.
+
+* Mon Jan 11 2016 Michal Srb - 2:1.0-0.16.20100930svn1125.14
+- maven33 rebuild #2
+
+* Sat Jan 09 2016 Michal Srb - 2:1.0-0.16.20100930svn1125.13
+- maven33 rebuild
+
+* Thu Jan 15 2015 Michael Simacek - 2:1.0-0.16.20100930svn1125.12
+- Fix manual requires on xml-commons-apis
+
+* Thu Jan 15 2015 Michael Simacek - 2:1.0-0.16.20100930svn1125.11
+- Install ant.d files into rh-java-common's ant.d
+
+* Tue Jan 13 2015 Michael Simacek - 2:1.0-0.16.20100930svn1125.10
+- Mass rebuild 2015-01-13
+
+* Wed Jan 07 2015 Michal Srb - 1.0-0.16.20100930svn1125.9
+- Migrate to .mfiles
+
+* Tue Jan 06 2015 Michael Simacek - 2:1.0-0.16.20100930svn1125.8
+- Mass rebuild 2015-01-06
+
+* Mon May 26 2014 Mikolaj Izdebski - 2:1.0-0.16.20100930svn1125.7
+- Mass rebuild 2014-05-26
+
+* Wed Feb 19 2014 Mikolaj Izdebski - 2:1.0-0.16.20100930svn1125.6
+- Mass rebuild 2014-02-19
+
+* Tue Feb 18 2014 Mikolaj Izdebski - 2:1.0-0.16.20100930svn1125.5
+- Mass rebuild 2014-02-18
+
+* Tue Feb 18 2014 Mikolaj Izdebski - 2:1.0-0.16.20100930svn1125.4
+- Remove requires on java
+
+* Mon Feb 17 2014 Michal Srb - 2:1.0-0.16.20100930svn1125.3
+- SCL-ize BR/R
+
+* Thu Feb 13 2014 Mikolaj Izdebski - 2:1.0-0.16.20100930svn1125.2
+- Rebuild to regenerate auto-requires
+
+* Tue Feb 11 2014 Mikolaj Izdebski - 2:1.0-0.16.20100930svn1125.1
+- First maven30 software collection build
+
+* Fri Dec 27 2013 Daniel Mach - 2:1.0-0.16.20100930svn1125
+- Mass rebuild 2013-12-27
+
+* Fri Jul 12 2013 Mikolaj Izdebski - 2:1.0-0.15.20100930svn1125
+- Update to current packaging guidelines
+
+* Fri Jun 28 2013 Mikolaj Izdebski - 2:1.0-0.14.20100930svn1125
+- Rebuild to regenerate API documentation
+- Resolves: CVE-2013-1571
+
+* Wed Feb 6 2013 Mikolaj Izdebski - 2:1.0-0.13.20100930svn1125
+- Add missing BR and R: xml-commons-apis
+- Resolves: rhbz#908421
+
+* Thu Jul 19 2012 Fedora Release Engineering - 2:1.0-0.12.20100930svn1125
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering - 2:1.0-0.11.20100930svn1125
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Feb 09 2011 Fedora Release Engineering - 2:1.0-0.10.20100930svn1125
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Oct 6 2010 Chris Spike 2:1.0-0.9.20100930svn1125
+- Fixed Obsoletes for jtidy-scripts
+
+* Thu Sep 30 2010 Chris Spike 2:1.0-0.8.20100930svn1125
+- Updated to latest upstream svn revision
+- Installed pom.xml
+- Added 'net.sf.jtidy:jtidy' to maven depmap
+- Added 'jtidy:jtidy' to maven depmap
+
+* Tue Sep 28 2010 Chris Spike 2:1.0-0.7.r938
+- Added ant javac source attribute
+- Removed version from ant build requires
+
+* Tue Sep 28 2010 Chris Spike 2:1.0-0.6.r938
+- Fixed unversioned Obsoletes
+- Fixed wrapper script file permissions
+
+* Mon Sep 27 2010 Chris Spike 2:1.0-0.5.r938
+- Dropped gcj_support
+- Updated to latest upstream version
+- Moved shell script to main package and obsoleted script subpackage
+- Updated description
+- Removed xml-commons-apis and jaxp_parser_impl from requires and build requires
+- Removed xml-commons-apis from ant config file
+
+* Tue Jan 26 2010 Deepak Bhole - 2:1.0-0.3.r7dev.1.5
+- Fixed rhbz#512545 -- updated group
+
+* Fri Jul 24 2009 Fedora Release Engineering - 2:1.0-0.4.r7dev.1.4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Mar 20 2009 Deepak Bhole - 2:1.0-0.3.r7dev.1.4
+- Add patch to set source to 1.4
+
+* Wed Feb 25 2009 Fedora Release Engineering - 2:1.0-0.3.r7dev.1.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Jul 9 2008 Tom "spot" Callaway - 2:1.0-0.2.r7dev.1.3
+- drop repotag
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering - 2:1.0-0.2.r7dev.1jpp.2
+- Autorebuild for GCC 4.3
+
+* Fri Mar 16 2007 Thomas Fitzsimmons - 2:1.0-0.1.r7dev.1jpp.2
+- Remove gnu-crypto build requirement.
+
+* Thu Feb 15 2007 Andrew Overholt 2:1.0-0.1.r7dev.1jpp.1
+- Don't remove JAXP APIs because we don't ship that version of
+ xml-commons-apis anymore.
+
+* Mon Feb 12 2007 Fernando Nasser 1:1.0-0.20000804r7dev.8jpp.1
+- Import
+
+* Mon Feb 12 2007 Fernando Nasser 1:1.0-0.20000804r7dev.8jpp
+- Fix duplicate requires and missing build requires for xml-commons-apis
+
+* Mon Feb 12 2007 Ralph Apel 1:1.0-0.20000804r7dev.7jpp
+- Add gcj_support option
+
+* Thu Jun 01 2006 Fernando Nasser 1:1.0-0.20000804r7dev.6jpp
+- First JPP 1.7 build
+
+* Tue Feb 22 2005 David Walluck 1:1.0-0.20000804r7dev.5jpp
+- add ant conf
+- own non-versioned javadoc symlink
+- Requires: xml-commons-apis
+- use build-classpath
+- macros
+
+* Sun Aug 23 2004 Randy Watler - 1:1.0-0.20000804r7dev.4jpp
+- Rebuild with ant-1.6.2
+
+* Mon May 5 2003 Ville Skyttä - 1:1.0-0.20000804r7dev.3jpp
+- Fix non-versioned javadoc symlinking.
+
+* Mon Apr 21 2003 Ville Skyttä - 1:1.0-0.20000804r7dev.2jpp
+- Rebuild for JPackage 1.5.
+- Fix Group tags.
+- Include non-versioned javadoc symlink.
+- Scripts subpackage.
+
+* Fri Aug 30 2002 Ville Skyttä 1:1.0-0.20000804r7dev.1jpp
+- Change version to 1.0, put revision to release, add Epoch.
+- Don't use included DOM and SAX, require jaxp_parser_impl.
+- Add non-versioned jar symlink.
+- Add shell script.
+- Vendor, Distribution tags.
+
+* Mon Jan 21 2002 Guillaume Rousse 20000804-0.r7dev.5jpp
+- versioned dir for javadoc
+- no dependencies for javadoc package
+- section macro
+
+* Mon Dec 17 2001 Guillaume Rousse 20000804-0.r7dev.4jpp
+- new versioning scheme
+- jar name is now jtidy.jar
+- javadoc in javadoc package
+
+* Wed Nov 21 2001 Christian Zoffoli 04aug2000r7-dev-3jpp
+- new jpp extension
+- compiled with xalan2
+
+* Mon Nov 19 2001 Christian Zoffoli 04aug2000r7-dev-2jpp
+- fixed changelog
+- fixed license
+
+* Mon Nov 19 2001 Christian Zoffoli 04aug2000r7-dev-1jpp
+- r7dev
+
+* Mon Nov 19 2001 Christian Zoffoli 04aug2000r6-1jpp
+- first release