diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..197b461
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/1.2.1.tar.gz
diff --git a/.jaf.metadata b/.jaf.metadata
new file mode 100644
index 0000000..e28caa8
--- /dev/null
+++ b/.jaf.metadata
@@ -0,0 +1 @@
+5e47e6a48553033ca43ea1b7e09ff532ddc701be SOURCES/1.2.1.tar.gz
diff --git a/SPECS/jaf.spec b/SPECS/jaf.spec
new file mode 100644
index 0000000..1ea8bd9
--- /dev/null
+++ b/SPECS/jaf.spec
@@ -0,0 +1,80 @@
+Name: jaf
+Version: 1.2.1
+Release: 3%{?dist}
+Summary: JavaBeans Activation Framework
+
+License: BSD
+URL: https://github.com/eclipse-ee4j/jaf
+
+Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: maven-local
+BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
+BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
+BuildRequires: mvn(org.commonjava.maven.plugins:directory-maven-plugin)
+BuildRequires: mvn(org.eclipse.ee4j:project:pom:)
+
+%description
+The JavaBeans Activation Framework (JAF) is a standard extension to the
+Java platform that lets you take advantage of standard services to:
+determine the type of an arbitrary piece of data; encapsulate access to it;
+discover the operations available on it; and instantiate the appropriate
+bean to perform the operation(s).
+
+%package javadoc
+Summary: Javadoc for %{name}
+
+%description javadoc
+%{summary}.
+
+%prep
+%setup -q
+
+%pom_disable_module demo
+
+%pom_remove_plugin :maven-javadoc-plugin activation
+%pom_remove_plugin :osgiversion-maven-plugin
+
+# maven-dependency-plugin doesn't work correctly without access to remote repos
+%pom_remove_plugin :maven-dependency-plugin activationapi
+mkdir -p %{_builddir}/%{name}-%{version}/activationapi/target/sources/
+cp -r %{_builddir}/%{name}-%{version}/activation/src/main/java/javax/ %{_builddir}/%{name}-%{version}/activationapi/target/sources/
+%pom_xpath_inject "/pom:project" "
+
+ com.sun.activation
+ jakarta.activation
+ 1.2.1
+
+" "activationapi/pom.xml"
+
+%build
+%mvn_build -- -Dactivation.osgiversion=1.2.1
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%license LICENSE.md
+%license NOTICE.md
+%doc README.md
+
+%files javadoc -f .mfiles-javadoc
+%license LICENSE.md
+%license NOTICE.md
+%doc README.md
+
+%changelog
+* Tue May 28 2019 Jie Kang - 1.2.1-3
+- Remove osgiversion-maven-plugin build requirement
+- Remove javadoc plugin not needed in Fedora builds
+
+* Thu Nov 22 2018 Salman Siddiqui - 1.2.1-2
+- Use official version 1.2.1 release
+
+* Fri Sep 21 2018 Salman Siddiqui - 1.2.1-1
+- Initial packaging