commit 34332e0eb2ac45ec7849b85e7474f6cbfc48309ce4cd5fccb6227a24da3da761 Author: OBS User unknown Date: Wed Jun 3 02:39:44 2009 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jaxen-bootstrap?expand=0&rev=1 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/dom4j-1.6.1-debian.tar.bz2 b/dom4j-1.6.1-debian.tar.bz2 new file mode 100644 index 0000000..935f0ae --- /dev/null +++ b/dom4j-1.6.1-debian.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d72427a11a23df97f8957331269df7fde4fcc982ac3b9d399a49e4df8598b94a +size 1962425 diff --git a/jaxen-1.1-b7-build.xml b/jaxen-1.1-b7-build.xml new file mode 100644 index 0000000..9b7a56b --- /dev/null +++ b/jaxen-1.1-b7-build.xml @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================================= WARNING ================================ + Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed. + ========================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Proxy used : + Proxy host [${proxy.host}] + Proxy port [${proxy.port}] + Proxy user [${proxy.username}] + + + + Proxy not used. + + + + + + \ No newline at end of file diff --git a/jaxen-1.1-b7-jpp-depmap.xml b/jaxen-1.1-b7-jpp-depmap.xml new file mode 100644 index 0000000..e1595cd --- /dev/null +++ b/jaxen-1.1-b7-jpp-depmap.xml @@ -0,0 +1,91 @@ + + + + + dom4j + dom4j + 1.6.1 + + + JPP + dom4j + dom4j.jar + 1.6.1 + + + + + jdom + jdom + 1.0 + http://jdom.org + + + JPP + jdom + jdom.jar + 1.0 + http://jdom.org + + + + + xerces + xercesImpl + 2.6.2 + + + JPP + xercesImpl + xerces-j2.jar + 2.6.2 + + + + + xml-apis + xml-apis + 1.3.02 + + + JPP + xml-apis + xml-commons-jaxp-1.3-apis.jar + 1.3.02 + + + + + + xerces + xmlParserAPIs + 2.6.2 + + + JPP + xmlParserAPIs + xml-commons-jaxp-1.3-apis.jar + 2.6.2 + + + + + xom + xom + 1.0b3 + + + JPP + xom + xom.jar + 1.0b3 + + + + + JPP + junit + junit.jar + + + diff --git a/jaxen-1.1-src.tar.bz2 b/jaxen-1.1-src.tar.bz2 new file mode 100644 index 0000000..a5aab3e --- /dev/null +++ b/jaxen-1.1-src.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e92b123e7080f7c1442d2f5c0f308566e31767d7a2f6184fec849ee0d1dd796 +size 211854 diff --git a/jaxen-bootstrap-project_xml.patch b/jaxen-bootstrap-project_xml.patch new file mode 100644 index 0000000..7abf0c1 --- /dev/null +++ b/jaxen-bootstrap-project_xml.patch @@ -0,0 +1,60 @@ +--- project.xml.sav 2006-12-31 21:50:30.000000000 +0100 ++++ project.xml 2007-05-01 13:04:28.000000000 +0200 +@@ -237,7 +237,9 @@ + maven-jdepend-plugin + maven-checkstyle-plugin + maven-cobertura-plugin ++ + maven-developer-activity-plugin + maven-file-activity-plugin + maven-license-plugin +@@ -287,6 +289,7 @@ + 1.0 + + ++ ++ + + + maven-plugins +@@ -308,19 +311,20 @@ + plugin + + +- ++ + +- ++ ++--> + + + diff --git a/jaxen-bootstrap.changes b/jaxen-bootstrap.changes new file mode 100644 index 0000000..2222c60 --- /dev/null +++ b/jaxen-bootstrap.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Wed May 20 14:12:03 CEST 2009 - mvyskocil@suse.cz + +- Used dom4j-1.6.1-debian.tar.bz2 for build + It does not contains a license problematic parts + +------------------------------------------------------------------- +Tue May 12 11:02:21 CEST 2009 - mvyskocil@suse.cz + +- Initial packaging of jaxen-bootstrap in SUSE (from jpp 5.0) + diff --git a/jaxen-bootstrap.spec b/jaxen-bootstrap.spec new file mode 100644 index 0000000..fb37bbd --- /dev/null +++ b/jaxen-bootstrap.spec @@ -0,0 +1,165 @@ +# +# spec file for package jaxen-bootstrap (Version 1.1) +# +# Copyright (c) 2009 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_maven 0 +%define real jaxen +%define dom4jver 1.6.1 +%define section free + +Name: jaxen-bootstrap +Version: 1.1 +Release: 3 +Summary: A convenience package for build of dom4j +License: The Apache Software License +Url: http://jaxen.codehaus.org/ +Group: Development/Libraries/Java +Source0: http://dist.codehaus.org/jaxen/distributions/jaxen-1.1-src.tar.bz2 +Source1: pom-maven2jpp-depcat.xsl +Source2: pom-maven2jpp-newdepmap.xsl +Source3: pom-maven2jpp-mapdeps.xsl +Source4: jaxen-1.1-b7-jpp-depmap.xml +# Debian sources don't need a proprietary msv for build, so that's why I used them +# svn co svn://svn.debian.org/svn/pkg-java/trunk/dom4j +# rm dom4j/docs/xref/org/dom4j/tree/ConcurrentReaderHashMap.html +# rm dom4j/docs/clover/org/dom4j/tree/ConcurrentReaderHashMap.html +# #bnc501764 +# rm dom4j/lib/tools/clover.license +# tar --exclude-vcs -cjf dom4j-1.6.1-debian.tar.bz2 dom4j/ +Source5: http://prdownloads.sourceforge.net/dom4j/dom4j-%{dom4jver}-debian.tar.bz2 +Source6: jaxen-1.1-b7-build.xml +Patch0: jaxen-bootstrap-project_xml.patch +Requires: xalan-j2 +Requires: xerces-j2 +Requires: xom +BuildRequires: ant >= 1.6 +BuildRequires: jpackage-utils >= 1.6 +BuildRequires: junit +%if %{with_maven} +BuildRequires: maven >= 1.1 +BuildRequires: maven-plugins-base +BuildRequires: maven-plugin-license +BuildRequires: maven-plugin-test +BuildRequires: saxon +BuildRequires: saxon-scripts +%endif +BuildRequires: unzip +BuildRequires: xalan-j2 +BuildRequires: xerces-j2 +BuildRequires: xom +BuildRequires: java-devel +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Dom4j depends on a jaxen build with dom4j support. This package must +only be installed in the rare event of having to rebuild dom4j. + + + +%prep +%setup -q -n %{real}-%{version} +tar -xf %{SOURCE5} +#/bin/gzip -dc %{SOURCE5} | tar -xf - +cp %{SOURCE6} build.xml +find . -name "*.jar" -exec rm -f {} \; +%patch0 -b .sav +%if %{with_maven} +export DEPCAT=$(pwd)/jaxen-1.1-b7-depcat.new.xml +echo '' > $DEPCAT +echo '' >> $DEPCAT +for p in $(find . -name project.xml); do + pushd $(dirname $p) + /usr/bin/saxon project.xml %{SOURCE1} >> $DEPCAT + popd +done +echo >> $DEPCAT +echo '' >> $DEPCAT +/usr/bin/saxon $DEPCAT %{SOURCE2} > jaxen-1.1-b7-depmap.new.xml +%endif +rm -rf src/java/main/org/jaxen/jdom +rm -rf src/java/test/org/jaxen/jdom +rm -f src/java/test/org/jaxen/test/JaxenTests.java +rm -f src/java/test/org/jaxen/test/JDOMNavigatorTest.java +rm -f src/java/test/org/jaxen/test/JDOMPerformance.java +rm -f src/java/test/org/jaxen/test/JDOMTests.java +rm -f src/java/test/org/jaxen/test/JDOMXPathTest.java + +%build +export CLASSPATH=$(build-classpath \ +xom \ +jdom \ +xalan-j2 \ +xerces-j2 \ +) +pushd dom4j/src/java +javac -sourcepath ../../../src/java/main:. \ + org/dom4j/Attribute.java \ + org/dom4j/Branch.java \ + org/dom4j/CDATA.java \ + org/dom4j/Comment.java \ + org/dom4j/Document.java \ + org/dom4j/DocumentException.java \ + org/dom4j/Element.java \ + org/dom4j/Namespace.java \ + org/dom4j/Node.java \ + org/dom4j/ProcessingInstruction.java \ + org/dom4j/Text.java \ + org/dom4j/io/SAXReader.java +jar cf ../../dom4j.jar $(find . -name "*.class") +popd +mkdir -p .maven/repository/JPP/jars +cp dom4j/dom4j.jar .maven/repository/JPP/jars/dom4j.jar +%if %{with_maven} +for p in $(find . -name project.xml); do + pushd $(dirname $p) + cp project.xml project.xml.orig + /usr/bin/saxon -o project.xml project.xml.orig %{SOURCE3} map=%{SOURCE4} + popd +done +maven \ + -Dmaven.test.skip=true \ + -Dmaven.repo.remote=file:/usr/share/maven/repository \ + -Dmaven.home.local=$(pwd)/.maven \ + jar +%else +export CLASSPATH=$CLASSPATH:dom4j/dom4j.jar +ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ + -Dbuild.sysclasspath=first +%endif + +%install +# jars +install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -m 644 target/%{real}-%{version}-beta-7.jar \ +$RPM_BUILD_ROOT%{_javadir}/%{real}-%{version}.jar +(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do \ +ln -sf ${jar} ${jar/-%{version}/}; done) + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(0644,root,root,0755) +%{_javadir}/* + +%changelog +* Wed May 20 2009 mvyskocil@suse.cz +- Used dom4j-1.6.1-debian.tar.bz2 for build + It does not contains a license problematic parts +* Tue May 12 2009 mvyskocil@suse.cz +- Initial packaging of jaxen-bootstrap in SUSE (from jpp 5.0) diff --git a/pom-maven2jpp-depcat.xsl b/pom-maven2jpp-depcat.xsl new file mode 100644 index 0000000..e1042c5 --- /dev/null +++ b/pom-maven2jpp-depcat.xsl @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ERROR + + + + + + + + + + JPP + + + + + + + + + + + + + + + + + + + +ERROR + + + + + + + + + + + + + + + + + + +ERROR + + + + + + .jar + . + + + .jar + + + + + + + + + + + + diff --git a/pom-maven2jpp-mapdeps.xsl b/pom-maven2jpp-mapdeps.xsl new file mode 100644 index 0000000..d10cce7 --- /dev/null +++ b/pom-maven2jpp-mapdeps.xsl @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom-maven2jpp-newdepmap.xsl b/pom-maven2jpp-newdepmap.xsl new file mode 100644 index 0000000..ea1dcd3 --- /dev/null +++ b/pom-maven2jpp-newdepmap.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4