48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
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 javadoc
|
|
Summary: Javadoc for xsom
|
|
|
|
%description javadoc
|
|
This package contains javadoc 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 javadoc -f .mfiles-javadoc
|
|
%doc license.txt
|
|
|
|
%changelog
|
|
* Thu Jun 11 2020 leiju <leiju4@huawei.com> - 0-1
|
|
- Package init
|