add xmlpull

This commit is contained in:
jackie_wu 2021-04-22 17:08:51 +08:00
parent 97b597ed36
commit 02fe7fd06a
2 changed files with 22 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: kxml
Version: 2.3.0
Release: 19
Release: 20
Summary: Small XmlPull compatible parser
License: MIT
URL: http://kxml.sourceforge.net/
@ -8,6 +8,7 @@ Source0: https://iweb.dl.sourceforge.net/project/kxml/kxml2/2.3.0/kxml2-s
Source1: http://repo1.maven.org/maven2/net/sf/kxml/kxml2/%{version}/kxml2-%{version}.pom
Source2: http://repo1.maven.org/maven2/net/sf/kxml/kxml2-min/%{version}/kxml2-min-%{version}.pom
Source3: %{name}-%{version}-OSGI-MANIFEST.MF
Source4: https://repo1.maven.org/maven2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom
Patch0001: 0001-Unbundle-xpp3-classes.patch
@ -36,6 +37,7 @@ ant
jar ufm dist/%{name}2-%{version}.jar %{SOURCE3}
%mvn_artifact %{SOURCE1} dist/%{name}2-%{version}.jar
%mvn_artifact %{SOURCE2} dist/%{name}2-min-%{version}.jar
%mvn_artifact %{SOURCE4} lib/xmlpull_1_1_3_1.jar
%mvn_file :kxml2 kxml/kxml2 kxml
%mvn_file :kxml2-min kxml/kxml2-min kxml-min
@ -48,5 +50,8 @@ jar ufm dist/%{name}2-%{version}.jar %{SOURCE3}
%files help -f .mfiles-javadoc
%changelog
* Thu Apr 22 2021 wutao <wutao61@huawei.com> - 2.3.0-20
- add xmlpull jar
* Tue Feb 18 2020 lihao <lihao129@huawei.com> - 2.3.0-19
- Package init

16
xmlpull-1.1.3.1.pom Normal file
View File

@ -0,0 +1,16 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
<version>1.1.3.1</version>
<name>XML Pull Parsing API</name>
<url>http://www.xmlpull.org</url>
<licenses>
<license>
<name>Public Domain</name>
<url>http://www.xmlpull.org/v1/download/unpacked/LICENSE.txt</url>
</license>
</licenses>
</project>