diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1c164f4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/jflex-1.4.3-clean.tar.gz
diff --git a/.rh-maven33-jflex.metadata b/.rh-maven33-jflex.metadata
new file mode 100644
index 0000000..e8f1545
--- /dev/null
+++ b/.rh-maven33-jflex.metadata
@@ -0,0 +1 @@
+4d365c639f42bcd7f7c5b0cc50ad6a29d65c890b SOURCES/jflex-1.4.3-clean.tar.gz
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/create-tarball.sh b/SOURCES/create-tarball.sh
new file mode 100755
index 0000000..81106a8
--- /dev/null
+++ b/SOURCES/create-tarball.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+if [ $# -ne 1 ]; then
+ echo "Usage: ./create-tarball.sh VERSION"
+ exit 1
+fi
+
+VERSION=${1}
+NAME="jflex"
+
+wget http://jflex.de/${NAME}-${VERSION}.tar.gz
+tar xvf ${NAME}-${VERSION}.tar.gz
+
+(
+ cd ${NAME}-${VERSION}
+ find . -name "*.jar" -delete
+ rm -Rf src/java_cup/ examples/
+)
+
+tar czvf ${NAME}-${VERSION}-clean.tar.gz ${NAME}-${VERSION}
+rm -Rf ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
+
diff --git a/SOURCES/jflex-1.4.3.pom b/SOURCES/jflex-1.4.3.pom
new file mode 100644
index 0000000..fdec8b7
--- /dev/null
+++ b/SOURCES/jflex-1.4.3.pom
@@ -0,0 +1,62 @@
+
+ 4.0.0
+ de.jflex
+ jflex
+ jar
+ 1.4.3
+
+
+
+ java_cup
+ java_cup
+
+
+
+ JFlex - The Fast Scanner Generator for Java
+ JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm).
+ JFlex is designed to work together with the LALR parser generator CUP by Scott Hudson, and the Java modification of Berkeley Yacc BYacc/J by Bob Jamison. It can also be used together with other parser generators like ANTLR or as a standalone tool.
+ http://jflex.de/
+ 1998
+
+
+ GNU General Public License
+ http://jflex.de/copying.html#GPL
+ repo
+ The code generated by JFlex inherits the copyright of the specification it was produced from. If it was your specification, you may use the generated code without restriction.
+
+
+
+ scm:svn:http://jflex.svn.sourceforge.net/svnroot/jflex
+ scm:svn:https://jflex.svn.sourceforge.net/svnroot/jflex
+ http://jflex.svn.sourceforge.net/viewvc/jflex/
+
+
+
+ gerwin
+ Gerwin Klein
+ lsf@jflex.de
+
+ architect
+ developer
+
+
+
+
+ SF tracker
+ http://sourceforge.net/tracker/?group_id=14929
+
+
+
+ jflex-announce
+ http://lists.sourceforge.net/lists/listinfo/jflex-announce
+ http://lists.sourceforge.net/lists/listinfo/jflex-announce
+ http://sourceforge.net/mailarchive/forum.php?forum=jflex-announce
+
+
+ jflex-users
+ http://lists.sourceforge.net/lists/listinfo/jflex-users
+ http://lists.sourceforge.net/lists/listinfo/jflex-users
+ http://sourceforge.net/mailarchive/forum.php?forum=jflex-users
+
+
+
diff --git a/SOURCES/jflex-build_xml.patch b/SOURCES/jflex-build_xml.patch
new file mode 100644
index 0000000..f1f5b46
--- /dev/null
+++ b/SOURCES/jflex-build_xml.patch
@@ -0,0 +1,32 @@
+--- src/build.xml.sav 2008-05-28 11:45:28.000000000 +0300
++++ src/build.xml 2010-01-08 12:22:48.820864187 +0200
+@@ -69,6 +69,14 @@
+ classpath=".:${junit.jar}"
+ debug="on" />
+
++
++
++
++
+
+
+
+@@ -89,6 +97,14 @@
+ jarfile="../lib/JFlex.jar"
+ manifest="manifest"/>
+
++
++
++
++
++
+
+
+
diff --git a/SOURCES/jflex-junit-incompatibility.patch b/SOURCES/jflex-junit-incompatibility.patch
new file mode 100644
index 0000000..4f31a05
--- /dev/null
+++ b/SOURCES/jflex-junit-incompatibility.patch
@@ -0,0 +1,12 @@
+diff -Naur jflex-1.4.3.orig/src/JFlex/tests/AllTests.java jflex-1.4.3/src/JFlex/tests/AllTests.java
+--- jflex-1.4.3.orig/src/JFlex/tests/AllTests.java 2009-01-31 09:52:34.000000000 +0100
++++ jflex-1.4.3/src/JFlex/tests/AllTests.java 2012-03-12 13:47:35.835005672 +0100
+@@ -32,7 +32,7 @@
+ public class AllTests {
+
+ public static void main(String[] args) {
+- junit.textui.TestRunner.run(AllTests.class);
++// junit.textui.TestRunner.run(AllTests.class);
+ }
+
+ public static Test suite() {
diff --git a/SOURCES/jflex.1 b/SOURCES/jflex.1
new file mode 100644
index 0000000..be025d3
--- /dev/null
+++ b/SOURCES/jflex.1
@@ -0,0 +1,57 @@
+.TH JFLEX "1" "October 2005"
+.SH NAME
+jflex \- a lexical analyzer generator (also known as scanner generator) for Java
+.SH SYNOPSIS
+.B jflex
+\fI \fR
+.SH DESCRIPTION
+JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm). It is also a rewrite of the very useful tool JLex. JFlex is designed to work together with the LALR parser generator CUP, and the Java modification of Berkeley Yacc BYacc/J. It can also be used together with other parser generators like ANTLR or as a standalone tool.
+
+.SH OPTIONS
+.TP
+\fB\-d\fR
+write generated file to
+.TP
+\fB\-\-skel\fR
+use external skeleton
+.TP
+\fB\-\-switch\fR, \fB\-\-table\fR, \fB\-\-pack\fR
+set default code generation method
+.TP
+\fB\-\-jlex\fR
+strict JLex compatibility
+.TP
+\fB\-\-nomin\fR
+skip minimization step
+.TP
+\fB\-\-nobak\fR
+don't create backup files
+.TP
+\fB\-\-dump\fR
+display transition tables
+.TP
+\fB\-\-dot\fR
+write graphviz .dot files for the generated automata (alpha)
+.TP
+\fB\-\-verbose\fR, \fB\-v\fR
+display generation progress messages (default)
+.TP
+\fB\-\-quiet\fR, \fB\-q\fR
+display errors only
+.TP
+\fB\-\-time\fR
+display generation time statistics
+.TP
+\fB\-\-version\fR
+print the version number of this copy of jflex
+.TP
+\fB\-\-info\fR
+print system + JDK information
+.TP
+\fB\-\-help\fR, \fB\-h\fR
+print this message
+.PP
+
+.SH AUTHOR
+This manual page was written by Wolfgang Baer ,
+for the Debian project (but may be used by others).
diff --git a/SPECS/jflex.spec b/SPECS/jflex.spec
new file mode 100644
index 0000000..0e3883f
--- /dev/null
+++ b/SPECS/jflex.spec
@@ -0,0 +1,265 @@
+%global pkg_name jflex
+%{?scl:%scl_package %{pkg_name}}
+%{?maven_find_provides_and_requires}
+
+%bcond_with bootstrap
+
+Summary: Fast Scanner Generator
+Name: %{?scl_prefix}%{pkg_name}
+Version: 1.4.3
+Release: 20.14%{?dist}
+Epoch: 0
+License: GPL+
+URL: http://jflex.de/
+# ./create-tarball.sh %%{version}
+Source0: %{pkg_name}-%{version}-clean.tar.gz
+Source1: http://repo2.maven.org/maven2/de/jflex/jflex/1.4.3/jflex-1.4.3.pom
+Source4: %{pkg_name}.1
+Source5: create-tarball.sh
+
+Patch0: jflex-build_xml.patch
+Patch1: jflex-junit-incompatibility.patch
+
+# Build-require itself except in bootstrapping mode
+%{!?with_bootstrap:BuildRequires: %{?scl_prefix}jflex}
+
+BuildRequires: %{?scl_prefix_java_common}javapackages-tools
+BuildRequires: %{?scl_prefix_java_common}ant
+BuildRequires: %{?scl_prefix_java_common}junit
+BuildRequires: %{?scl_prefix_java_common}java_cup
+Requires: %{?scl_prefix_java_common}java_cup
+BuildArch: noarch
+
+%description
+JFlex is a lexical analyzer generator (also known as scanner
+generator) for Java, written in Java. It is also a rewrite of the
+very useful tool JLex which was developed by Elliot Berk at Princeton
+University. As Vern Paxson states for his C/C++ tool flex: They do
+not share any code though. JFlex is designed to work together with
+the LALR parser generator CUP by Scott Hudson, and the Java
+modification of Berkeley Yacc BYacc/J by Bob Jamison. It can also be
+used together with other parser generators like ANTLR or as a
+standalone tool.
+
+%package javadoc
+Summary: API documentation for %{pkg_name}
+
+%description javadoc
+This package provides %{summary}.
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+%{?scl:scl enable %{scl} - <<"EOF"}
+set -e -x
+%patch0 -b .sav
+%patch1 -p1 -b .sav
+
+%{__sed} -i 's/\r//' COPYRIGHT
+%{__sed} -i 's|includes="JFlex/\*\*,java_cup/\*\*,skeleton|includes="JFlex/\*\*,skeleton|g' src/build.xml
+%{?scl:EOF}
+
+%build
+%{?scl:scl enable %{scl} - <<"EOF"}
+set -e -x
+
+pushd src
+%if %{with bootstrap}
+# intial build using the autogenerated sym.java LexParse.java and LexScan.java
+# these are created by the jflex ant task which needs to be built first
+export CLASSPATH=$(build-classpath junit java_cup)
+ant jar-bootstrap
+# now that the JFlex.jar has been build we can use jflex ant tasks
+# removing the generated files and rebuilding using the JFlex.jar
+export CLASSPATH=${CLASSPATH}:../lib/JFlex.jar
+%else
+export CLASSPATH=$(build-classpath junit java_cup jflex)
+%endif
+
+ant genclean libclean jar
+javadoc -sourcepath . -d ../api JFlex
+popd
+%{?scl:EOF}
+
+%install
+%{?scl:scl enable %{scl} - <<"EOF"}
+set -e -x
+install -d -m 755 %{buildroot}%{_javadir}
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+install -d -m 755 %{buildroot}%{_mandir}/man1
+install -d -m 755 %{buildroot}%{_datadir}/pixmaps
+
+# jars
+install -p -m 644 lib/JFlex.jar %{buildroot}%{_javadir}/%{pkg_name}.jar
+ln -sf %{pkg_name}.jar %{buildroot}%{_javadir}/JFlex.jar
+
+# pom
+install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{pkg_name}.pom
+%add_maven_depmap
+
+# javadoc
+cp -pr api/* %{buildroot}%{_javadocdir}/%{name}
+
+# manpage
+install -p -m 644 %{SOURCE4} %{buildroot}%{_mandir}/man1
+
+%{?scl:EOF}
+
+
+%files -f .mfiles
+%doc doc
+%doc COPYRIGHT
+%{_javadir}/JFlex.jar
+%{_mandir}/man1/%{pkg_name}.1.gz
+
+%files javadoc
+%doc COPYRIGHT
+%doc %{_javadocdir}/%{name}
+
+
+%changelog
+* Mon Feb 08 2016 Michal Srb - 0:1.4.3-20.14
+- Fix BR on maven-local & co.
+
+* Mon Jan 11 2016 Michal Srb - 0:1.4.3-20.13
+- maven33 rebuild #2
+
+* Sat Jan 09 2016 Michal Srb - 0:1.4.3-20.12
+- maven33 rebuild
+
+* Tue Jan 13 2015 Michael Simacek - 0:1.4.3-20.11
+- Mass rebuild 2015-01-13
+
+* Mon Jan 12 2015 Michael Simacek - 0:1.4.3-20.10
+- BR/R on packages from rh-java-common
+
+* Tue Jan 06 2015 Michael Simacek - 0:1.4.3-20.9
+- Mass rebuild 2015-01-06
+
+* Mon May 26 2014 Mikolaj Izdebski - 0:1.4.3-20.8
+- Mass rebuild 2014-05-26
+
+* Wed Feb 19 2014 Mikolaj Izdebski - 0:1.4.3-20.7
+- Mass rebuild 2014-02-19
+
+* Tue Feb 18 2014 Mikolaj Izdebski - 0:1.4.3-20.6
+- Mass rebuild 2014-02-18
+
+* Tue Feb 18 2014 Mikolaj Izdebski - 0:1.4.3-20.5
+- Remove requires on java
+
+* Mon Feb 17 2014 Michal Srb - 0:1.4.3-20.4
+- SCL-ize BR/R
+
+* Thu Feb 13 2014 Michal Srb - 0:1.4.3-20.3
+- Rebuilt with jflex as a BR
+
+* Thu Feb 13 2014 Mikolaj Izdebski - 0:1.4.3-20.2
+- Rebuild to regenerate auto-requires
+
+* Tue Feb 11 2014 Mikolaj Izdebski - 0:1.4.3-20.1
+- First maven30 software collection build
+
+* Fri Dec 27 2013 Daniel Mach - 01.4.3-20
+- Mass rebuild 2013-12-27
+
+* Thu Oct 24 2013 Mikolaj Izdebski - 0:1.4.3-19
+- Remove desktop files
+
+* Fri Aug 02 2013 Michal Srb - 0:1.4.3-18
+- Add create-tarball.sh script to SRPM
+
+* Fri Jul 12 2013 Mikolaj Izdebski - 0:1.4.3-17
+- Remove workaround for rpm bug #646523
+
+* Fri Jun 28 2013 Mikolaj Izdebski - 0:1.4.3-16
+- Rebuild to regenerate API documentation
+- Resolves: CVE-2013-1571
+
+* Thu Jun 20 2013 Mikolaj Izdebski - 0:1.4.3-15
+- Fix javadoc generation
+- Update to current packaging guidelines
+
+* Thu Jun 20 2013 Michal Srb - 0:1.4.3-14
+- Build from clean tarball
+- Install license file with javadoc package
+
+* Thu Feb 14 2013 Fedora Release Engineering - 0:1.4.3-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Nov 22 2012 Mikolaj Izdebski - 0:1.4.3-12
+- Install Emacs jflex-mode
+
+* Thu Nov 22 2012 Mikolaj Izdebski - 0:1.4.3-11
+- Remove bundled java_cup sources
+- Resolves: rhbz#877051
+
+* Thu Jul 19 2012 Fedora Release Engineering - 0:1.4.3-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Wed May 2 2012 Mikolaj Izdebski - 0:1.4.3-9
+- Fix license tag
+- Import manpage from Debian's jflex 1.4.1-3 (GPL+)
+
+* Thu Apr 19 2012 Jaromir Capik - 0:1.4.3-8
+- Desktop file generated
+- Icon created from the GPL licensed logo
+
+* Mon Mar 12 2012 Jaromir Capik - 0:1.4.3-7
+- Wrapper script generated
+- Minor spec file changes according to the latest guidelines
+
+* Fri Jan 13 2012 Fedora Release Engineering - 0:1.4.3-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Feb 09 2011 Fedora Release Engineering - 0:1.4.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Feb 15 2010 Alexander Kurtakov 0:1.4.3-4
+- Add dependency on java_cup in the maven pom.xml.
+
+* Mon Feb 15 2010 Alexander Kurtakov 0:1.4.3-3
+- Require java_cup.
+
+* Wed Jan 20 2010 Alexander Kurtakov 0:1.4.3-3
+- Provide JFlex.jar.
+- Don't put java_cup classes in the jar.
+
+* Fri Jan 8 2010 Alexander Kurtakov 0:1.4.3-2
+- Add maven pom and depmaps.
+
+* Fri Jan 8 2010 Alexander Kurtakov 0:1.4.3-1
+- Update to 1.4.3.
+
+* Fri Jul 24 2009 Fedora Release Engineering - 0:1.4.1-0.5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering - 0:1.4.1-0.4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Jul 9 2008 Tom "spot" Callaway - 0:1.4.1-0.3
+- drop repotag
+
+* Mon Mar 03 2008 Matt Wringe - 0:1.4.1-0jpp.2
+- Add missing buildrequires on java_cup
+
+* Fri Feb 22 2008 Matt Wringe - 0:1.4.1-0jpp.1
+- Patch build file to allow bootstrap building
+
+* Mon Feb 18 2008 Lubomir Kundrak - 0:1.4.1-0jpp.1
+- Naive attempt to update to newer version
+
+* Mon Apr 02 2007 Matt Wringe - 0:1.3.5-2jpp.2
+- Add patches jflex-CharSet_java.patch and jflex-StateSet_java.patch
+ to allow building with the new gcj
+
+* Mon Feb 12 2007 Matt Wringe - 0:1.3.5-2jpp.1
+- Remove javadoc post and postun sections due to new jpp standard
+- Update makefile patch to compress jar
+- Fix rpmlint issues
+
+* Wed Jan 04 2006 Fernando Nasser - 0:1.3.5-2jpp
+- First JPP 1.7 build
+
+* Wed Nov 16 2005 Ralph Apel - 0:1.3.5-1jpp
+- First JPackage release