2023-11-23 12:48:06 +00:00
|
|
|
|
Name: msv
|
|
|
|
|
Version: 2022.7
|
2024-06-24 16:04:00 +00:00
|
|
|
|
Release: 4%{?dist}
|
2023-11-23 12:48:06 +00:00
|
|
|
|
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
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Source1: generate-tarball.sh
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Disable-Apache-XercesImpl.patch
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2023-11-23 12:48:06 +00:00
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
|
|
|
BuildRequires: mvn(org.jdom:jdom2)
|
2023-11-23 08:01:44 +00:00
|
|
|
|
BuildRequires: mvn(relaxngDatatype:relaxngDatatype)
|
|
|
|
|
|
|
|
|
|
%description
|
2023-11-23 12:48:06 +00:00
|
|
|
|
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.
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: API documentation for %{name}
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%description javadoc
|
|
|
|
|
This package provides %{summary}.
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%package xsdlib
|
|
|
|
|
Summary: Java implementation of W3C’s XML Schema Part 2
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%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.
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
# Disable runtime dependency on Apache Xerces
|
|
|
|
|
%patch 1 -p1
|
|
|
|
|
rm xsdlib/src/main/java/com/sun/msv/datatype/xsd/regex/XercesImpl.java
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%pom_xpath_remove 'pom:project/pom:modules'
|
|
|
|
|
%pom_xpath_inject 'pom:project' '<modules><module>xsdlib</module></modules>'
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%pom_xpath_remove 'pom:build/pom:extensions'
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%pom_remove_dep org.apache.maven.scm:maven-scm-provider-gitexe
|
|
|
|
|
%pom_remove_dep xerces:xercesImpl xsdlib
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%pom_remove_plugin org.codehaus.mojo:flatten-maven-plugin
|
|
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
# We only build xsdlib
|
|
|
|
|
%mvn_package net.java.dev.msv:msv __noinstall
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%mvn_build -s
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%license Apache-LICENSE-1.1.txt license.txt
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
%files xsdlib -f .mfiles-xsdlib
|
|
|
|
|
%doc README.md README-xsdlib.md
|
|
|
|
|
%license Apache-LICENSE-1.1.txt license.txt
|
2023-11-23 08:01:44 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2024-06-24 16:04:00 +00:00
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2022.7-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
2024-01-25 08:17:13 +00:00
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2022.7-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
2024-01-21 08:50:58 +00:00
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2022.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
2023-11-23 12:48:06 +00:00
|
|
|
|
* Mon Aug 07 2023 Marian Koncek <mkoncek@redhat.com> - 2022.7-1
|
|
|
|
|
- Package unretired
|
|
|
|
|
- Update to upstream version 2022.7
|