2024-01-06 00:08:20 +01:00
|
|
|
Name: java-msv
|
2024-01-06 00:08:21 +01:00
|
|
|
Version: 2022.7
|
|
|
|
Release: 1mamba
|
2024-01-06 00:08:20 +01:00
|
|
|
Summary: Sun Multi-Schema Validator
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:08:21 +01:00
|
|
|
URL: https://msv.dev.java.net/
|
|
|
|
Source0: https://repo.mavenlibs.com/maven/net/java/dev/msv/msv-core/%{version}/msv-core-%{version}.jar
|
|
|
|
Source1: https://repo.mavenlibs.com/maven/net/java/dev/msv/msv-relames/%{version}/msv-relames-%{version}.jar
|
|
|
|
Source2: https://repo.mavenlibs.com/maven/net/java/dev/msv/msv-rngconverter/%{version}/msv-rngconverter-%{version}.jar
|
|
|
|
Source3: https://repo.mavenlibs.com/maven/net/java/dev/msv/msv-generator/%{version}/msv-generator-%{version}.jar
|
|
|
|
Source4: https://repo.mavenlibs.com/maven/net/java/dev/msv/xsdlib/%{version}/xsdlib-%{version}.jar
|
2024-01-06 00:08:20 +01:00
|
|
|
License: BSD
|
2024-01-06 00:08:21 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
|
|
|
Provides: java-msv-msv
|
|
|
|
Obsoletes: java-msv-msv <= 1.2
|
|
|
|
Provides: java-msv-relames
|
|
|
|
Obsoletes: java-msv-relames <= 1.2
|
|
|
|
Provides: java-msv-rngconv
|
|
|
|
Obsoletes: java-msv-rngconv <= 1.2
|
|
|
|
Provides: java-msv-xmlgen
|
|
|
|
Obsoletes: java-msv-xmlgen <= 1.2
|
|
|
|
Provides: java-msv-xsdlib
|
|
|
|
Obsoletes: java-msv-xsdlib <= 1.2
|
2024-01-06 00:08:20 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
This tool is:
|
|
|
|
* A command line tool that can read XML documents and validate them against a schema (DTD/RELAX/TREX/W3C).
|
|
|
|
If an error is found, error messages are provided.
|
|
|
|
* A library that can be incorporated into Java applications as a validator.
|
|
|
|
|
2024-01-06 00:08:21 +01:00
|
|
|
See the included commandline.html file for details on how to use MSV from the command line. See the included developer.html file for details on how to use it as a library.
|
2024-01-06 00:08:20 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
|
2024-01-06 00:08:21 +01:00
|
|
|
install -m 644 %{SOURCE0} \
|
2024-01-06 00:08:20 +01:00
|
|
|
%{buildroot}%{_javadir}/msv-msv-%{version}.jar
|
2024-01-06 00:08:21 +01:00
|
|
|
install -m 644 %{SOURCE1} \
|
2024-01-06 00:08:20 +01:00
|
|
|
%{buildroot}%{_javadir}/msv-relames-%{version}.jar
|
2024-01-06 00:08:21 +01:00
|
|
|
install -m 644 %{SOURCE2} \
|
2024-01-06 00:08:20 +01:00
|
|
|
%{buildroot}%{_javadir}/msv-rngconv-%{version}.jar
|
2024-01-06 00:08:21 +01:00
|
|
|
install -m 644 %{SOURCE3} \
|
2024-01-06 00:08:20 +01:00
|
|
|
%{buildroot}%{_javadir}/msv-xmlgen-%{version}.jar
|
2024-01-06 00:08:21 +01:00
|
|
|
install -m 644 %{SOURCE4} \
|
2024-01-06 00:08:20 +01:00
|
|
|
%{buildroot}%{_javadir}/msv-xsdlib-%{version}.jar
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}.jar; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
ln -sf msv-msv.jar msv-strict.jar
|
|
|
|
ln -sf msv-xsdlib.jar xsdlib.jar
|
|
|
|
)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 00:08:21 +01:00
|
|
|
%files
|
2024-01-06 00:08:20 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/msv-msv-%{version}.jar
|
|
|
|
%{_javadir}/msv-msv.jar
|
|
|
|
%{_javadir}/msv-strict.jar
|
|
|
|
%{_javadir}/msv-relames-%{version}.jar
|
|
|
|
%{_javadir}/msv-relames.jar
|
|
|
|
%{_javadir}/msv-rngconv-%{version}.jar
|
|
|
|
%{_javadir}/msv-rngconv.jar
|
|
|
|
%{_javadir}/msv-xmlgen-%{version}.jar
|
|
|
|
%{_javadir}/msv-xmlgen.jar
|
|
|
|
%{_javadir}/msv-xsdlib-%{version}.jar
|
|
|
|
%{_javadir}/msv-xsdlib.jar
|
|
|
|
%{_javadir}/xsdlib.jar
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:08:21 +01:00
|
|
|
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2022.7-1mamba
|
|
|
|
- update to 2022.7
|
|
|
|
|
2024-01-06 00:08:20 +01:00
|
|
|
* Fri Mar 25 2011 gil <puntogil@libero.it> 1.2-4mamba
|
|
|
|
- rebuilt with java-gcj-compat support
|
|
|
|
|
|
|
|
* Thu Dec 02 2010 gil <puntogil@libero.it> 1.2-3mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Mon Mar 09 2009 gil <puntogil@libero.it> 1.2-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 gil <puntogil@libero.it> 1.2-1mamba
|
|
|
|
- package created by autospec
|