diff --git a/.gitignore b/.gitignore
index e69de29..b48ad38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/stax2-api-3.1.1-sources.jar
diff --git a/sources b/sources
index e69de29..dacf081 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c8acec319425e43d32ca5d64ab7a1a38 stax2-api-3.1.1-sources.jar
diff --git a/stax2-api-3.1.1.pom b/stax2-api-3.1.1.pom
new file mode 100644
index 0000000..25cdaf4
--- /dev/null
+++ b/stax2-api-3.1.1.pom
@@ -0,0 +1,50 @@
+
+
+
+
+
+ 4.0.0
+ org.codehaus.woodstox
+ stax2-api
+ jar
+ Stax2 API
+ 3.1.1
+ Stax2 API is an extension to basic Stax 1.0 API that adds significant new functionality, such as full-featured bi-direction validation interface and high-performance Typed Access API.
+
+
+
+
+
+ http://woodstox.codehaus.org/StAX2
+
+ http://jira.codehaus.org/browse/WSTX
+
+
+
+
+
+
+
+ javax.xml.stream
+ stax-api
+ 1.0-2
+
+
+
+
+
+
+ The BSD License
+ http://www.opensource.org/licenses/bsd-license.php
+ repo
+
+
+
+
+ Codehaus
+ http://www.codehaus.org/
+
+
+
diff --git a/stax2-api.depmap b/stax2-api.depmap
new file mode 100644
index 0000000..5be4e0a
--- /dev/null
+++ b/stax2-api.depmap
@@ -0,0 +1,12 @@
+
+
+
+ javax.xml.stream
+ stax-api
+
+
+ JPP
+ bea-stax-api
+
+
+
diff --git a/stax2-api.spec b/stax2-api.spec
new file mode 100644
index 0000000..a1fcc71
--- /dev/null
+++ b/stax2-api.spec
@@ -0,0 +1,78 @@
+Name: stax2-api
+Version: 3.1.1
+Release: 1%{?dist}
+Summary: Experimental API extending basic StAX implementation
+License: BSD
+Group: Development/Libraries
+
+URL: http://docs.codehaus.org/display/WSTX/StAX2
+
+Source0: http://repository.codehaus.org/org/codehaus/woodstox/%{name}/%{version}/%{name}-%{version}-sources.jar
+Source1: http://repository.codehaus.org/org/codehaus/woodstox/%{name}/%{version}/%{name}-%{version}.pom
+Source2: %{name}.depmap
+
+BuildArch: noarch
+
+BuildRequires: maven-surefire-provider-junit
+BuildRequires: bea-stax-api
+BuildRequires: java-devel
+BuildRequires: maven
+BuildRequires: jpackage-utils
+
+Requires: bea-stax-api
+Requires: jpackage-utils
+Requires: java
+
+%description
+StAX2 is an experimental API that is intended to extend
+basic StAX specifications in a way that allows implementations
+to experiment with features before they end up in the actual
+StAX specification (if they do). As such, it is intended
+to be freely implementable by all StAX implementations same way
+as StAX, but without going through a formal JCP process.
+
+
+%package javadoc
+Summary: API documentation for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -c %{name}
+# fixing incomplete source directory structure
+mkdir -p src/main/java
+mv -f org src/main/java/
+
+cp %{SOURCE1} pom.xml
+
+%build
+# using bea-stax-api (no pom) instead of stax-api -> depmap needed
+mvn-rpmbuild -Dmaven.local.depmap.file="%{SOURCE2}" install javadoc:aggregate
+
+%install
+# jars
+install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+%files
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Tue Sep 13 2011 Jaromir Capik - 3.1.1-1
+- Initial version