From c8784be0968443a43c23bc2be10c5b7646a1eb8cf1b86e57470a15228ca26308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 14:03:08 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main jing-trang revision c8540ce90de2a9e96a7f8dc1ff6311c2 --- .gitattributes | 23 +++ 0000-Various-build-fixes.patch | 296 +++++++++++++++++++++++++++++++++ _service | 17 ++ dtdinst.1 | 20 +++ jing-20220510.pom | 73 ++++++++ jing-trang-20220510.tar.xz | 3 + jing-trang.changes | 156 +++++++++++++++++ jing-trang.spec | 212 +++++++++++++++++++++++ no-tests.patch | 123 ++++++++++++++ old-saxon.patch | 20 +++ trang-20220510.pom | 51 ++++++ 11 files changed, 994 insertions(+) create mode 100644 .gitattributes create mode 100644 0000-Various-build-fixes.patch create mode 100644 _service create mode 100644 dtdinst.1 create mode 100644 jing-20220510.pom create mode 100644 jing-trang-20220510.tar.xz create mode 100644 jing-trang.changes create mode 100644 jing-trang.spec create mode 100644 no-tests.patch create mode 100644 old-saxon.patch create mode 100644 trang-20220510.pom diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/0000-Various-build-fixes.patch b/0000-Various-build-fixes.patch new file mode 100644 index 0000000..6df459c --- /dev/null +++ b/0000-Various-build-fixes.patch @@ -0,0 +1,296 @@ +From 62ad89204c223441bf540fb8b4cb5b7b0beba29b Mon Sep 17 00:00:00 2001 +From: Tom Schraitle +Date: Mon, 25 Jul 2022 18:30:18 +0200 +Subject: [PATCH] Various build fixes + +--- + build.xml | 15 ++------------- + build.xsl | 17 +++++++---------- + datatype-sample/build.xml | 3 ++- + mod/catalog/mod.xml | 2 +- + mod/datatype/mod.xml | 1 + + mod/jing/mod.xml | 2 -- + mod/pattern/mod.xml | 1 + + mod/regex/mod.xml | 6 +++--- + mod/rng-jaxp/mod.xml | 1 + + mod/rng-validate/mod.xml | 2 +- + mod/schematron/mod.xml | 2 +- + mod/trang/mod.xml | 3 +-- + mod/xerces/mod.xml | 2 +- + mod/xsd-datatype/mod.xml | 1 + + 14 files changed, 23 insertions(+), 35 deletions(-) + +diff --git a/build.xml b/build.xml +index 31c0b64..51c695f 100644 +--- a/build.xml ++++ b/build.xml +@@ -161,8 +161,7 @@ + + ++ doctitle="RELAX NG Datatype API" windowtitle="RELAX NG Datatype API"> + + +@@ -453,18 +452,8 @@ + labels="Type-Archive, OpSys-All, Version-${version}"/> + + +- +- +- +- +- +- +- +- +- + +- + + +diff --git a/build.xsl b/build.xsl +index 1703937..e45acf6 100644 +--- a/build.xsl ++++ b/build.xsl +@@ -4,7 +4,7 @@ + + +- ++ + + + +@@ -23,12 +23,6 @@ + + + +- +- +- +- +- +- + + + +@@ -165,7 +159,6 @@ + + + +- + + + +@@ -311,11 +304,12 @@ + + + +- ++ + + + +- ++ ++ + + + +@@ -397,6 +391,9 @@ + + + ++ ++ ++ + + + +diff --git a/datatype-sample/build.xml b/datatype-sample/build.xml +index 1bc068a..5ec4dd8 100644 +--- a/datatype-sample/build.xml ++++ b/datatype-sample/build.xml +@@ -2,6 +2,7 @@ + + + ++ + + + +@@ -9,7 +10,7 @@ + + + +- ++ + + + +diff --git a/mod/catalog/mod.xml b/mod/catalog/mod.xml +index c8e2feb..5398646 100644 +--- a/mod/catalog/mod.xml ++++ b/mod/catalog/mod.xml +@@ -3,5 +3,5 @@ + + + +- ++ + +diff --git a/mod/datatype/mod.xml b/mod/datatype/mod.xml +index cd79499..cdb420a 100644 +--- a/mod/datatype/mod.xml ++++ b/mod/datatype/mod.xml +@@ -1,4 +1,5 @@ + + ++ + + +diff --git a/mod/jing/mod.xml b/mod/jing/mod.xml +index 8d304f8..8b2ec82 100644 +--- a/mod/jing/mod.xml ++++ b/mod/jing/mod.xml +@@ -21,8 +21,6 @@ + + + +- + + + +diff --git a/mod/pattern/mod.xml b/mod/pattern/mod.xml +index 777f484..875f1cb 100644 +--- a/mod/pattern/mod.xml ++++ b/mod/pattern/mod.xml +@@ -3,6 +3,7 @@ + + + ++ + + + +diff --git a/mod/regex/mod.xml b/mod/regex/mod.xml +index 1b10caa..f1bc0a4 100644 +--- a/mod/regex/mod.xml ++++ b/mod/regex/mod.xml +@@ -1,6 +1,6 @@ + + +- ++ + + +@@ -46,14 +46,14 @@ + failonerror="yes"> + + +- ++ + + + + + + +- ++ + + +diff --git a/mod/rng-jaxp/mod.xml b/mod/rng-jaxp/mod.xml +index 10a8c6d..48c5d8c 100644 +--- a/mod/rng-jaxp/mod.xml ++++ b/mod/rng-jaxp/mod.xml +@@ -7,6 +7,7 @@ + + + ++ + + + +diff --git a/mod/rng-validate/mod.xml b/mod/rng-validate/mod.xml +index 109543b..b05b996 100644 +--- a/mod/rng-validate/mod.xml ++++ b/mod/rng-validate/mod.xml +@@ -7,7 +7,7 @@ + + + +- ++ + + + +diff --git a/mod/schematron/mod.xml b/mod/schematron/mod.xml +index 1e370c7..773b375 100644 +--- a/mod/schematron/mod.xml ++++ b/mod/schematron/mod.xml +@@ -3,7 +3,7 @@ + + + +- ++ + + + + + +- ++ + + + + + +- + + + +diff --git a/mod/xerces/mod.xml b/mod/xerces/mod.xml +index b7dc603..56bc85f 100644 +--- a/mod/xerces/mod.xml ++++ b/mod/xerces/mod.xml +@@ -1,7 +1,7 @@ + + + +- ++ + + + +diff --git a/mod/xsd-datatype/mod.xml b/mod/xsd-datatype/mod.xml +index f81eb3c..cc7645b 100644 +--- a/mod/xsd-datatype/mod.xml ++++ b/mod/xsd-datatype/mod.xml +@@ -2,6 +2,7 @@ + + + ++ + + + +-- +2.35.3 + diff --git a/_service b/_service new file mode 100644 index 0000000..29395e3 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + git + https://github.com/relaxng/jing-trang.git + V20220510 + V* + @PARENT_TAG@ + V(.*) + lib/*.jar + mod/datatype/src/main/org + + + *.tar + xz + + + diff --git a/dtdinst.1 b/dtdinst.1 new file mode 100644 index 0000000..aefa31b --- /dev/null +++ b/dtdinst.1 @@ -0,0 +1,20 @@ +.TH DTDINST "1" "@VERSION@" "DTDinst" "User Commands" +.SH NAME +dtdinst \- XML DTD to XML instance format converter +.SH SYNOPSIS +\fBdtdinst\fR \fB[ \-i ]\fR \fB[ \-r \fIdir\fB ]\fR \fIDTD\fR +.SH DESCRIPTION +.B dtdinst +writes an XML representation of the DTD in DTDinst format to the standard +output. +.SH OPTIONS +.TP +\fB\-r \fIdir\fR +make DTDinst write one or more files containing a RELAX NG schema to the +directory \fIdir\fR. +.TP +\fI\-i\fR +inline ATTLIST declarations. Without this option, DTDinst will generate a define +in the RELAX NG schema for each ATTLIST declaration in the DTD. With this +option, DTDinst will move the patterns generated from ATTLIST declarations into +the corresponding element pattern. diff --git a/jing-20220510.pom b/jing-20220510.pom new file mode 100644 index 0000000..fd046b0 --- /dev/null +++ b/jing-20220510.pom @@ -0,0 +1,73 @@ + + + 4.0.0 + org.relaxng + jing + 20220510 + Jing + Jing, a tool for validating documents against RelaxNG schemas. + http://www.thaiopensource.com/relaxng/jing.html + + + 3-clause BSD license + https://github.com/relaxng/jing-trang/blob/master/copying.txt + repo + + + + + jjc@jclark.com + James Clark + jjc@jclark.com + http://jclark.com/ + + + georgebina + George Bina + george@oxygenxml.com + http://www.oxygenxml.com + + + sideshowbarker + Michael[tm] Smith + mike@w3.org + https://people.w3.org/mike/ + + + + GitHub Issues + https://github.com/relaxng/jing-trang/issues + + + scm:git:git@github.com:relaxng/jing-trang.git + scm:git:git@github.com:relaxng/jing-trang.git + https://github.com/relaxng/jing-trang/ + + + Travis CI + https://travis-ci.org/relaxng/jing-trang + + + + isorelax + isorelax + 20030108 + + + net.sf.saxon + Saxon-HE + 9.6.0-4 + + + xerces + xercesImpl + 2.9.1 + + + xml-apis + xml-apis + 1.0.b2 + + + diff --git a/jing-trang-20220510.tar.xz b/jing-trang-20220510.tar.xz new file mode 100644 index 0000000..10535fd --- /dev/null +++ b/jing-trang-20220510.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51980b105874c783bd354c808fd38d2b35720c2ef8885bd9556295ba365e999f +size 2799736 diff --git a/jing-trang.changes b/jing-trang.changes new file mode 100644 index 0000000..6161a90 --- /dev/null +++ b/jing-trang.changes @@ -0,0 +1,156 @@ +------------------------------------------------------------------- +Tue Aug 15 18:18:54 UTC 2023 - Fridrich Strba + +- Build against saxon 10+ + +------------------------------------------------------------------- +Mon Mar 20 18:55:39 UTC 2023 - Fridrich Strba + +- Fetch the sources using the source service and filter out stray + binaries and other files that we don't want to distribute because + of licensing. + +------------------------------------------------------------------- +Sat Jan 21 15:21:58 UTC 2023 - Thomas Schraitle + +- Add Maven Provides line for Jing & Trang + +------------------------------------------------------------------- +Mon Jul 25 17:12:32 UTC 2022 - Thomas Schraitle + +- Update to 20220510 +- Removed patch: + * 0002-Use-Xalan-instead-of-Saxon-for-the-build-655601.patch + Use Saxon9 instead of Xalan +- Recreated patch files + +------------------------------------------------------------------- +Fri Jul 2 11:40:01 UTC 2021 - Fridrich Strba + +- Added patch: + * old-saxon.patch + + Avoid building old saxon validator in order to avoid + dependency on old saxon6 + +------------------------------------------------------------------- +Fri Jul 2 09:21:15 UTC 2021 - Fridrich Strba + +- Do not use xmvn-tools, since this is a ring package +- Added patch: + * no-tests.patch + + avoid unnecessary dependency on testng + +------------------------------------------------------------------- +Sun Jun 27 18:54:26 UTC 2021 - Anton Shvetz + +- Update to v20181222 +- Package maven metadata +- Use testng in build process +- Remove unneeded patches: + * jing-trang-20091111-datatype-sample.patch + * jing-trang-20151127-notestng.patch +- Modified patch: + * 0001-Various-build-fixes.patch -> 0000-Various-build-fixes.patch + +------------------------------------------------------------------- +Fri Dec 7 07:31:06 UTC 2018 - Fridrich Strba + +- Build against xml-commons-apis instead of xerces-j2-xml-apis + +------------------------------------------------------------------- +Thu Nov 1 11:09:25 UTC 2018 - Fridrich Strba + +- Change to build against bsh2 instead of the old bsh + +------------------------------------------------------------------- +Fri Dec 1 09:33:20 UTC 2017 - thomas.schraitle@suse.com + +- Fix bsc#1069796 to combine jing and trang into a single jing-trang + source package + +------------------------------------------------------------------- +Wed Nov 15 13:50:44 UTC 2017 - thomas.schraitle@suse.com + +- First attempt to combine jing and trang packages into a + single package on OBS +- Use patches and instructions from Fedora, but use %buildroot + instead of $RPM_BUILD_ROOT +- Install manpages for dtdinst, jing, and trang +- Use spec-cleaner + +------------------------------------------------------------------- +Tue Nov 14 14:50:00 UTC 2017 - toms@opensuse.org + +- Use saxon9 instead of saxon6 for jing script +- Apply spec-cleaner for spec file + +------------------------------------------------------------------- +Mon Jan 26 14:25:32 UTC 2015 - toms@opensuse.org + +- Fixed name of saxon jar [bsc#914681] + +------------------------------------------------------------------- +Mon Sep 9 11:06:03 UTC 2013 - tchvatal@suse.com + +- Move from jpackage-utils to javapackage-tools + +------------------------------------------------------------------- +Thu Nov 29 15:02:09 UTC 2012 - mvyskocil@suse.com + +- used saxon9 for build and as a dependency (bnc#780666) + +------------------------------------------------------------------- +Sun Nov 13 19:36:49 UTC 2011 - toms@opensuse.org + +- Improved jing script: use now jpackage-utils, added + xml-commons-resolver to better support catalogs +- Adapted requires and buildrequires in spec file +- Updated documentation + * explained -C and -s options, removed obsolete -f + * updated version + +------------------------------------------------------------------- +Mon Mar 15 16:46:41 CET 2010 - prusnak@suse.cz + +- updated to 20091111 + * add -C option to specify the catalog + * fix schematron test suite schema + * provide a resolver that implements OASIS XML catalogs + * take advantage of Java 5 features + +------------------------------------------------------------------- +Wed Mar 18 15:14:29 CET 2009 - prusnak@suse.cz + +- added documentation (manpage) by Thomas Schraitle + +------------------------------------------------------------------- +Thu Nov 27 14:38:07 CET 2008 - prusnak@suse.cz + +- updated to 20081028 + +------------------------------------------------------------------- +Tue Feb 19 16:02:09 CET 2008 - prusnak@suse.cz + +- fixed build + +------------------------------------------------------------------- +Thu Mar 29 17:46:49 CEST 2007 - rguenther@suse.de + +- add unzip BuildRequires + +------------------------------------------------------------------- +Wed Jan 25 21:46:46 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Jun 6 14:18:13 CEST 2005 - ke@suse.de + +- Add wrapper script; proposed by Martin Vidner. + +------------------------------------------------------------------- +Fri Jun 3 11:15:16 CEST 2005 - ke@suse.de + +- New package: jing version 20030619. + + diff --git a/jing-trang.spec b/jing-trang.spec new file mode 100644 index 0000000..3a624d0 --- /dev/null +++ b/jing-trang.spec @@ -0,0 +1,212 @@ +# +# spec file for package jing-trang +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: jing-trang +Version: 20220510 +Release: 0 +Summary: Schema validation and conversion based on RELAX NG +License: BSD-3-Clause +Group: Productivity/Text/Utilities +URL: https://github.com/relaxng/%{name} +Source0: %{name}-%{version}.tar.xz +Source1: https://repo1.maven.org/maven2/org/relaxng/jing/%{version}/jing-%{version}.pom +Source2: https://repo1.maven.org/maven2/org/relaxng/trang/%{version}/trang-%{version}.pom +Source10: dtdinst.1 +# +Patch0: 0000-Various-build-fixes.patch +Patch2: no-tests.patch +Patch3: old-saxon.patch +BuildRequires: ant >= 1.8.2 +# +BuildRequires: bsh2 +BuildRequires: fdupes +BuildRequires: isorelax +BuildRequires: java-devel >= 1.8 +BuildRequires: javacc +BuildRequires: javapackages-local >= 6 +BuildRequires: qdox +BuildRequires: relaxngDatatype >= 2011.1 +BuildRequires: saxon10 +BuildRequires: unzip +BuildRequires: xalan-j2 +BuildRequires: xml-commons-apis +BuildRequires: xml-commons-resolver +# +BuildArch: noarch + +%description +%{summary}: + +jing: Schema validator +trang: Multi-format schema converter + +%package -n jing +Summary: RELAX NG validator in Java +Group: Productivity/Text/Utilities +Requires: java-headless +Requires: jpackage-utils +Requires: mvn(com.github.relaxng:relaxngDatatype) >= 2011.1 +Requires: mvn(xml-resolver:xml-resolver) +Provides: mvn(com.thaiopensource:jing) +Provides: mvn(org.relaxng:jing) = %{version} + +%description -n jing +jing is an XML validator implemented in Java. It validates against the +RELAX NG schema language and implements the following specifications: + +* RELAX NG 1.0 Specification +* RELAX NG Compact Syntax +* Parts of RELAX NG DTD Compatibility (checking of ID/IDREF/IDREFS) + +It also comes with experimental support for schema languages other than +RELAX NG: + +* W3C XML Schema (based on Xerces-J) +* Schematron 1.5 +* Namespace Routing Language + +%package -n jing-javadoc +Summary: Javadoc API documentation for Jing +Group: Documentation/HTML + +%description -n jing-javadoc +Javadoc API documentation for Jing. + +%package -n trang +Summary: Multi-format schema converter based on RELAX NG +Group: Productivity/Text/Utilities +Requires: java-headless +Requires: jpackage-utils +Requires: mvn(com.github.relaxng:relaxngDatatype) >= 2011.1 +Requires: mvn(xerces:xercesImpl) +Requires: mvn(xml-resolver:xml-resolver) +Provides: mvn(com.thaiopensource:trang) +Provides: mvn(org.relaxng:trang) = %{version} + +%description -n trang +Trang converts between different schema languages for XML. It supports the +following languages: RELAX NG (both XML and compact syntax), XML 1.0 DTDs, W3C +XML Schema. A schema written in any of the supported schema languages can be +converted into any of the other supported schema languages, except that W3C XML +Schema is supported for output only, not for input. + +%package -n dtdinst +Summary: XML DTD to XML instance format converter +Group: Productivity/Text/Utilities +Requires: java-headless +Requires: jpackage-utils + +%description -n dtdinst +DTDinst is a program for converting XML DTDs into an XML instance format. + +%prep +%setup -q + +cp %{SOURCE1} jing.pom +cp %{SOURCE2} trang.pom +cp %{SOURCE10} . +mv gcj/{trang,jing}.1 . + +%patch0 -p1 +%patch2 -p1 +%patch3 -p1 +rm -f \ + mod/schematron/src/main/com/thaiopensource/validate/schematron/OldSaxonSchemaReaderFactory.java +sed -i -e 's/\r//g' lib/isorelax.copying.txt +sed -i -e 's|"\(copying\.txt\)"|"%{_licensedir}/dtdinst/\1"|' \ + dtdinst/index.html +sed -i -e 's|"\(copying\.txt\)"|"%{_licensedir}/trang/\1"|' \ + trang/doc/trang.html trang/doc/trang-manual.html + +%build +CLASSPATH=$(build-classpath \ + xalan-j2 xalan-j2-serializer xerces-j2 xml-commons-apis \ + saxon10 relaxngDatatype) \ +%{ant} \ + -Dlib.dir=%{_javadir} -Dbuild.sysclasspath=last \ + -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ + dist + +%install +install -dm 0755 %{buildroot}{%{_mandir}/man1,%{_javadocdir}} + +unzip build/dist/jing-%{version}.zip +unzip build/dist/trang-%{version}.zip +unzip build/dist/dtdinst-%{version}.zip +rm -f jing-%{version}/sample/datatype/datatype-sample.jar + +# JAR artifacts +install -dm 0755 %{buildroot}%{_javadir} +install -dm 0755 %{buildroot}%{_mavenpomdir} + +install -pm 0644 jing-%{version}/bin/jing.jar %{buildroot}%{_javadir}/jing.jar +%mvn_install_pom jing.pom %{buildroot}%{_mavenpomdir}/jing.pom +%add_maven_depmap jing.pom jing.jar -f jing + +install -pm 0644 trang-%{version}/trang.jar %{buildroot}%{_javadir}/trang.jar +%mvn_install_pom trang.pom %{buildroot}%{_mavenpomdir}/trang.pom +%add_maven_depmap trang.pom trang.jar -f trang + +install -pm 0644 dtdinst-%{version}/dtdinst.jar %{buildroot}%{_javadir}/dtdinst.jar +%add_maven_depmap org.relaxng:dtdinst:%{version} dtdinst.jar -f dtdinst + +# API cocumentation +mv jing-%{version}/doc/api %{buildroot}%{_javadocdir}/jing +%fdupes %{buildroot}%{_javadocdir} + +# We need to redefine name here to make jpackage_script aware of +# the correct name, otherwise it would use "jing-trang" in configuration names etc. +%define name jing +%jpackage_script com.thaiopensource.relaxng.util.Driver "" "" jing:relaxngDatatype:xml-commons-resolver:xerces-j2 jing true +mkdir -p jing-%{version}/_licenses +mv jing-%{version}/doc/*copying.* jing-%{version}/_licenses + +%define name trang +%jpackage_script com.thaiopensource.relaxng.translate.Driver "" "" trang:relaxngDatatype:xml-commons-resolver:xerces-j2 trang true + +%define name dtdinst +%jpackage_script com.thaiopensource.xml.dtd.app.Driver "" "" dtdinst dtdinst true + +# Install manpages and replace @VERSION@ +install -Dm0644 {dtdinst,jing,trang}.1 %{buildroot}%{_mandir}/man1/ +sed -i 's/@VERSION@/%{version}/g' %{buildroot}%{_mandir}/man1/*.1 + +%files -n jing -f .mfiles-jing +%license jing-%{version}/_licenses/* +%doc jing-%{version}/{readme.html,doc,sample} +%{_mandir}/man1/jing.1%{?ext_man} +%{_bindir}/jing + +%files -n jing-javadoc +%{_javadocdir}/jing +%license jing-%{version}/_licenses/* + +%files -n trang -f .mfiles-trang +%license trang-%{version}/copying.txt +%doc trang-%{version}/*.html +%{_bindir}/trang +%{_mandir}/man1/trang.1%{?ext_man} + +%files -n dtdinst -f .mfiles-dtdinst +%license dtdinst-%{version}/copying.txt +%doc dtdinst-%{version}/*.{html,rng,xsl} +%doc dtdinst-%{version}/{dtdinst.rnc.txt,teixml.dtd.txt,example} +%{_bindir}/dtdinst +%{_mandir}/man1/dtdinst.1%{?ext_man} + +%changelog diff --git a/no-tests.patch b/no-tests.patch new file mode 100644 index 0000000..76e3cbe --- /dev/null +++ b/no-tests.patch @@ -0,0 +1,123 @@ +From 1c6338f2640ed9e7a93f84986d3019a22450515a Mon Sep 17 00:00:00 2001 +From: Tom Schraitle +Date: Mon, 25 Jul 2022 19:08:57 +0200 +Subject: [PATCH] No tests + +--- + build.xml | 2 +- + build.xsl | 6 +----- + mod/catalog/mod.xml | 3 +-- + mod/infer/mod.xml | 3 +-- + mod/pattern/mod.xml | 3 +-- + mod/rng-jaxp/mod.xml | 3 +-- + mod/util/mod.xml | 3 +-- + mod/xsd-datatype/mod.xml | 4 +--- + 8 files changed, 8 insertions(+), 19 deletions(-) + +diff --git a/build.xml b/build.xml +index 51c695f..b88d420 100644 +--- a/build.xml ++++ b/build.xml +@@ -409,7 +409,7 @@ + + + +- + + +diff --git a/build.xsl b/build.xsl +index e45acf6..334b1a6 100644 +--- a/build.xsl ++++ b/build.xsl +@@ -15,11 +15,7 @@ + + + +- +- +- +- +- ++ + + + +diff --git a/mod/catalog/mod.xml b/mod/catalog/mod.xml +index 5398646..ae21910 100644 +--- a/mod/catalog/mod.xml ++++ b/mod/catalog/mod.xml +@@ -1,6 +1,5 @@ + +- +- ++ + + + +diff --git a/mod/infer/mod.xml b/mod/infer/mod.xml +index 8a781e9..e997d69 100644 +--- a/mod/infer/mod.xml ++++ b/mod/infer/mod.xml +@@ -4,6 +4,5 @@ + + + +- +- ++ + +diff --git a/mod/pattern/mod.xml b/mod/pattern/mod.xml +index 875f1cb..1f1f199 100644 +--- a/mod/pattern/mod.xml ++++ b/mod/pattern/mod.xml +@@ -4,6 +4,5 @@ + + + +- +- ++ + +diff --git a/mod/rng-jaxp/mod.xml b/mod/rng-jaxp/mod.xml +index 48c5d8c..c387216 100644 +--- a/mod/rng-jaxp/mod.xml ++++ b/mod/rng-jaxp/mod.xml +@@ -8,6 +8,5 @@ + + + +- +- ++ + +diff --git a/mod/util/mod.xml b/mod/util/mod.xml +index d9e1853..5317816 100644 +--- a/mod/util/mod.xml ++++ b/mod/util/mod.xml +@@ -1,5 +1,4 @@ + +- +- ++ + + +diff --git a/mod/xsd-datatype/mod.xml b/mod/xsd-datatype/mod.xml +index cc7645b..2d717b3 100644 +--- a/mod/xsd-datatype/mod.xml ++++ b/mod/xsd-datatype/mod.xml +@@ -3,9 +3,7 @@ + + + +- +- +- ++ + + + +-- +2.35.3 + diff --git a/old-saxon.patch b/old-saxon.patch new file mode 100644 index 0000000..7a541c4 --- /dev/null +++ b/old-saxon.patch @@ -0,0 +1,20 @@ +--- jing-trang-20181222/mod/schematron/mod.xml 2018-12-21 23:36:19.000000000 +0100 ++++ jing-trang-20181222/mod/schematron/mod.xml 2021-07-02 13:29:44.941625566 +0200 +@@ -6,9 +6,6 @@ + + + +- + +@@ -39,7 +36,6 @@ + + + +- + + + diff --git a/trang-20220510.pom b/trang-20220510.pom new file mode 100644 index 0000000..3571c6b --- /dev/null +++ b/trang-20220510.pom @@ -0,0 +1,51 @@ + + + 4.0.0 + org.relaxng + trang + 20220510 + Trang + Trang, a multi-format schema converter based on RELAX NG. + http://www.thaiopensource.com/relaxng/trang.html + + + 3-clause BSD license + https://github.com/relaxng/jing-trang/blob/master/copying.txt + repo + + + + + jjc@jclark.com + James Clark + jjc@jclark.com + http://jclark.com/ + + + georgebina + George Bina + george@oxygenxml.com + http://www.oxygenxml.com + + + sideshowbarker + Michael[tm] Smith + mike@w3.org + https://people.w3.org/mike/ + + + + GitHub Issues + https://github.com/relaxng/jing-trang/issues + + + scm:git:git@github.com:relaxng/jing-trang.git + scm:git:git@github.com:relaxng/jing-trang.git + https://github.com/relaxng/jing-trang/ + + + Travis CI + https://travis-ci.org/relaxng/jing-trang + +