diff --git a/xmpcore-5.1.2-sources.jar b/xmpcore-5.1.2-sources.jar
new file mode 100644
index 0000000..1a5e819
Binary files /dev/null and b/xmpcore-5.1.2-sources.jar differ
diff --git a/xmpcore-5.1.2.pom b/xmpcore-5.1.2.pom
new file mode 100644
index 0000000..29b79e6
--- /dev/null
+++ b/xmpcore-5.1.2.pom
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+
+ com.adobe.xmp
+ xmpcore
+ 5.1.2
+
+ XMP Library for Java
+
+ The XMP Library for Java is based on the C++ XMPCore library
+ and the API is similar.
+
+ http://www.adobe.com/devnet/xmp.html
+
+
+
+ The BSD License
+ http://www.adobe.com/devnet/xmp/library/eula-xmp-library-java.html
+ repo
+
+
+
+
+
+ Adobe Systems, Inc.
+ http://www.adobe.com/
+
+
+
+
+ scm:local:/src/xmp:xmpcore
+ http://www.adobe.com/devnet/xmp.html
+
+
+
+
diff --git a/xmpcore-BSD-License.txt b/xmpcore-BSD-License.txt
new file mode 100644
index 0000000..43029dd
--- /dev/null
+++ b/xmpcore-BSD-License.txt
@@ -0,0 +1,32 @@
+The BSD License
+
+Copyright (c) 1999 - 2010, Adobe Systems Incorporated
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the following
+conditions are met:
+
+* Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+* Neither the name of Adobe Systems Incorporated, nor the names of its
+contributors may be used to endorse or promote products derived from this
+software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/xmpcore.spec b/xmpcore.spec
new file mode 100644
index 0000000..52922c6
--- /dev/null
+++ b/xmpcore.spec
@@ -0,0 +1,48 @@
+Name: xmpcore
+Version: 5.1.2
+Release: 1
+Summary: Java XMP Library
+License: BSD
+URL: http://www.adobe.com/devnet/xmp.html
+Source0: https://repo1.maven.org/maven2/com/adobe/xmp/xmpcore/%{version}/xmpcore-%{version}-sources.jar
+Source1: https://repo1.maven.org/maven2/com/adobe/xmp/xmpcore/%{version}/xmpcore-%{version}.pom
+# from http://download.macromedia.com/pub/developer/xmp/sdk/XMP-Toolkit-SDK-5.1.2.zip
+Source2: xmpcore-BSD-License.txt
+
+BuildRequires: buildnumber-maven-plugin maven-local
+BuildArch: noarch
+
+%description
+The XMP Library for Java is based on the
+C++ XMPCore library and the API is similar.
+
+%package javadoc
+Summary: Javadoc for %{name}
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -c
+mkdir -p src/main/java
+mv com src/main/java
+rm -r META-INF
+cp -p %{SOURCE1} pom.xml
+cp -p %{SOURCE2} BSD-License.txt
+sed -i 's/\r//' BSD-License.txt
+%mvn_file : %{name}
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%license BSD-License.txt
+
+%files javadoc -f .mfiles-javadoc
+%license BSD-License.txt
+
+%changelog
+* Fri Aug 14 2020 maminjie - 5.1.2-1
+- package init
diff --git a/xmpcore.yaml b/xmpcore.yaml
new file mode 100644
index 0000000..a736f7f
--- /dev/null
+++ b/xmpcore.yaml
@@ -0,0 +1,4 @@
+version_control: github
+src_repo: drewnoakes/adobe-xmp-core
+tag_prefix: "^"
+seperator: "."