!2 package init
From: @tom-tao Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
253318fad5
45
XmlSchema.spec
Normal file
45
XmlSchema.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
Name: XmlSchema
|
||||||
|
Version: 2.2.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Lightweight schema object model
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://ws.apache.org/xmlschema/
|
||||||
|
BuildArch: noarch
|
||||||
|
Source0: http://archive.apache.org/dist/ws/xmlschema/%{version}/xmlschema-%{version}-source-release.zip
|
||||||
|
BuildRequires: maven-local mvn(com.google.guava:guava-testlib) mvn(junit:junit)
|
||||||
|
BuildRequires: mvn(org.apache:apache:pom:) mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
||||||
|
BuildRequires: mvn(xerces:xercesImpl) mvn(xmlunit:xmlunit)
|
||||||
|
%description
|
||||||
|
Commons XMLSchema is a lightweight schema object model that can be
|
||||||
|
used to manipulate or generate a schema.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n xmlschema-%{version}
|
||||||
|
sed -i -e 's/\r//g' RELEASE-NOTE.txt
|
||||||
|
%pom_disable_module xmlschema-bundle-test
|
||||||
|
%pom_disable_module w3c-testcases
|
||||||
|
%mvn_alias :xmlschema-core org.apache.ws.commons.schema:XmlSchema
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -- -P!sourcecheck
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
%doc README.txt RELEASE-NOTE.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed May 12 2021 xxxxxx <xxxxxx@huawei.com> - 2.2.3-1
|
||||||
|
- package init
|
||||||
BIN
xmlschema-2.2.3-source-release.zip
Normal file
BIN
xmlschema-2.2.3-source-release.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user