diff --git a/.cvsignore b/.cvsignore
index e69de29..af00703 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+jruby-src-1.1.1.tar.gz
diff --git a/jruby-add-classpath-for-tests.patch b/jruby-add-classpath-for-tests.patch
new file mode 100644
index 0000000..fcfe78f
--- /dev/null
+++ b/jruby-add-classpath-for-tests.patch
@@ -0,0 +1,14 @@
+--- build.xml.orig 2008-04-23 17:07:21.000000000 -0700
++++ build.xml 2008-04-23 17:12:21.000000000 -0700
+@@ -484,10 +484,11 @@
+
+
+
+
+
++
+
+
+
+
+
diff --git a/jruby-dont-include-dependencies-in-jar.patch b/jruby-dont-include-dependencies-in-jar.patch
new file mode 100644
index 0000000..255d15c
--- /dev/null
+++ b/jruby-dont-include-dependencies-in-jar.patch
@@ -0,0 +1,45 @@
+--- build.xml.orig 2008-04-22 17:22:58.000000000 -0700
++++ build.xml 2008-04-22 17:27:32.000000000 -0700
+@@ -168,34 +168,18 @@
+
+
+
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
++
++
++
++
++
++
++
++
+
+
+
+
+
diff --git a/jruby-fix-jruby-start-script.patch b/jruby-fix-jruby-start-script.patch
new file mode 100644
index 0000000..0d0812b
--- /dev/null
+++ b/jruby-fix-jruby-start-script.patch
@@ -0,0 +1,17 @@
+--- bin/jruby.orig 2008-04-05 17:59:31.000000000 -0700
++++ bin/jruby 2008-04-05 19:01:29.000000000 -0700
+@@ -9,10 +9,14 @@
+ #
+ # JAVA_HOME Must point at your Java Development Kit installation.
+ #
+ # -----------------------------------------------------------------------------
+
++CLASSPATH=$(build-classpath objectweb-asm/asm objectweb-asm/asm-util \
++ objectweb-asm/asm-analysis objectweb-asm/asm-tree joni \
++ joda-time jline bytelist jna-posix jvyamlb)
++
+ cygwin=false
+
+ # ----- Identify OS we are running under --------------------------------------
+ case "`uname`" in
+ CYGWIN*) cygwin=true
diff --git a/jruby-remove-retroweaver-task.patch b/jruby-remove-retroweaver-task.patch
new file mode 100644
index 0000000..63cfabd
--- /dev/null
+++ b/jruby-remove-retroweaver-task.patch
@@ -0,0 +1,15 @@
+--- build.xml 2008-02-10 04:57:50.000000000 -0800
++++ build.xml.patched 2008-03-02 02:27:42.000000000 -0800
+@@ -39,12 +39,10 @@
+
+
+
+
+
+-
+-
+
+
+
+
+
diff --git a/jruby.spec b/jruby.spec
new file mode 100644
index 0000000..30cc688
--- /dev/null
+++ b/jruby.spec
@@ -0,0 +1,189 @@
+Name: jruby
+Version: 1.1.1
+Release: 4%{?dist}
+Summary: Pure Java implementation of the Ruby interpreter
+
+Group: Development/Languages
+License: (CPL or GPLv2+ or LGPLv2+) and ASL 1.1 and MIT and Ruby
+URL: http://jruby.codehaus.org/
+Source0: http://dist.codehaus.org/jruby/jruby-src-1.1.1.tar.gz
+# This patch is Fedora specific; we set up classpath using build-classpath.
+Patch1: jruby-fix-jruby-start-script.patch
+# Temporary until upstream realizes they don't support 1.4 and scraps
+# retroweaver.
+Patch2: jruby-remove-retroweaver-task.patch
+# Disagreements with upstream. They want to bundle binary dependencies
+# into jruby's jar; we don't.
+Patch3: jruby-dont-include-dependencies-in-jar.patch
+# Assuming we want to run the tests.
+Patch5: jruby-add-classpath-for-tests.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: ant >= 1.6
+BuildRequires: ant-junit >= 1.6
+BuildRequires: bsf
+BuildRequires: bytelist
+BuildRequires: java-devel >= 1.5
+BuildRequires: jline
+BuildRequires: jna
+BuildRequires: jna-posix
+BuildRequires: joda-time
+BuildRequires: joni
+BuildRequires: jpackage-utils >= 1.5
+BuildRequires: junit
+BuildRequires: jvyamlb
+BuildRequires: objectweb-asm
+
+Requires: bcel
+Requires: bsf
+Requires: bytelist
+Requires: java >= 1.5
+Requires: jna
+Requires: jna-posix
+Requires: jpackage-utils >= 1.5
+Requires: jvyamlb
+Requires: objectweb-asm
+
+%description
+JRuby is an 100% pure-Java implementation of the Ruby programming
+language.
+
+Features:
+ * A 1.8.5 compatible Ruby interpreter
+ * Most builtin Ruby classes provided
+ * Support for interacting with and defining Java classes from within
+ Ruby
+ * Bean Scripting Framework (BSF) support
+
+
+%package javadoc
+Summary: Javadoc for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description javadoc
+Javadoc for %{name}.
+
+
+%prep
+%setup -q
+%patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch5 -p0
+
+cp build.xml build.xml.orig
+
+# delete binary .jars.
+rm -f build_lib/*.jar
+# there are non-binaries in lib/ as well; leave them alone
+rm -f lib/bsf.jar
+rm -f lib/profile.{jar,properties}
+
+# and replace them with symlinks
+build-jar-repository -s -p build_lib objectweb-asm/asm \
+ objectweb-asm/asm-analysis objectweb-asm/asm-commons \
+ objectweb-asm/asm-tree objectweb-asm/asm-util jline jna \
+ joda-time joni junit bsf jna-posix jvyamlb bytelist
+
+# remove hidden .document files
+find lib/ruby/ -name '*.document' -exec rm -f '{}' \;
+
+# change included stdlib to use jruby rather than some arcane ruby install
+find lib/ruby/ -name '*.rb' -exec sed --in-place "s|^#!/usr/local/bin/ruby|#!/usr/bin/env jruby|" '{}' \;
+
+# remove some random empty files
+rm -f lib/ruby/gems/1.8/gems/rspec-*/spec/spec/runner/{empty_file.txt,resources/a_{foo,bar}.rb}
+
+# archdir on jruby
+mkdir lib/ruby/site_ruby/1.8/java
+
+
+%build
+ant jar
+ant create-apidocs
+
+
+%install
+rm -rf %{buildroot}
+
+# prefix install
+install -p -d -m 755 %{buildroot}%{_libdir}/%{name}
+cp -ar samples/ %{buildroot}%{_libdir}/%{name}/ # samples
+cp -ar lib/ %{buildroot}%{_libdir}/%{name}/ # stdlib + jruby.jar
+cp -ar bin/ %{buildroot}%{_libdir}/%{name}/ # startup scripts
+
+# jar - link to prefix'd jar so that java stuff knows where to look
+install -d -m 755 %{buildroot}%{_javadir}
+ln -s %{_libdir}/%{name}/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# /usr prefix startup scripts
+install -d -m 755 %{buildroot}%{_bindir}
+ln -s %{_libdir}/%{name}/bin/jruby %{buildroot}%{_bindir}/jruby
+ln -s %{_libdir}/%{name}/bin/jirb %{buildroot}%{_bindir}/jirb
+
+# javadoc
+install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
+cp -a docs/api/* %{buildroot}%{_javadocdir}/%{name}-%{version}
+
+
+%check
+# Skip tests as they fail now for some weird reason -- the last test
+# in test/test_backquote.rb fails.
+#ant test-all
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING COPYING.CPL COPYING.GPL COPYING.LGPL
+%doc docs/BeanScriptingFramework docs/CodeConventions.txt
+%doc docs/Glossary.txt docs/Javasupport-highlevel.txt
+%doc docs/Javasupport-lowlevel.txt docs/Javasupport-overview.txt
+%doc docs/README.test docs/release-checklist.txt
+
+%attr(0755,root,root) %{_bindir}/%{name}
+%attr(0755,root,root) %{_bindir}/jirb
+%{_javadir}/%{name}.jar
+%{_libdir}/%{name}
+
+
+%files javadoc
+%defattr(-,root,root,-)
+%{_javadocdir}/%{name}-%{version}
+
+
+%changelog
+* Tue Apr 22 2008 Conrad Meyer - 1.1.1-4
+- Add check section.
+- Removed patches 0 and 4 because they got incorporated in upstream.
+
+* Mon Apr 7 2008 Conrad Meyer - 1.1-3
+- Install all jruby to the prefix libdir/jruby, linking from /usr
+ where needed.
+
+* Sun Apr 6 2008 Conrad Meyer - 1.1-2
+- Add a few missing Requires.
+- Add some things that were missing from CP in the start script.
+
+* Sun Mar 30 2008 Conrad Meyer - 1.1-1
+- Bump to 1.1.
+- Remove binary .jars.
+- Minor cleanups in the specfile.
+- Don't include jruby stdlib (for now).
+
+* Sun Feb 24 2008 Conrad Meyer - 1.1-0.4.20080216svn
+- Bump for 1.1rc2.
+
+* Tue Jan 8 2008 Conrad Meyer - 1.1-0.3.20080108svn
+- Bump for 1.1rc1.
+
+* Sun Dec 9 2007 Conrad Meyer - 1.1-0.2.20071209svn
+- SVN version bump.
+
+* Mon Dec 3 2007 Conrad Meyer - 1.1-0.1.20071203svn
+- Initial package created from ancient jpackage package
diff --git a/sources b/sources
index e69de29..c1fe45e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+94ce5370ada712d2190666bacc6fae21 jruby-src-1.1.1.tar.gz