commit 36eda63366a70bc516af7d921976059dabcce48af3b2e08df78f52354eafbb33 Author: Adrian Schröter Date: Fri May 3 13:50:37 2024 +0200 Sync from SUSE:SLFO:Main isorelax revision 6241e4fe4366f7e6c7280ce4edc37279 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/isorelax-20030108.pom b/isorelax-20030108.pom new file mode 100644 index 0000000..515d23b --- /dev/null +++ b/isorelax-20030108.pom @@ -0,0 +1,6 @@ + + 4.0.0 + isorelax + isorelax + 20030108 + \ No newline at end of file diff --git a/isorelax-build.xml b/isorelax-build.xml new file mode 100644 index 0000000..721bdd8 --- /dev/null +++ b/isorelax-build.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + version=${DSTAMP} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/isorelax-java5-compatibility.patch b/isorelax-java5-compatibility.patch new file mode 100644 index 0000000..de14738 --- /dev/null +++ b/isorelax-java5-compatibility.patch @@ -0,0 +1,15 @@ +--- src/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java ++++ src/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java +@@ -101,4 +101,12 @@ + { _WrappedFactory.setIgnoringElementContentWhitespace(whitespace); } + public void setNamespaceAware(boolean awareness) + { _WrappedFactory.setNamespaceAware(awareness); } ++ ++ //java5 build ++ public boolean getFeature(String name) throws ParserConfigurationException { ++ return _WrappedFactory.getFeature(name); ++ } ++ public void setFeature(String name, boolean value) throws ParserConfigurationException { ++ _WrappedFactory.setFeature(name, value); ++ } + } diff --git a/isorelax-maven-project.xml b/isorelax-maven-project.xml new file mode 100644 index 0000000..9b782a8 --- /dev/null +++ b/isorelax-maven-project.xml @@ -0,0 +1,608 @@ + + + + 3 + maven + Maven + 1.0-rc1-SNAPSHOT + + Apache Software Foundation + http://jakarta.apache.org/ + /images/jakarta-logo-blue.gif + + 2001 + org.apache.maven + /images/maven.jpg + + + jakarta + Maven is a project management and project comprehension tool. Maven is based on the concept of a project object model: builds, documentation creation, site publication, and distribution publication are all controlled from the project object model. Maven also provides tools to create source metrics, change logs based directly on source repository, and source cross-references. + Java Project Management Tools + http://maven.apache.org/ + http://jira.codehaus.org/BrowseProject.jspa?id=10030 + maven.apache.org + /www/maven.apache.org/ + /www/jakarta.apache.org/builds/jakarta-turbine-maven/ + + scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven + scm:cvs:ext:${maven.username}@cvs.apache.org:/home/cvs:maven + http://cvs.apache.org/viewcvs/maven/ + + + + b1 + 1.0-b1 + MAVEN_1_0_B1 + + + b2 + 1.0-b2 + MAVEN_1_0_B2 + + + b3 + 1.0-b3 + MAVEN_1_0_B3 + + + b4 + 1.0-b4 + MAVEN_1_0_B4 + + + b5 + 1.0-beta-5 + MAVEN_1_0_B5 + + + b6 + 1.0-beta-6 + MAVEN_1_0_B6 + + + b7 + 1.0-beta-7 + MAVEN_1_0_B7 + + + b8 + 1.0-beta-8 + MAVEN_1_0_B8 + + + b9 + 1.0-beta-9 + MAVEN_1_0_B9 + + + b10 + 1.0-beta-10 + MAVEN_1_0_B10 + + + b11 + 1.0-beta-11 + HEAD + + + + + + Maven User List + users-subscribe@maven.apache.org + users-unsubscribe@maven.apache.org + http://www.mail-archive.com/users@maven.apache.org/ + + + Maven Developer List + dev-subscribe@maven.apache.org + dev-unsubscribe@maven.apache.org + http://www.mail-archive.com/dev@maven.apache.org/ + + + + + Juancarlo Anez + juanco + juanco@apache.org + + + Java Developer + + + + Stephane Bailliez + sbailliez + sbailliez@apache.org + + + Java Developer + + + + Jeff Brekke + brekke + brekke@apache.org + + + Java Developer + + + + Tom Copeland + tcopeland + tcopeland@apache.org + InfoEther + + Java Developer + + + + Eric Dobbs + dobbs + eric@dobbse.net + + + Java Developer + + + + dIon Gillard + dion + dion@multitask.com.au + Multitask Consulting + + Java Developer + + +10 + + + Pete Kazmier + kaz + pete-apache-dev@kazmier.com + + + Documentation + Java Developer + + + + Peter Lynch + plynch + plynch@apache.org + + + Java Developer + + + + Glenn McAllister + glennm + glenn@somanetworks.com + SOMA Networks, Inc. + + Java Developer + + + + Bob McWhirter + werken + bob@werken.com + The Werken Company + + Java Developer + + + + Geir Magnusson Jr. + geirm + geirm@optonline.net + Independent (DVSL Maven) + + Java Developer + + + + Vincent Massol + vmassol + vmassol@pivolis.com + Pivolis + + Java Developer + + +18 + + + St�phane Mor + smor + stephanemor@yahoo.fr + + + Java Developer + + + + Kasper Nielsen + knielsen + apache@kav.dk + + + Developer + + + + Eric Pugh + epugh + epugh@upstate.com + + + Java Developer + + +1 + + + Daniel Rall + dlr + dlr@finemaltcoding.com + CollabNet, Inc. + + Java Developer + + + + Kurt Schrader + kschrader + kschrader@karmalab.org + University of Michigan + + Java Developer + + http://karmalab.org/~kschrader/ + + + James Strachan + jstrachan + james_strachan@yahoo.co.uk + Spiritsoft + + Java Developer + + + + James Taylor + jtaylor + james@jamestaylor.org + + + Java Developer + + + + Emmanuel Venisse + evenisse + evenisse@ifrance.com + Fi System + + Java Developer + + +18 + + + Jason van Zyl + jvanzyl + jason@zenplex.com + Zenplex + + Architect + Release Manager + + + + Ben Walding + bwalding + maven@walding.com + Walding Consulting Services + + Java Developer + + http://www.walding.com + +10 + + + Brett Porter + brett + brett@apache.org + f2 network + + Java Developer + + +10 + + + + + Alexei Barantsev + barancev@ispras.ru + + + Martin van dem Bemt + mvdb@mvdb.com + + + Nathan Coast + nathan.coast@blueyonder.co.uk + + + Martin Cooper + martin.cooper@tumbleweed.com + + + James CE Johnson + jcej@tragus.org + + + Mark Langley + mlangley@casebank.com + + + Brian Leonard + brian@brainslug.com + + + Michael McCallum + gholam@apache.org + + + Markus M. May + mmay@javafreedom.org + + + Tom Palmer + tomp@uk.uu.net + + + Martin Skopp + skopp@riege.de + Riege Software International + +1 + + + Kuisong Tong + Kuisong.Tong@vtradex.com + + + + + + The Apache Software License, Version 1.1 + http://cvs.apache.org/viewcvs.cgi/*checkout*/maven/LICENSE.txt + repo + + + + + + + + + + + dom4j + 1.4 + http://www.dom4j.org/ + + ouch + + + + ant + 1.5.3-1 + http://ant.apache.org/ + + + ant + ant-optional + 1.5.3-1 + http://jakarta.apache.org/ant/ + + + commons-betwixt + 1.0-beta-1.20030111.103454 + http://jakarta.apache.org/commons/betwixt/ + + + commons-digester + 1.4.1 + http://jakarta.apache.org/commons/digester.html + + + + commons-jelly + 20030724.033229 + http://jakarta.apache.org/commons/jelly/ + + + commons-jelly + commons-jelly-tags-ant + 20030625.032346 + http://jakarta.apache.org/commons/jelly/tags/ant/ + + + commons-jelly + commons-jelly-tags-define + 20030211.142932 + http://jakarta.apache.org/commons/jelly/tags/define/ + + + commons-jelly + commons-jelly-tags-util + 20030211.141939 + http://jakarta.apache.org/commons/jelly/tags/util/ + + + commons-graph + 0.8.1 + http://jakarta.apache.org/commons/sandbox/graph/ + + + commons-jexl + 1.0-beta-1 + http://jakarta.apache.org/commons/jexl/ + + + commons-logging + 1.0.1 + http://jakarta.apache.org/commons/logging.html + + + werkz + 1.0-beta-10 + http://werkz.codehaus.org/ + + + + + + commons-beanutils + 1.6.1 + http://jakarta.apache.org/commons/ + + + commons-cli + 1.0-beta-2 + http://jakarta.apache.org/commons/cli/ + + + commons-collections + 2.1 + http://jakarta.apache.org/commons/ + + + commons-grant + 1.0-beta-4 + http://jakarta.apache.org/commons/sandbox/grant/ + + + commons-io + 20030203.000550 + http://jakarta.apache.org/commons/ + + + commons-lang + 1.0-b1.1 + http://jakarta.apache.org/commons/ + + + forehead + 1.0-beta-4 + + + log4j + 1.2.8 + http://jakarta.apache.org/log4j/ + + + which + 1.0 + http://cvs.apache.org/viewcvs.cgi/xml-commons/java/src/org/apache/env/ + + + + + xml-apis + 1.0.b2 + http://xml.apache.org/xerces2-j/ + + + xerces + 2.4.0 + http://xml.apache.org/xerces2-j/ + + + + xpp3 + xpp3 + 1.1.2a + + + + plexus + plexus + 0.6 + + + + + dev@maven.apache.org + ${basedir}/src/java + ${basedir}/src/test/java + + + **/*Test.java + + + **/RepositoryTest.java + **/JAXPTest.java + + + + + ${basedir}/src/conf + + *.xsd + *.dtd + *.mod + *.properties + driver.jelly + + + + ${basedir}/src/messages + org/apache/maven/messages + + messages*.properties + + + + + + + + + maven-jdepend-plugin + maven-checkstyle-plugin + maven-changes-plugin + maven-changelog-plugin + maven-file-activity-plugin + maven-developer-activity-plugin + maven-javadoc-plugin + maven-jxr-plugin + maven-junit-report-plugin + maven-tasklist-plugin + maven-jellydoc-plugin + maven-pmd-plugin + maven-simian-plugin + maven-faq-plugin + maven-multiproject-plugin + + + + + + testValue + ${pomProperty} + + + diff --git a/isorelax-maven-project.xsd b/isorelax-maven-project.xsd new file mode 100644 index 0000000..2853b91 --- /dev/null +++ b/isorelax-maven-project.xsd @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/isorelax.20041111.zip b/isorelax.20041111.zip new file mode 100644 index 0000000..4b3e74d --- /dev/null +++ b/isorelax.20041111.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2fce4a64611737ecd52d5a5b816f572722602b62d2851b74279e7ccc2fab1476 +size 108294 diff --git a/isorelax.changes b/isorelax.changes new file mode 100644 index 0000000..789f84b --- /dev/null +++ b/isorelax.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Sat Mar 19 21:12:26 UTC 2022 - Fridrich Strba + +- Build with java target and source version 1.8 + +------------------------------------------------------------------- +Tue Dec 18 06:31:12 UTC 2018 - Fridrich Strba + +- Add maven pom file +- Build against the generic xml-apis provider + +------------------------------------------------------------------- +Fri Sep 8 08:01:30 UTC 2017 - fstrba@suse.com + +- Specify java target and source version to 1.6 in order to allow + building with jdk9 + +------------------------------------------------------------------- +Fri Jun 9 10:57:53 UTC 2017 - tchvatal@suse.com + +- Drop javadoc to build with gcj and low in the buildphase + +------------------------------------------------------------------- +Mon Sep 9 11:05:45 UTC 2013 - tchvatal@suse.com + +- Move from jpackage-utils to javapackage-tools + +------------------------------------------------------------------- +Sat Mar 2 08:13:19 UTC 2013 - coolo@suse.com + +- update license to new format + +------------------------------------------------------------------- +Mon Sep 15 14:01:56 CEST 2008 - mvyskocil@suse.cz + +- -target=1.5 -source=1.5 + +------------------------------------------------------------------- +Wed Aug 20 16:38:05 CEST 2008 - mvyskocil@suse.cz + +- Initial packaging of version 0.1 (based on jpp1.7) + diff --git a/isorelax.spec b/isorelax.spec new file mode 100644 index 0000000..6845794 --- /dev/null +++ b/isorelax.spec @@ -0,0 +1,94 @@ +# +# spec file for package isorelax +# +# Copyright (c) 2022 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/ +# + + +%define cvsversion 20041111 +Name: isorelax +Version: 0.1 +Release: 0 +Summary: Public interfaces useful for applications to support RELAX Core +License: Apache-2.0 AND MIT +Group: Development/Libraries/Java +URL: http://iso-relax.sourceforge.net/ +Source0: %{name}.%{cvsversion}.zip +Source1: %{name}-build.xml +Source2: isorelax-maven-project.xml +Source3: isorelax-maven-project.xsd +Source4: http://repo2.maven.org/maven2/%{name}/%{name}/20030108/%{name}-20030108.pom +Patch0: isorelax-java5-compatibility.patch +BuildRequires: ant +BuildRequires: java-devel +BuildRequires: javapackages-local +BuildRequires: unzip +BuildRequires: xerces-j2 +BuildRequires: xml-apis +Requires: xerces-j2 +Requires: xml-apis +Obsoletes: isorelax-bootstrap +Provides: isorelax-bootstrap +Obsoletes: %{name}-javadoc +BuildArch: noarch + +%description +The ISO RELAX project is started to host the public interfaces useful +for applications to support RELAX Core. But nowadays some of the stuff +we have is schema language neutral. + +%prep +%setup -q -T -c +unzip -q %{SOURCE0} +mkdir src +(cd src; unzip -q ../src.zip) +rm -f src.zip +cp %{SOURCE1} build.xml +mkdir test +cp %{SOURCE2} test +cp %{SOURCE3} test +chmod -R go=u-w * +find . -name "*.jar" -exec rm -f {} \; +rm -rf src/jp/gr/xml/relax/swift +%patch0 -b .sav0 + +%build +export CLASSPATH=$(build-classpath \ +xerces-j2 \ +xml-apis \ +) +ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \ + -Dbuild.sysclasspath=only release + +%install +# jars +install -d -m 755 %{buildroot}%{_javadir} +install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar +(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom +%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar + +%files +%license COPYING.txt +%{_javadir}/* +%{_mavenpomdir}/* +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif + +%changelog