package init

This commit is contained in:
ztzt 2021-05-17 17:47:01 +08:00
parent e7e7875b23
commit 859e8a89ee
2 changed files with 45 additions and 0 deletions

45
XmlSchema.spec Normal file
View 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

Binary file not shown.