From 5915cc863a218519ddeac1b8d4cc5cf241d96a0b223bc34cb4e47a38199961cd Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 18 Sep 2008 02:34:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/isorelax?expand=0&rev=1 --- .gitattributes | 23 ++ .gitignore | 1 + isorelax-build.xml | 74 ++++ isorelax-java5-compatibility.patch | 15 + isorelax-maven-project.xml | 608 +++++++++++++++++++++++++++++ isorelax-maven-project.xsd | 428 ++++++++++++++++++++ isorelax.20041111.zip | 3 + isorelax.changes | 10 + isorelax.spec | 130 ++++++ ready | 0 10 files changed, 1292 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 isorelax-build.xml create mode 100644 isorelax-java5-compatibility.patch create mode 100644 isorelax-maven-project.xml create mode 100644 isorelax-maven-project.xsd create mode 100644 isorelax.20041111.zip create mode 100644 isorelax.changes create mode 100644 isorelax.spec create mode 100644 ready 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/isorelax-build.xml b/isorelax-build.xml new file mode 100644 index 0000000..1b8a816 --- /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..974c6c7 --- /dev/null +++ b/isorelax.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +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..3b1787d --- /dev/null +++ b/isorelax.spec @@ -0,0 +1,130 @@ +# +# spec file for package isorelax (Version 0.1) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define with_tests %{?_with_tests:1}%{!?_with_tests:0} +%define without_tests %{!?_with_tests:1}%{?_with_tests:0} +%define section free +%define cvsversion 20041111 + +Name: isorelax +Summary: Public interfaces useful for applications to support RELAX Core +Url: http://iso-relax.sourceforge.net/ +Version: 0.1 +Release: 3 +License: X11/MIT +Group: Development/Libraries/Java +BuildArch: noarch +Source0: %{name}.%{cvsversion}.zip +Source1: %{name}-build.xml +Source2: isorelax-maven-project.xml +Source3: isorelax-maven-project.xsd +Patch0: isorelax-java5-compatibility.patch +BuildRequires: jpackage-utils >= 1.6 +BuildRequires: ant +%if %{with_tests} +BuildRequires: xercesjarv +%endif +BuildRequires: xerces-j2 +BuildRequires: xml-commons-apis +BuildRequires: unzip +BuildRequires: java-devel +Requires: xerces-j2 +Requires: xml-commons-apis +Obsoletes: isorelax-bootstrap +Provides: isorelax-bootstrap +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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. + + + +%package javadoc +License: X11/MIT +Summary: Public interfaces useful for applications to support RELAX Core +Group: Productivity/Publishing/XML + +%description javadoc +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 -T -c -n %{name}-%{version} +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-commons-apis \ +) +%if %{with_tests} +CLASSPATH=$CLASSPATH:$(build-classpath xercesjarv) +ln -s $(find-jar xercesjarv) xercesjarv.jar +%endif +ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ + -Dbuild.sysclasspath=only release +%if %{with_tests} +CLASSPATH=isorelax.jar:$CLASSPATH +ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ + -Dbuild.sysclasspath=first ant-task-test +%endif + +%install +# jars +install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -m 644 %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +# javadoc +install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +cp -pr apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING.txt +%{_javadir}/* + +%files javadoc +%defattr(-,root,root) +%{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} + +%changelog +* Mon Sep 15 2008 mvyskocil@suse.cz +- -target=1.5 -source=1.5 +* Wed Aug 20 2008 mvyskocil@suse.cz +- Initial packaging of version 0.1 (based on jpp1.7) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4