Compare commits
77 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27822741e3 | ||
|
|
cb41d9294e | ||
|
|
464c0242e8 | ||
|
|
3eba56b68f | ||
|
|
f688858bda | ||
|
|
9154eadca9 | ||
|
|
a426cc6051 | ||
|
|
659e398304 | ||
|
|
3cdfaa1cd9 | ||
|
|
02ee52996f | ||
|
|
97d9c929ac | ||
|
|
c99471e4b8 | ||
|
|
81c96ec0f4 | ||
|
|
4ee585fe1d | ||
|
|
ec8da848db | ||
|
|
69ac32591f | ||
|
|
af6b90803d | ||
|
|
791855cccc | ||
|
|
9348943be3 | ||
| e83921d6a7 | |||
|
|
d64a3747a9 | ||
|
|
0b21e69d38 | ||
|
|
272d9e219d | ||
|
|
70ffa2cb6c | ||
|
|
15d29e8b5b |
||
|
|
632f4ba349 | ||
|
|
9214fc9f9b | ||
|
|
e03ea8eeec | ||
|
|
1bbd7bba18 | ||
|
|
7d011e1038 | ||
|
|
34eb4bcad9 | ||
|
|
c8be5ac8b5 | ||
|
|
70135e04c8 | ||
|
|
bfe10bb641 | ||
|
|
7aae89f842 | ||
|
|
5cdc86fbe3 | ||
|
|
b6657cc2d4 | ||
|
|
1a292e6f10 | ||
|
|
90534bfb0e | ||
|
|
8aea4a7506 | ||
|
|
3d790b41f6 | ||
|
|
e34297db5b | ||
|
|
306462c004 | ||
|
|
065dddc0ed | ||
|
|
dffdf3ca23 | ||
|
|
ffcbed2003 | ||
|
|
1aac9f04e0 | ||
|
|
ec22f517f8 | ||
|
|
5b9be8752d | ||
|
|
9e8ab11ee1 | ||
|
|
865178d575 | ||
|
|
b6bc597d9b | ||
|
|
450e67e792 | ||
|
|
551b18c982 | ||
|
|
6e443149d0 | ||
|
|
195f8f4fd2 | ||
|
|
c47603b006 | ||
|
|
a26a9f81e0 | ||
|
|
946c1d558e | ||
|
|
bae79ef430 | ||
|
|
0893d08412 | ||
|
|
de1c46ef15 | ||
|
|
4022ab7d64 | ||
|
|
93f3efe561 | ||
|
|
22a4b3da7d | ||
|
|
9418c7ae34 | ||
|
|
75fa5f20a6 | ||
|
|
da8646c271 | ||
|
|
034253f995 | ||
|
|
67784a6955 | ||
|
|
9a82a07193 | ||
|
|
bb305397f7 | ||
|
|
51cbc9e0fc | ||
|
|
320d9d4622 | ||
|
|
ecc2e1eba7 | ||
|
|
1c6771325b | ||
|
|
9f1d78afa8 |
16 changed files with 155 additions and 733 deletions
|
|
@ -1 +0,0 @@
|
|||
msv-20050722.tar.gz
|
||||
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
msv-20050722.tar.gz
|
||||
/msv-2009.1.tar.gz
|
||||
/msv-2013.2.3.tar.gz
|
||||
/msv-parent-2009.1.pom
|
||||
/LICENSE-2.0.txt
|
||||
/msv-2013.5.1-clean.tar.gz
|
||||
/msv-2013.6.1-clean.tar.gz
|
||||
/msv-2022.7.tar.gz
|
||||
24
0001-Disable-Apache-XercesImpl.patch
Normal file
24
0001-Disable-Apache-XercesImpl.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
From a580f124197fcc2a62875e43100cd35b1fc4329e Mon Sep 17 00:00:00 2001
|
||||
From: Marian Koncek <mkoncek@redhat.com>
|
||||
Date: Thu, 17 Aug 2023 09:30:08 +0200
|
||||
Subject: [PATCH] Disable Apache XercesImpl
|
||||
|
||||
---
|
||||
.../main/java/com/sun/msv/datatype/xsd/regex/RegExpFactory.java | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/xsdlib/src/main/java/com/sun/msv/datatype/xsd/regex/RegExpFactory.java b/xsdlib/src/main/java/com/sun/msv/datatype/xsd/regex/RegExpFactory.java
|
||||
index 4a4c4be..cdeab93 100644
|
||||
--- a/xsdlib/src/main/java/com/sun/msv/datatype/xsd/regex/RegExpFactory.java
|
||||
+++ b/xsdlib/src/main/java/com/sun/msv/datatype/xsd/regex/RegExpFactory.java
|
||||
@@ -42,7 +42,6 @@ public abstract class RegExpFactory {
|
||||
public static RegExpFactory createFactory() {
|
||||
String[] classList = new String[] {
|
||||
"com.sun.msv.datatype.regexp.InternalImpl",
|
||||
- "com.sun.msv.datatype.xsd.regex.XercesImpl",
|
||||
"com.sun.msv.datatype.xsd.regex.JDKImpl"
|
||||
};
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: msv
|
||||
# $Id$
|
||||
NAME := msv
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
12
changelog
Normal file
12
changelog
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2022.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2022.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2022.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Aug 07 2023 Marian Koncek <mkoncek@redhat.com> - 2022.7-1
|
||||
- Package unretired
|
||||
- Update to upstream version 2022.7
|
||||
1
ci.fmf
Normal file
1
ci.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
resultsdb-testcase: separate
|
||||
8
gating.yaml
Normal file
8
gating.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional}
|
||||
29
generate-tarball.sh
Executable file
29
generate-tarball.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
name=msv
|
||||
version="$(sed -n 's/Version:\s*//p' ./*.spec)"
|
||||
|
||||
# RETRIEVE
|
||||
wget "https://github.com/xmlark/msv/archive/${name}-${version}/${name}-${version}.tar.gz" -O "${name}-${version}.orig.tar.gz"
|
||||
|
||||
rm -rf tarball-tmp
|
||||
mkdir tarball-tmp
|
||||
pushd tarball-tmp
|
||||
tar -xf "../${name}-${version}.orig.tar.gz"
|
||||
mv "msv-msv-${version}" "${name}-${version}"
|
||||
|
||||
pushd "${name}-${version}"
|
||||
mv docs/xsdlib/Apache-LICENSE-1.1.txt .
|
||||
mv docs/xsdlib/license.txt .
|
||||
mv docs/xsdlib/README.md README-xsdlib.md
|
||||
|
||||
# CLEAN TARBALL
|
||||
find . -mindepth 1 -maxdepth 1 -type d ! -name 'xsdlib' -exec rm -rf {} +
|
||||
rm -rf xsdlib/src/test
|
||||
|
||||
popd
|
||||
|
||||
tar -czf "../${name}-${version}.tar.gz" ./*
|
||||
popd
|
||||
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
/*
|
||||
* @(#)$Id: msv-20060821-Datatype.java,v 1.1 2007/03/12 14:54:43 mwringe Exp $
|
||||
*
|
||||
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
|
||||
*
|
||||
* This software is the proprietary information of Sun Microsystems, Inc.
|
||||
* Use is subject to license terms.
|
||||
*
|
||||
*/
|
||||
package com.sun.msv.datatype.xsd;
|
||||
|
||||
|
||||
/**
|
||||
* "date" type.
|
||||
*
|
||||
* type of the value object is {@link com.sun.msv.datatype.xsd.datetime.IDateTimeValueType}.
|
||||
* See http://www.w3.org/TR/xmlschema-2/#dateTime for the spec
|
||||
*
|
||||
* @author <a href="mailto:kohsuke.kawaguchi@eng.sun.com">Kohsuke KAWAGUCHI</a>
|
||||
*/
|
||||
public class DateType extends DateTimeBaseType {
|
||||
|
||||
public static final DateType theInstance = new DateType();
|
||||
private DateType() { super("date"); }
|
||||
|
||||
protected final String getFormat() {
|
||||
return "%Y-%M-%D%z";
|
||||
}
|
||||
|
||||
// serialization support
|
||||
private static final long serialVersionUID = 1;
|
||||
}
|
||||
|
|
@ -1,179 +0,0 @@
|
|||
--- ./xsdlib/build.xml.sav 2005-07-22 19:19:12.000000000 -0400
|
||||
+++ ./xsdlib/build.xml 2007-02-15 09:58:46.000000000 -0500
|
||||
@@ -51,21 +51,19 @@
|
||||
<javadoc locale="en_US"
|
||||
packagenames="com.sun.msv.*"
|
||||
sourcepath="./src"
|
||||
- classpath="${java.class.path}"
|
||||
+ classpath="${xerces.jar}:${relaxngDatatype.jar}:${junit.jar}:${jdom.jar}:${isorelax.jar}:${xalan.jar}"
|
||||
destdir="./javadoc"
|
||||
windowtitle="XSDLib (private build)"
|
||||
public="yes"
|
||||
author="yes"
|
||||
overview="src/com/sun/msv/overview.html"
|
||||
>
|
||||
- <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
|
||||
- <link offline="true" href="http://xml.apache.org/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/XML" />
|
||||
- <link offline="true" href="http://iso-relax.sourceforge.net/apiDoc/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/ISO-RELAX" />
|
||||
- <link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
|
||||
+ <link href="file:///usr/share/javadoc/java/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-xni/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-impl/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-apis/" />
|
||||
+ <link href="file:///usr/share/javadoc/isorelax/" />
|
||||
+ <link href="file:///usr/share/javadoc/relaxngDatatype/" />
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
@@ -160,15 +158,16 @@
|
||||
sourcepath="dist/src"
|
||||
destdir="dist/javadoc"
|
||||
windowtitle="Sun XML Datatypes Library"
|
||||
+ classpath="${xerces.jar}:${relaxngDatatype.jar}:${junit.jar}:${jdom.jar}:${isorelax.jar}:${xalan.jar}"
|
||||
public="yes"
|
||||
author="yes"
|
||||
>
|
||||
- <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
|
||||
- <link offline="true" href="http://xml.apache.org/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/XML" />
|
||||
- <link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
|
||||
+ <link href="file:///usr/share/javadoc/java/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-xni/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-impl/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-apis/" />
|
||||
+ <link href="file:///usr/share/javadoc/isorelax/" />
|
||||
+ <link href="file:///usr/share/javadoc/relaxngDatatype/" />
|
||||
</javadoc>
|
||||
|
||||
<!-- copy additional jar files -->
|
||||
--- ./generator/build.xml.sav 2003-07-18 18:09:42.000000000 -0400
|
||||
+++ ./generator/build.xml 2007-02-15 09:59:06.000000000 -0500
|
||||
@@ -142,12 +142,18 @@
|
||||
public="yes"
|
||||
author="yes"
|
||||
>
|
||||
- <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
|
||||
- <link offline="true" href="http://xml.apache.org/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/XML" />
|
||||
- <link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
|
||||
+ <classpath path="../package/msv.jar"/>
|
||||
+ <classpath path="../package/xsdlib.jar"/>
|
||||
+ <classpath path="${java.class.path}"/>
|
||||
+ <classpath path="${xerces.jar}"/>
|
||||
+ <classpath path="${relaxngDatatype.jar}"/>
|
||||
+ <classpath path="${isorelax.jar}"/>
|
||||
+ <link href="file:///usr/share/javadoc/java/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-xni/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-impl/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-apis/" />
|
||||
+ <link href="file:///usr/share/javadoc/relaxngDatatype/" />
|
||||
+
|
||||
</javadoc>
|
||||
|
||||
|
||||
--- ./msv/build.xml.sav 2005-07-22 19:19:11.000000000 -0400
|
||||
+++ ./msv/build.xml 2007-02-15 09:59:45.000000000 -0500
|
||||
@@ -73,19 +73,17 @@
|
||||
sourcepath="./src"
|
||||
classpath="${java.class.path}"
|
||||
destdir="javadoc"
|
||||
- windowtitle="Internal Use Only --- Sun Multi Schema XML Validator"
|
||||
+ windowtitle="Sun Multi Schema XML Validator"
|
||||
public="yes"
|
||||
author="yes"
|
||||
overview="src/com/sun/msv/overview.html"
|
||||
>
|
||||
- <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
|
||||
- <link offline="true" href="http://xml.apache.org/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/XML" />
|
||||
- <link offline="true" href="http://iso-relax.sourceforge.net/apiDoc/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/ISO-RELAX" />
|
||||
- <link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
|
||||
+ <link href="file:///usr/share/javadoc/java/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-xni/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-impl/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-apis/" />
|
||||
+ <link href="file:///usr/share/javadoc/isorelax/" />
|
||||
+ <link href="file:///usr/share/javadoc/relaxngDatatype/" />
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
@@ -207,6 +205,7 @@
|
||||
>
|
||||
|
||||
<classpath path="temp"/>
|
||||
+ <classpath path="../package/xsdlib.jar"/>
|
||||
<classpath path="${isorelax.jar}"/>
|
||||
<classpath path="${relaxngDatatype.jar}"/>
|
||||
<classpath path="${java.class.path}"/>
|
||||
@@ -215,14 +214,13 @@
|
||||
if you have encountered error around here,
|
||||
please remove all offline="true" and packagelistLoc="...".
|
||||
-->
|
||||
- <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
|
||||
- packagelistLoc="ExternalPackageLists\CoreAPI" />
|
||||
- <link offline="true" href="http://xml.apache.org/apiDocs/"
|
||||
- packagelistLoc="ExternalPackageLists\XML" />
|
||||
- <link offline="true" href="http://iso-relax.sourceforge.net/apiDoc/"
|
||||
- packagelistLoc="ExternalPackageLists\ISO-RELAX" />
|
||||
- <link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
|
||||
- packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
|
||||
+ <link href="file:///usr/share/javadoc/java/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-xni/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-impl/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-apis/" />
|
||||
+ <link href="file:///usr/share/javadoc/isorelax/" />
|
||||
+ <link href="file:///usr/share/javadoc/relaxngDatatype/" />
|
||||
+
|
||||
</javadoc>
|
||||
|
||||
<!-- remove Visio files from release package -->
|
||||
--- ./relames/build.xml.sav 2005-07-22 19:19:11.000000000 -0400
|
||||
+++ ./relames/build.xml 2007-02-15 09:59:59.000000000 -0500
|
||||
@@ -75,14 +75,34 @@
|
||||
|
||||
<!-- creates binary jar -->
|
||||
<jar jarfile="dist/relames.jar"
|
||||
- manifest="dist/src/META-INF/MANIFEST.MF"
|
||||
- compress="false">
|
||||
+ manifest="dist/src/META-INF/MANIFEST.MF">
|
||||
|
||||
<fileset dir="temp" />
|
||||
<!-- resource files -->
|
||||
<fileset dir="dist/src" includes="**/*.properties" />
|
||||
<fileset dir="dist/src" includes="META-INF/**/*" />
|
||||
</jar>
|
||||
+ <mkdir dir="./dist/javadoc"/>
|
||||
+ <javadoc locale="en_US"
|
||||
+ packagenames="com.sun.msv.schematron.*"
|
||||
+ sourcepath="./src"
|
||||
+ classpath="${java.class.path}"
|
||||
+ destdir="dist/javadoc"
|
||||
+ windowtitle="Sun Multi Schema XML Validator Schematron Add-on"
|
||||
+ public="yes"
|
||||
+ author="yes"
|
||||
+ >
|
||||
+ <classpath path="../package/msv.jar"/>
|
||||
+ <classpath path="${relaxngDatatype.jar}"/>
|
||||
+ <classpath path="${isorelax.jar}"/>
|
||||
+ <link href="file:///usr/share/javadoc/java/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-xni/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-impl/" />
|
||||
+ <link href="file:///usr/share/javadoc/xerces-j2-apis/" />
|
||||
+ <link href="file:///usr/share/javadoc/isorelax/" />
|
||||
+ <link href="file:///usr/share/javadoc/relaxngDatatype/" />
|
||||
+ </javadoc>
|
||||
+
|
||||
<delete dir="temp" />
|
||||
|
||||
<!-- remove the source code for now -->
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
--- ./relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java.orig 2007-02-14 15:38:34.000000000 -0500
|
||||
+++ ./relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java 2007-02-14 15:39:44.000000000 -0500
|
||||
@@ -94,13 +94,13 @@
|
||||
} catch( Throwable t ) {
|
||||
; // ignore any error. it wasn't Xerces.
|
||||
}
|
||||
- try {
|
||||
- // Crimson?
|
||||
- ((org.apache.crimson.tree.ElementNode2)super.parent)
|
||||
- .setIdAttributeName(atts.getQName(i));
|
||||
- } catch( Throwable t ) {
|
||||
- ; // ignore any error. it wasn't Crimson.
|
||||
- }
|
||||
+// try {
|
||||
+// // Crimson?
|
||||
+// ((org.apache.crimson.tree.ElementNode2)super.parent)
|
||||
+// .setIdAttributeName(atts.getQName(i));
|
||||
+// } catch( Throwable t ) {
|
||||
+// ; // ignore any error. it wasn't Crimson.
|
||||
+// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
diff -ur generator/MANIFEST.MF generator/MANIFEST.MF
|
||||
--- generator/MANIFEST.MF 2007-02-16 11:25:22.000000000 -0500
|
||||
+++ generator/MANIFEST.MF 2007-02-16 11:26:31.000000000 -0500
|
||||
@@ -1,5 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: com.sun.msv.generator.Driver
|
||||
-Created-By: 1.2.2 (Sun Microsystems Inc.)
|
||||
-Class-Path: msv.jar xsdlib.jar relaxngDatatype.jar isorelax.jar xercesImpl.jar xmlParserAPIs.jar
|
||||
-
|
||||
diff -ur msv/MANIFEST.MF msv/MANIFEST.MF
|
||||
--- msv/MANIFEST.MF 2007-02-16 11:27:27.000000000 -0500
|
||||
+++ msv/MANIFEST.MF 2007-02-16 11:26:20.000000000 -0500
|
||||
@@ -1,4 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: com.sun.msv.driver.textui.Driver
|
||||
-Created-By: 1.2.2 (Sun Microsystems Inc.)
|
||||
-Class-Path: xercesImpl.jar isorelax.jar relaxngDatatype.jar xsdlib.jar xmlParserAPIs.jar resolver.jar
|
||||
diff -ur rngconverter/MANIFEST.MF rngconverter/MANIFEST.MF
|
||||
--- rngconverter/MANIFEST.MF 2007-02-16 11:26:55.000000000 -0500
|
||||
+++ rngconverter/MANIFEST.MF 2007-02-16 11:27:05.000000000 -0500
|
||||
@@ -1,5 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: com.sun.msv.writer.relaxng.Driver
|
||||
-Created-By: 1.2.2 (Sun Microsystems Inc.)
|
||||
-Class-Path: msv.jar xerces.jar
|
||||
-
|
||||
514
msv.spec
514
msv.spec
|
|
@ -1,467 +1,81 @@
|
|||
# Copyright (c) 2000-2007, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name of the JPackage Project nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
%define gcj_support 1
|
||||
|
||||
%define bootstrap %{?_with_bootstrap:1}%{!?_with_bootstrap:%{?_without_bootstrap:0}%{!?_without_bootstrap:%{?_bootstrap:%{_bootstrap}}%{!?_bootstrap:0}}}
|
||||
|
||||
%define cvsdate 20050722
|
||||
|
||||
Summary: Multischema Validator
|
||||
Name: msv
|
||||
Version: 1.2
|
||||
Release: 0.1.%{cvsdate}.3jpp.1%{?dist}
|
||||
Epoch: 1
|
||||
License: BSD-Style
|
||||
URL: http://msv.dev.java.net
|
||||
Group: Development/Libraries
|
||||
# cvs -d :pserver:guest@cvs.dev.java.net:/cvs export -r msv-20050722 msv ; mv msv msv-20050722 tar zcf msv-20050722.tar.gz msv-*
|
||||
Source0: %{name}-%{cvsdate}.tar.gz
|
||||
# cvs -d :pserver:guest@cvs.dev.java.net:/cvs co -r msv-20060821 msv/xsdlib/src/com/sun/msv/datatype/xsd/DateType.java
|
||||
# This is needed for the package to build
|
||||
Source1: %{name}-20060821-Datatype.java
|
||||
Patch0: %{name}-build_xmls.patch
|
||||
# There is a build time dependency on crimson which needs to be stripped
|
||||
Patch1: %{name}-disable-crimson.patch
|
||||
# Class-Path
|
||||
Patch2: %{name}-noclasspathsinmanifests.patch
|
||||
BuildRequires: ant >= 0:1.6, jpackage-utils >= 0:1.6
|
||||
BuildRequires: javacc
|
||||
BuildRequires: junit
|
||||
%if ! %{bootstrap}
|
||||
BuildRequires: jdom
|
||||
BuildRequires: saxon
|
||||
%endif
|
||||
|
||||
BuildRequires: isorelax
|
||||
BuildRequires: relaxngDatatype
|
||||
BuildRequires: servlet
|
||||
BuildRequires: xalan-j2
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xml-commons-apis
|
||||
BuildRequires: xml-commons-resolver
|
||||
BuildRequires: ant-trax
|
||||
BuildRequires: java-javadoc
|
||||
BuildRequires: xerces-j2-javadoc-impl
|
||||
BuildRequires: xerces-j2-javadoc-xni
|
||||
BuildRequires: xerces-j2-javadoc-apis
|
||||
BuildRequires: isorelax-javadoc
|
||||
BuildRequires: relaxngDatatype-javadoc
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
Requires(postun): jpackage-utils >= 0:1.6
|
||||
|
||||
%if ! %{gcj_support}
|
||||
Version: 2022.7
|
||||
Release: %autorelease
|
||||
Summary: Multi-Schema Validator Toolkit
|
||||
# License breakdown
|
||||
# Apache-1.1
|
||||
# * xsdlib/src/main/java/com/sun/msv/datatype/regexp - All files except for InternalImpl.java
|
||||
# BSD-3-Clause-Sun
|
||||
# * pom.xml
|
||||
# * xsdlib/src/main/java/com/sun/msv/datatype/regexp/InternalImpl.java
|
||||
# BSD-3-Clause-Sun implied by docs/xsdlib/license.txt of the original tarball
|
||||
# * xsdlib/src/main/java/com/sun/msv/datatype/xsd/CommandLineTester.java
|
||||
# * xsdlib/src/main/resources/com/sun/msv/datatype/xsd/Messages.properties
|
||||
# * xsdlib/src/main/resources/com/sun/msv/datatype/xsd/Messages_ja.properties
|
||||
# BSD-3-Clause - All other .java files
|
||||
License: Apache-1.1 AND BSD-3-Clause AND BSD-3-Clause-Sun
|
||||
URL: https://xmlark.github.io/msv/
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
|
||||
%if %{gcj_support}
|
||||
# Don't need this since java-gcj-compat-devel seems to fill these needs
|
||||
#BuildRequires: gnu-crypto
|
||||
BuildRequires: java-gcj-compat-devel
|
||||
Requires(post): java-gcj-compat
|
||||
Requires(postun): java-gcj-compat
|
||||
%endif
|
||||
# ./generate-tarball.sh
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: generate-tarball.sh
|
||||
|
||||
Patch: 0001-Disable-Apache-XercesImpl.patch
|
||||
|
||||
BuildRequires: maven-local-openjdk25
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||
BuildRequires: mvn(org.jdom:jdom2)
|
||||
BuildRequires: mvn(relaxngDatatype:relaxngDatatype)
|
||||
# TODO Remove in Fedora 46
|
||||
Obsoletes: %{name}-javadoc < 2022.7-15
|
||||
|
||||
%description
|
||||
The Sun Multi-Schema XML Validator (MSV) is a Java
|
||||
technology tool to validate XML documents against
|
||||
several kinds of XML schemata. It supports RELAX NG,
|
||||
RELAX Namespace, RELAX Core, TREX, XML DTDs, and a
|
||||
subset of XML Schema Part 1. This latest (version 1.2)
|
||||
release includes several bug fixes and adds better
|
||||
conformance to RELAX NG/W3C XML standards and JAXP
|
||||
masquerading.
|
||||
The Multi Schema Validation toolkit is a Java based toolkit consisting of 8
|
||||
different submodules. The core module is the Multi-Schema XML Validator (MSV)
|
||||
for the validation of XML documents against several kinds of XML schemata The
|
||||
core supports RELAX NG, RELAX Namespace, RELAX Core, TREX, XML DTDs, and a
|
||||
subset of XML Schema Part 1.
|
||||
|
||||
%package msv
|
||||
Summary: MSV proper
|
||||
Group: Development/Libraries
|
||||
Requires: isorelax
|
||||
Requires: relaxngDatatype
|
||||
Requires: servlet
|
||||
Requires: xerces-j2
|
||||
Requires: xml-commons-apis
|
||||
Requires: xml-commons-resolver
|
||||
Requires: msv-xsdlib
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
Provides: msv-strict <= %{version}-%{release}
|
||||
Obsoletes: msv-strict <= %{version}-%{release}
|
||||
%package xsdlib
|
||||
Summary: Java implementation of W3C’s XML Schema Part 2
|
||||
|
||||
%description msv
|
||||
%{summary}.
|
||||
|
||||
%package msv-javadoc
|
||||
Summary: Javadoc for MSV proper
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
Provides: msv-strict-javadoc <= %{version}-%{release}
|
||||
Obsoletes: msv-strict-javadoc <= %{version}-%{release}
|
||||
|
||||
%description msv-javadoc
|
||||
%{summary}.
|
||||
|
||||
%package demo
|
||||
Summary: Samples for %{name}
|
||||
Group: Documentation
|
||||
Requires: msv-msv
|
||||
Requires: msv-xsdlib
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description demo
|
||||
%{summary}.
|
||||
|
||||
%package relames
|
||||
Summary: Relames
|
||||
Group: Development/Libraries
|
||||
Requires: isorelax
|
||||
Requires: relaxngDatatype
|
||||
Requires: xalan-j2
|
||||
Requires: xerces-j2
|
||||
Requires: xml-commons-apis
|
||||
Requires: xml-commons-resolver
|
||||
Requires: msv-msv
|
||||
Requires: msv-xsdlib
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description relames
|
||||
%{summary}.
|
||||
|
||||
%package relames-javadoc
|
||||
Summary: Javadoc for relames
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description relames-javadoc
|
||||
%{summary}.
|
||||
|
||||
%package rngconv
|
||||
Summary: Rngconv
|
||||
Group: Development/Libraries
|
||||
Requires: isorelax
|
||||
Requires: relaxngDatatype
|
||||
Requires: xerces-j2
|
||||
Requires: xml-commons-apis
|
||||
Requires: msv-msv
|
||||
Requires: msv-xsdlib
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description rngconv
|
||||
%{summary}.
|
||||
|
||||
%package xmlgen
|
||||
Summary: XmlGen
|
||||
Group: Development/Libraries
|
||||
Requires: isorelax
|
||||
Requires: relaxngDatatype
|
||||
Requires: xml-commons-apis
|
||||
Requires: xerces-j2
|
||||
Requires: msv-msv
|
||||
Requires: msv-xsdlib
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description xmlgen
|
||||
%{summary}.
|
||||
|
||||
%package xmlgen-javadoc
|
||||
Summary: Javadoc for xmlgen
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description xmlgen-javadoc
|
||||
%{summary}.
|
||||
|
||||
%package xsdlib
|
||||
Summary: Xsdlib
|
||||
Group: Development/Libraries
|
||||
Requires: relaxngDatatype
|
||||
Provides: xsdlib <= %{version}-%{release}
|
||||
Obsoletes: xsdlib <= %{version}-%{release}
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description xsdlib
|
||||
%{summary}.
|
||||
|
||||
%package xsdlib-javadoc
|
||||
Summary: Javadoc for xsdlib
|
||||
Group: Documentation
|
||||
Provides: xsdlib-javadoc <= %{version}-%{release}
|
||||
Obsoletes: xsdlib-javadoc <= %{version}-%{release}
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description xsdlib-javadoc
|
||||
%{summary}.
|
||||
|
||||
%package manual
|
||||
Summary: Documents for %{name}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
|
||||
%description manual
|
||||
%{summary}.
|
||||
%description xsdlib
|
||||
MSV XML Datatypes Library, Java implementation of W3C’s XML Schema Part 2, is
|
||||
intended for use with applications that incorporate XML Schema Part 2.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{cvsdate}
|
||||
cp %{SOURCE1} xsdlib/src/com/sun/msv/datatype/xsd/DateType.java
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
# delete Class-Path: from manifests
|
||||
for m in $(find . -name MANIFEST.MF); do
|
||||
sed -e '/^Class-path:/d' $m > tempf
|
||||
cp tempf $m
|
||||
done
|
||||
rm tempf
|
||||
%autosetup -p1 -C
|
||||
|
||||
%patch0 -b .sav
|
||||
%patch1 -b .sav2
|
||||
%patch2
|
||||
# Disable runtime dependency on Apache Xerces
|
||||
rm xsdlib/src/main/java/com/sun/msv/datatype/xsd/regex/XercesImpl.java
|
||||
|
||||
%pom_xpath_remove 'pom:project/pom:modules'
|
||||
%pom_xpath_inject 'pom:project' '<modules><module>xsdlib</module></modules>'
|
||||
|
||||
%pom_xpath_remove 'pom:build/pom:extensions'
|
||||
|
||||
%pom_remove_dep org.apache.maven.scm:maven-scm-provider-gitexe
|
||||
%pom_remove_dep xerces:xercesImpl xsdlib
|
||||
|
||||
%pom_remove_plugin org.codehaus.mojo:flatten-maven-plugin
|
||||
%pom_remove_plugin -r :maven-javadoc-plugin
|
||||
|
||||
# We only build xsdlib
|
||||
%mvn_package net.java.dev.msv:msv __noinstall
|
||||
|
||||
%build
|
||||
pushd shared/lib
|
||||
ln -sf $(build-classpath ant) ant.jar
|
||||
#ln -sf $(build-classpath crimson) crimson.jar
|
||||
#ln -sf $(build-classpath dom4j) dom4j.jar
|
||||
ln -sf $(build-classpath isorelax) isorelax.jar
|
||||
ln -sf $(build-classpath junit) junit.jar
|
||||
ln -sf $(build-classpath relaxngDatatype) relaxngDatatype.jar
|
||||
ln -sf $(build-classpath xml-commons-resolver) resolver.jar
|
||||
%if ! %{bootstrap}
|
||||
ln -sf $(build-classpath jdom) jdom.jar
|
||||
ln -sf $(build-classpath saxon) saxon.jar
|
||||
%endif
|
||||
ln -sf $(build-classpath servlet) servlet.jar
|
||||
ln -sf $(build-classpath xalan-j2) xalan.jar
|
||||
ln -sf $(build-classpath xerces-j2) xercesImpl.jar
|
||||
ln -sf $(build-classpath xml-commons-apis) xmlParserAPIs.jar
|
||||
popd
|
||||
|
||||
ant release
|
||||
%mvn_build -j -s
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# jars
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
|
||||
install -m 644 package/msv.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-msv-%{version}.jar
|
||||
install -m 644 package/relames.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-relames-%{version}.jar
|
||||
install -m 644 package/rngconv.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-rngconv-%{version}.jar
|
||||
install -m 644 package/xmlgen.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-xmlgen-%{version}.jar
|
||||
install -m 644 package/xsdlib.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-xsdlib-%{version}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
(cd $RPM_BUILD_ROOT%{_javadir}
|
||||
ln -sf msv-msv.jar msv-strict.jar
|
||||
ln -sf msv-xsdlib.jar xsdlib.jar
|
||||
)
|
||||
|
||||
# javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}/msv
|
||||
cp -pr msv/dist/javadoc/* \
|
||||
$RPM_BUILD_ROOT%{_javadocdir}/%{name}/msv
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}/relames
|
||||
cp -pr relames/dist/javadoc/* \
|
||||
$RPM_BUILD_ROOT%{_javadocdir}/%{name}/relames
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}/xmlgen
|
||||
cp -pr generator/dist/javadoc/* \
|
||||
$RPM_BUILD_ROOT%{_javadocdir}/%{name}/xmlgen
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}/xsdlib
|
||||
cp -pr xsdlib/dist/javadoc/* \
|
||||
$RPM_BUILD_ROOT%{_javadocdir}/%{name}/xsdlib
|
||||
|
||||
# docs
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/msv
|
||||
install -m 644 msv/doc/* \
|
||||
$RPM_BUILD_ROOT%{_docdir}/%{name}/msv
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/msv/Apache-LICENSE-1.1.txt
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/relames
|
||||
install -m 644 relames/doc/* \
|
||||
$RPM_BUILD_ROOT%{_docdir}/%{name}/relames
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/relames/Apache-LICENSE-1.1.txt
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/rngconv
|
||||
install -m 644 rngconverter/doc/* \
|
||||
$RPM_BUILD_ROOT%{_docdir}/%{name}/rngconv
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/rngconv/Apache-LICENSE-1.1.txt
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/xmlgen
|
||||
install -m 644 generator/doc/* \
|
||||
$RPM_BUILD_ROOT%{_docdir}/%{name}/xmlgen
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/xmlgen/Apache-LICENSE-1.1.txt
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/xsdlib
|
||||
install -m 644 xsdlib/doc/* \
|
||||
$RPM_BUILD_ROOT%{_docdir}/%{name}/xsdlib
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/xsdlib/Apache-LICENSE-1.1.txt
|
||||
|
||||
#examples
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/msv
|
||||
cp -pr msv/dist/examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/msv
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/xsdlib
|
||||
cp -pr xsdlib/dist/examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/xsdlib
|
||||
|
||||
%if %{gcj_support}
|
||||
#export CLASSPATH=$(build-classpath gnu-crypto)
|
||||
%{_bindir}/aot-compile-rpm --exclude usr/share/%{name}-%{version}/%{name}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%if %{gcj_support}
|
||||
%post
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%if %{gcj_support}
|
||||
%postun
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files msv
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-msv-%{version}.jar
|
||||
%{_javadir}/%{name}-msv.jar
|
||||
%{_javadir}/msv-strict.jar
|
||||
%doc %{_docdir}/%{name}/msv/license.txt
|
||||
%doc %{_docdir}/%{name}/msv/copyright.txt
|
||||
%if %{gcj_support}
|
||||
%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-msv*
|
||||
%endif
|
||||
|
||||
%files msv-javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_javadocdir}/%{name}/msv
|
||||
|
||||
%files demo
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_datadir}/%{name}-%{version}/msv
|
||||
%{_datadir}/%{name}-%{version}/xsdlib
|
||||
|
||||
%files relames
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-relames-%{version}.jar
|
||||
%{_javadir}/%{name}-relames.jar
|
||||
#%{_docdir}/%{name}/relames/license.txt
|
||||
%doc %{_docdir}/%{name}/relames/copyright.txt
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-relames*
|
||||
%endif
|
||||
|
||||
%files relames-javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_javadocdir}/%{name}/relames
|
||||
|
||||
%files rngconv
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-rngconv-%{version}.jar
|
||||
%{_javadir}/%{name}-rngconv.jar
|
||||
%doc %{_docdir}/%{name}/rngconv/license.txt
|
||||
%doc %{_docdir}/%{name}/rngconv/copyright.txt
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-rngconv*
|
||||
%endif
|
||||
|
||||
%files xmlgen
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-xmlgen-%{version}.jar
|
||||
%{_javadir}/%{name}-xmlgen.jar
|
||||
%doc %{_docdir}/%{name}/xmlgen/license.txt
|
||||
%doc %{_docdir}/%{name}/xmlgen/copyright.txt
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-xmlgen*
|
||||
%endif
|
||||
|
||||
%files xmlgen-javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_javadocdir}/%{name}/xmlgen
|
||||
|
||||
%files xsdlib
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-xsdlib-%{version}.jar
|
||||
%{_javadir}/%{name}-xsdlib.jar
|
||||
%{_javadir}/xsdlib.jar
|
||||
%doc %{_docdir}/%{name}/xsdlib/license.txt
|
||||
%doc %{_docdir}/%{name}/xsdlib/copyright.txt
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-xsdlib*
|
||||
%endif
|
||||
|
||||
%files xsdlib-javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_javadocdir}/%{name}/xsdlib
|
||||
|
||||
%files manual
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_docdir}/%{name}/msv/ChangeLog.txt
|
||||
%doc %{_docdir}/%{name}/msv/*.html
|
||||
%doc %{_docdir}/%{name}/msv/*.gif
|
||||
%doc %{_docdir}/%{name}/msv/README.txt
|
||||
%doc %{_docdir}/%{name}/relames/README.txt
|
||||
%doc %{_docdir}/%{name}/rngconv/README.txt
|
||||
%doc %{_docdir}/%{name}/xmlgen/*.html
|
||||
%doc %{_docdir}/%{name}/xmlgen/README.txt
|
||||
%doc %{_docdir}/%{name}/xsdlib/*.html
|
||||
%doc %{_docdir}/%{name}/xsdlib/README.txt
|
||||
%mvn_install
|
||||
|
||||
%files xsdlib -f .mfiles-xsdlib
|
||||
%doc README.md README-xsdlib.md
|
||||
%license Apache-LICENSE-1.1.txt license.txt
|
||||
|
||||
%changelog
|
||||
* Fri Feb 16 2007 Andrew Overholt <overholt@redhat.com> 0:1.2-0.1.20050722.3jpp.1
|
||||
- Remove postun Requires on jpackage-utils
|
||||
- Set gcj_support to 1
|
||||
- Fix groups to shut up rpmlint
|
||||
- Add versions to the Provides and Obsoletes
|
||||
- Add patch to take out Class-Path in MANIFEST.MF
|
||||
|
||||
* Thu Feb 15 2007 Matt Wringe <mwringe at redhat.com> - 0:1.2-0.1.20050722.3jpp.1.fc7
|
||||
- Extract sources from a fresh CVS export of the given tag and add extra source
|
||||
required to build the package not present in the 20050722 tag anymore
|
||||
- Add a patch to remove compile time dependency on crimson
|
||||
- Add a patch to enable compression of jar files
|
||||
- Add jpackage-utils as a requires for the packages/subpackages
|
||||
|
||||
* Mon Feb 12 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.2-0.20050722.3jpp
|
||||
- Add bootstrap option to build without saxon nor jdom
|
||||
- Add gcj_support option
|
||||
|
||||
* Mon Feb 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.2-0.20050722.2jpp
|
||||
- First JPP 1.7 build
|
||||
|
||||
* Wed Aug 17 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.2-0.20050722.1jpp
|
||||
- First JPP from this code base
|
||||
%autochangelog
|
||||
|
|
|
|||
7
plans/javapackages.fmf
Normal file
7
plans/javapackages.fmf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
summary: Run javapackages-specific tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git
|
||||
ref: f43
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
b23ab7038efaf371685d916c23b1558a msv-20050722.tar.gz
|
||||
SHA512 (msv-2022.7.tar.gz) = 1fb7600af4a589bb68687b17fd7da3bd370362e06450d81509eb343f87a85366d3843f2b42f566560637428fdc8dc4abbd2eb5bc81444ab58ebf48c16d4d353e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue