commit
76ea218969
BIN
201103.jboss-1.tar.gz
Normal file
BIN
201103.jboss-1.tar.gz
Normal file
Binary file not shown.
37
rngom-201103-pom.patch
Normal file
37
rngom-201103-pom.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
diff -Naur rngom-201103-SNAPSHOT/pom.xml rngom-201103-SNAPSHOT-work/pom.xml
|
||||||
|
--- rngom-201103-SNAPSHOT/pom.xml 2011-04-06 11:33:13.000000000 -0400
|
||||||
|
+++ rngom-201103-SNAPSHOT-work/pom.xml 2012-01-19 11:28:03.124001130 -0500
|
||||||
|
@@ -156,33 +156,6 @@
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
- <artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
- <version>1.6</version>
|
||||||
|
- <executions>
|
||||||
|
- <execution>
|
||||||
|
- <phase>generate-sources</phase>
|
||||||
|
- <configuration>
|
||||||
|
- <tasks>
|
||||||
|
- <taskdef name="licence" classname="com.sun.tools.LicenceTask">
|
||||||
|
- <classpath>
|
||||||
|
- <pathelement path="lib/lic.jar"/>
|
||||||
|
- </classpath>
|
||||||
|
- </taskdef>
|
||||||
|
- <licence licence="licenceheader.txt">
|
||||||
|
- <fileset dir="src" includes="org/kohsuke/rngom/parse/compact/CompactSyntax*.java,
|
||||||
|
- org/kohsuke/rngom/parse/compact/JavaChar*.java,
|
||||||
|
- org/kohsuke/rngom/parse/compact/ParseException.java,
|
||||||
|
- org/kohsuke/rngom/parse/compact/Token*.java"/>
|
||||||
|
- </licence>
|
||||||
|
- </tasks>
|
||||||
|
- </configuration>
|
||||||
|
- <goals>
|
||||||
|
- <goal>run</goal>
|
||||||
|
- </goals>
|
||||||
|
- </execution>
|
||||||
|
- </executions>
|
||||||
|
- </plugin>
|
||||||
|
- <plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
51
rngom.spec
Normal file
51
rngom.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Name: rngom
|
||||||
|
Version: 201103
|
||||||
|
Release: 1
|
||||||
|
Summary: Java library for parsing RELAX NG grammars
|
||||||
|
License: MIT
|
||||||
|
URL: https://java.net/projects/rngom
|
||||||
|
Source0: https://github.com/jboss/rngom/archive/%{version}.jboss-1.tar.gz
|
||||||
|
Patch0: rngom-%{version}-pom.patch
|
||||||
|
BuildRequires: maven-local mvn(com.sun.msv.datatype.xsd:xsdlib) mvn(javax.xml.stream:stax-api)
|
||||||
|
BuildRequires: mvn(junit:junit) mvn(org.apache.maven.plugins:maven-clean-plugin)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) mvn(relaxngDatatype:relaxngDatatype)
|
||||||
|
BuildRequires: mvn(xmlunit:xmlunit)
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
RNGOM is an open-source Java library for parsing RELAX NG grammars.
|
||||||
|
In particular, RNGOM can:
|
||||||
|
* parse the XML syntax
|
||||||
|
* parse the compact syntax
|
||||||
|
* check all the semantic restrictions as specified in the specification
|
||||||
|
* parse RELAX NG into application-defined data structures
|
||||||
|
* build a default data structure based around the binarized simple syntax or
|
||||||
|
another data structure that preserves more of the parsed information
|
||||||
|
* parse foreign elements/attributes in a schema
|
||||||
|
* parse comments in a schema
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for rngom
|
||||||
|
%description javadoc
|
||||||
|
This package contains javadoc for rngom.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n rngom-201103.jboss-1
|
||||||
|
rm -rf www && mv rngom/* . && rm -rf rngom
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license licenceheader.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license licenceheader.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 30 2020 yaokai <yaokai13@huawei.com> - 201103-1
|
||||||
|
- package init
|
||||||
4
rngom.yaml
Normal file
4
rngom.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user