Name: xsom Version: 0 Release: 1 Summary: XML Schema Object Model License: GPLv2 URL: https://javaee.github.io Source0: https://github.com/kohsuke/xsom/archive/xsom-20110809.tar.gz Source1: http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd Patch0000: xsom-20110809svn-pom.patch BuildRequires: maven-local mvn(junit:junit) relaxngcc BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(relaxngDatatype:relaxngDatatype) BuildArch: noarch %description This package is a Java library that allows applications to easily parse XML Schema documents and inspect information in them. It is expected to be useful for applications that need to take XML Schema as an input. %package help Summary: Help documents for xsom Provides: xsom-javadoc = %{version}-%{release} Obsoletes: xsom-javadoc < %{version}-%{release} %description help This package contains man pages and other related documents for xsom. %prep %autosetup -n xsom-xsom-20110809 -p1 sed -i 's|http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd|file://%{SOURCE1}|' test/XSOMParserTest.java %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc license.txt %files help -f .mfiles-javadoc %doc license.txt %changelog * Thu Jun 11 2020 leiju - 0-1 - Package init