diff --git a/Office_Open_XML_1st_edition_Part_2__PDF_.zip b/Office_Open_XML_1st_edition_Part_2__PDF_.zip
new file mode 100644
index 0000000000000000000000000000000000000000..ff47360d5f62cfaf86ef2b655ce7adfc81733a29
Binary files /dev/null and b/Office_Open_XML_1st_edition_Part_2__PDF_.zip differ
diff --git a/Office_Open_XML_1st_edition_Part_4__PDF_.zip b/Office_Open_XML_1st_edition_Part_4__PDF_.zip
new file mode 100644
index 0000000000000000000000000000000000000000..4cf34fb83923e983334c46901428192ea40674ec
Binary files /dev/null and b/Office_Open_XML_1st_edition_Part_4__PDF_.zip differ
diff --git a/XAdES.xsd b/XAdES.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..4b74692f85a688ff2a0b92066e854394a72ce9ab
--- /dev/null
+++ b/XAdES.xsd
@@ -0,0 +1,466 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/XAdESv141.xsd b/XAdESv141.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..8cb527978bf8255ab4aee8d87c16b40d9579a37a
--- /dev/null
+++ b/XAdESv141.xsd
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apache-poi-3.14-build.patch b/apache-poi-3.14-build.patch
new file mode 100644
index 0000000000000000000000000000000000000000..fe4bfeaaa6db987667a71c731e594dd7bce40290
--- /dev/null
+++ b/apache-poi-3.14-build.patch
@@ -0,0 +1,20 @@
+--- build.xml.orig 2017-08-18 15:20:46.597557692 +0100
++++ build.xml 2017-08-18 15:21:16.347227377 +0100
+@@ -1670,7 +1670,7 @@
+ description="Generates the API documentation">
+
+
+
+@@ -1878,7 +1878,7 @@
+
+
+
+
diff --git a/apache-poi-3.14-compile-xsds.patch b/apache-poi-3.14-compile-xsds.patch
new file mode 100644
index 0000000000000000000000000000000000000000..7bedf38ab077cedcbe36244dc6bba94956121cfa
--- /dev/null
+++ b/apache-poi-3.14-compile-xsds.patch
@@ -0,0 +1,36 @@
+--- build.xml.orig 2017-08-18 16:29:23.842000853 +0100
++++ build.xml 2017-08-18 16:37:50.969409562 +0100
+@@ -727,15 +727,12 @@
+
+
+
+-
+
+
+
+
+
+
+-
+-
+
+
+
+@@ -755,7 +752,7 @@
+
+
++ classpath="${ooxml.xmlbeans23.jar}"/>
+
+
+
+@@ -786,7 +783,7 @@
+ nopvr="@{nopvr}"
+ >
+
+-
++
+
+
+
diff --git a/apache-poi.spec b/apache-poi.spec
new file mode 100644
index 0000000000000000000000000000000000000000..40b5b82fb2890dea4beb195b89b8b1d01a19b38c
--- /dev/null
+++ b/apache-poi.spec
@@ -0,0 +1,136 @@
+%global reldate 20170915
+Name: apache-poi
+Version: 3.17
+Release: 1
+Summary: The Java API for Microsoft Documents
+License: ASL 2.0 and (CC-BY and CC-BY-SA and W3C) and GPLv3
+URL: http://poi.apache.org/
+Source0: http://archive.apache.org/dist/poi/release/src/poi-src-3.17-20170915.tar.gz
+# These two zip files renamed after download
+#Source1: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20%28PDF%29.zip
+#Source2: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20%28PDF%29.zip
+Source1: Office_Open_XML_1st_edition_Part_4__PDF_.zip
+Source2: Office_Open_XML_1st_edition_Part_2__PDF_.zip
+Source3: http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd
+Source4: http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd
+Source5: http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd
+Source6: http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
+Source7: http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
+Source8: http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
+Patch1: apache-poi-3.14-compile-xsds.patch
+Patch2: apache-poi-3.14-build.patch
+BuildArch: noarch
+BuildRequires: jacoco javapackages-local jmh jmh-generator-annprocess
+BuildRequires: apache-commons-collections4 >= 4.1 apache-commons-codec apache-commons-logging
+BuildRequires: mvn(com.github.virtuald:curvesapi) mvn(dom4j:dom4j) mvn(junit:junit)
+BuildRequires: mvn(log4j:log4j:1.2.17) mvn(org.apache.ant:ant-junit)
+BuildRequires: mvn(org.apache.santuario:xmlsec) >= 2.0.1 mvn(org.apache.xmlbeans:xmlbeans)
+BuildRequires: mvn(org.bouncycastle:bcpkix-jdk15on) mvn(org.bouncycastle:bcprov-jdk15on)
+BuildRequires: mvn(org.hamcrest:hamcrest-core) mvn(org.ow2.asm:asm-all)
+BuildRequires: mvn(org.slf4j:slf4j-api) mvn(rhino:js)
+BuildRequires: fontconfig liberation-sans-fonts liberation-serif-fonts
+%description
+The Apache POI Project's mission is to create and maintain Java APIs for
+manipulating various file formats based upon the Office Open XML standards
+(OOXML) and Microsoft's OLE 2 Compound Document format (OLE2). In short, you
+can read and write MS Excel files using Java. In addition, you can read and
+write MS Word and MS PowerPoint files using Java. Apache POI is your Java
+Excel solution (for Excel 97-2008). We have a complete API for porting other
+OOXML and OLE2 formats and welcome others to participate.
+OLE2 files include most Microsoft Office files such as XLS, DOC, and PPT as
+well as MFC serialization API based file formats. The project provides APIs
+for the OLE2 Filesystem (POIFS) and OLE2 Document Properties (HPSF).
+Office OpenXML Format is the new standards based XML file format found in
+Microsoft Office 2007 and 2008. This includes XLSX, DOCX and PPTX. The
+project provides a low level API to support the Open Packaging Conventions
+using openxml4j.
+For each MS Office application there exists a component module that attempts
+to provide a common high level Java API to both OLE2 and OOXML document
+formats. This is most developed for Excel workbooks (SS=HSSF+XSSF). Work is
+progressing for Word documents (HWPF+XWPF) and PowerPoint presentations
+(HSLF+XSLF).
+The project has recently added support for Outlook (HSMF). Microsoft opened
+the specifications to this format in October 2007. We would welcome
+contributions.
+There are also projects for Visio (HDGF) and Publisher (HPBF).
+
+%package javadoc
+Summary: Javadoc for %{name}
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n poi-%{version}
+%patch1
+%patch2
+find -name '*.class' -delete
+find -name '*.jar' -delete
+mkdir lib ooxml-lib
+build-jar-repository -s -p lib \
+ ant commons-collections4 commons-codec commons-logging bcprov bcpkix xmlsec slf4j/slf4j-api log4j-1.2.17 \
+ junit hamcrest/core jmh/jmh-core jmh/jmh-generator-annprocess
+build-jar-repository -s -p ooxml-lib dom4j xmlbeans/xbean curvesapi
+pushd ooxml-lib
+unzip "%SOURCE1" OfficeOpenXML-XMLSchema.zip
+unzip "%SOURCE2" OpenPackagingConventions-XMLSchema.zip
+cp -p %SOURCE3 .
+cp -p %SOURCE4 .
+cp -p %SOURCE5 .
+cp -p %SOURCE6 .
+cp -p %SOURCE7 .
+cp -p %SOURCE8 .
+popd
+%pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId ='ant']" \
+ "provided" maven/poi-excelant.pom
+for m in poi poi-excelant poi-examples poi-ooxml poi-ooxml-schemas poi-scratchpad ; do
+%mvn_file org.apache.poi:${m} poi/apache-${m} poi/${m}
+done
+rm src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java \
+ src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetMergeRegions.java
+sed -i '/TestXSSFSheet/d' src/ooxml/testcases/org/apache/poi/xssf/usermodel/AllXSSFUsermodelTests.java
+rm src/ooxml/testcases/org/apache/poi/sl/TestFonts.java
+rm -f src/ooxml/testcases/org/apache/poi/xssf/streaming/TestAutoSizeColumnTracker.java
+rm -f src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFSheet.java
+rm -f src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java
+
+%build
+cat > build.properties <<'EOF'
+main.ant.jar=lib/ant.jar
+main.commons-collections4.jar=lib/commons-collections4.jar
+main.commons-codec.jar=lib/commons-codec.jar
+main.commons-logging.jar=lib/commons-logging.jar
+main.log4j.jar=lib/log4j-1.2.17.jar
+main.junit.jar=lib/junit.jar
+main.jmh.jar=lib/jmh_jmh-core.jar
+main.jmhAnnotation.jar=lib/jmh_jmh-generator-annprocess.jar
+main.hamcrest.jar=lib/hamcrest_core.jar
+ooxml.dom4j.jar=ooxml-lib/dom4j.jar
+ooxml.curvesapi.jar=ooxml-lib/curvesapi.jar
+ooxml.xmlbeans23.jar=ooxml-lib/xmlbeans_xbean.jar
+ooxml.xmlbeans26.jar=ooxml-lib/xmlbeans_xbean.jar
+dsig.xmlsec.jar=lib/xmlsec.jar
+dsig.bouncycastle-prov.jar=lib/bcprov.jar
+dsig.bouncycastle-pkix.jar=lib/bcpkix.jar
+dsig.sl4j-api.jar=lib/slf4j_slf4j-api.jar
+disconnected=1
+DSTAMP=%{reldate}
+EOF
+export ANT_OPTS="-Xmx768m"
+ant -propertyfile build.properties compile-ooxml-xsds jar maven-poms javadocs
+
+%install
+for m in poi poi-excelant poi-examples poi-ooxml poi-ooxml-schemas poi-scratchpad ; do
+%mvn_artifact build/dist/maven/$m/${m}-%{version}.pom build/dist/maven/$m/${m}-%{version}.jar
+done
+%mvn_install -J build/tmp/site/build/site/apidocs
+
+%files -f .mfiles
+%doc KEYS
+%license LICENSE NOTICE
+
+%files javadoc -f .mfiles-javadoc
+%license LICENSE NOTICE
+
+%changelog
+* Thu Aug 13 2020 chengzihan - 3.17-1
+- Package init
diff --git a/apache-poi.yaml b/apache-poi.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c9dec542d3a0664f9523b30a062d1e2c75bcb4dc
--- /dev/null
+++ b/apache-poi.yaml
@@ -0,0 +1,4 @@
+version_control: github
+src_repo: apache/poi
+tag_prefix: "REL_"
+seperator: "_"
diff --git a/dc.xsd b/dc.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..4d5a065a24c799f4c3c30fc793b17a90ba8c3610
--- /dev/null
+++ b/dc.xsd
@@ -0,0 +1,118 @@
+
+
+
+
+
+ DCMES 1.1 XML Schema
+ XML Schema for http://purl.org/dc/elements/1.1/ namespace
+
+ Created 2003-04-02
+
+ Created by
+
+ Tim Cole (t-cole3@uiuc.edu)
+ Tom Habing (thabing@uiuc.edu)
+ Jane Hunter (jane@dstc.edu.au)
+ Pete Johnston (p.johnston@ukoln.ac.uk),
+ Carl Lagoze (lagoze@cs.cornell.edu)
+
+ This schema declares XML elements for the 15 DC elements from the
+ http://purl.org/dc/elements/1.1/ namespace.
+
+ It defines a complexType SimpleLiteral which permits mixed content
+ and makes the xml:lang attribute available. It disallows child elements by
+ use of minOcccurs/maxOccurs.
+
+ However, this complexType does permit the derivation of other complexTypes
+ which would permit child elements.
+
+ All elements are declared as substitutable for the abstract element any,
+ which means that the default type for all elements is dc:SimpleLiteral.
+
+
+
+
+
+
+
+
+
+
+
+
+ This is the default type for all of the DC elements.
+ It permits text content only with optional
+ xml:lang attribute.
+ Text is allowed because mixed="true", but sub-elements
+ are disallowed because minOccurs="0" and maxOccurs="0"
+ are on the xs:any tag.
+
+ This complexType allows for restriction or extension permitting
+ child elements.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This group is included as a convenience for schema authors
+ who need to refer to all the elements in the
+ http://purl.org/dc/elements/1.1/ namespace.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This complexType is included as a convenience for schema authors who need to define a root
+ or container element for all of the DC elements.
+
+
+
+
+
+
+
+
+
+
diff --git a/dcmitype.xsd b/dcmitype.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..54d9da00a863831eb43181e4eb7686c9380f13fc
--- /dev/null
+++ b/dcmitype.xsd
@@ -0,0 +1,50 @@
+
+
+
+
+
+ DCMI Type Vocabulary XML Schema
+ XML Schema for http://purl.org/dc/dcmitype/ namespace
+
+ Created 2003-04-02
+
+ Created by
+
+ Tim Cole (t-cole3@uiuc.edu)
+ Tom Habing (thabing@uiuc.edu)
+ Jane Hunter (jane@dstc.edu.au)
+ Pete Johnston (p.johnston@ukoln.ac.uk),
+ Carl Lagoze (lagoze@cs.cornell.edu)
+
+ This schema defines a simpleType which enumerates
+ the allowable values for the DCMI Type Vocabulary.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/dcterms.xsd b/dcterms.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..0149c6b8320714688615242c0c7c71bf42a68751
--- /dev/null
+++ b/dcterms.xsd
@@ -0,0 +1,331 @@
+
+
+
+
+
+ DCterms XML Schema
+ XML Schema for http://purl.org/dc/terms/ namespace
+
+ Created 2003-04-02
+
+ Created by
+
+ Tim Cole (t-cole3@uiuc.edu)
+ Tom Habing (thabing@uiuc.edu)
+ Jane Hunter (jane@dstc.edu.au)
+ Pete Johnston (p.johnston@ukoln.ac.uk),
+ Carl Lagoze (lagoze@cs.cornell.edu)
+
+ This schema declares XML elements for the DC elements and
+ DC element refinements from the http://purl.org/dc/terms/ namespace.
+
+ It reuses the complexType dc:SimpleLiteral, imported from the dc.xsd
+ schema, which permits simple element content, and makes the xml:lang
+ attribute available.
+
+ This complexType permits the derivation of other complexTypes
+ which would permit child elements.
+
+ DC elements are declared as substitutable for the abstract element dc:any, and
+ DC element refinements are defined as substitutable for the base elements
+ which they refine.
+
+ This means that the default type for all XML elements (i.e. all DC elements and
+ element refinements) is dc:SimpleLiteral.
+
+ Encoding schemes are defined as complexTypes which are restrictions
+ of the dc:SimpleLiteral complexType. These complexTypes restrict
+ values to an appropriates syntax or format using data typing,
+ regular expressions, or enumerated lists.
+
+ In order to specify one of these encodings an xsi:type attribute must
+ be used in the instance document.
+
+ Also, note that one shortcoming of this approach is that any type can be
+ applied to any of the elements or refinements. There is no convenient way
+ to restrict types to specific elements using this approach.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This group is included as a convenience for schema authors
+ who need to refer to all the DC elements and element refinements
+ in the http://purl.org/dc/elements/1.1/ and
+ http://purl.org/dc/terms namespaces.
+ N.B. Refinements available via substitution groups.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This is included as a convenience for schema authors who need to define a root
+ or container element for all of the DC elements and element refinements.
+
+
+
+
+
+
+
+
+
+
diff --git a/poi-src-3.17-20170915.tar.gz b/poi-src-3.17-20170915.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c3137aa1d18bf35c9348d19456876c1dfacb1479
Binary files /dev/null and b/poi-src-3.17-20170915.tar.gz differ
diff --git a/xmldsig-core-schema.xsd b/xmldsig-core-schema.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..df126b30e684091b32a748cd2e408f5fb9d651a9
--- /dev/null
+++ b/xmldsig-core-schema.xsd
@@ -0,0 +1,318 @@
+
+
+
+
+
+ ]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+