This commit is contained in:
commit
45ea8a3bb4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
212
LICENSE.html
Normal file
212
LICENSE.html
Normal file
@ -0,0 +1,212 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
||||
|
||||
|
||||
|
||||
<title>IPR Notice and Disclaimers</title>
|
||||
<link rel="stylesheet" type="text/css" href="LICENSE_soubory/base.css">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
h2, h3, h4 { font-weight: bolder; }
|
||||
-->
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
</head><body text="#000000" bgcolor="#ffffff">
|
||||
<p><a href="http://www.w3.org/"><img src="LICENSE_soubory/w3c_home.png" alt="W3C" border="0"></a></p>
|
||||
|
||||
<h1>W3C<sup></sup> Intellectual Rights Notice and Legal Disclaimers</h1>
|
||||
|
||||
<p>This page includes notices and disclaimers related to:</p>
|
||||
<ol>
|
||||
<li><a href="#Copyright">Copyright</a></li>
|
||||
<li><a href="#Notices">Notices</a></li>
|
||||
<li><a href="#W3C_Trademarks">Trademarks</a></li>
|
||||
<li><a href="#Legal_Disclaimer">Disclaimers and Liabilities</a></li>
|
||||
</ol>
|
||||
|
||||
<p>See also <a href="http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html">Licenses for W3C Test Suites</a></p>
|
||||
|
||||
<h3><a id="Copyright" name="Copyright">Copyright</a> 1994-2008 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a> <sup></sup> (<a href="http://www.csail.mit.edu/">Massachusetts Institute of Technology</a>, <a href="http://www.ercim.org/">European Research Consortium for Informatics and
|
||||
Mathematics</a>, <a href="http://www.keio.ac.jp/">Keio University</a>), All
|
||||
Rights Reserved.</h3>
|
||||
|
||||
<p>World Wide Web Consortium (W3C<sup></sup>) web site pages may contain
|
||||
other proprietary notices and copyright information, the terms of which must
|
||||
be observed and followed. Specific notices do exist for W3C <a href="http://www.w3.org/Consortium/Legal/copyright-documents">documents</a>
|
||||
and <a href="http://www.w3.org/Consortium/Legal/copyright-software">software</a>.
|
||||
Also, there are <a href="http://www.w3.org/Consortium/Legal/logo-usage-20000308.html">specific
|
||||
usage policies associated with some of the W3C Icons</a>. Please see our
|
||||
<strong><a href="http://www.w3.org/Consortium/Legal/IPR-FAQ">Intellectual
|
||||
Rights FAQ</a></strong> for common questions about using materials from our
|
||||
site.</p>
|
||||
|
||||
<h2><a id="Notices" name="Notices">Notice and Disclaimers</a></h2>
|
||||
|
||||
<p>1. Unless otherwise noted, all materials contained in this Site are
|
||||
copyrighted and may not be used except as provided in these terms and
|
||||
conditions or in the copyright notice (<a href="http://www.w3.org/Consortium/Legal/copyright-documents">documents</a>
|
||||
and <a href="http://www.w3.org/Consortium/Legal/copyright-software">software</a>) or
|
||||
other proprietary notice provided with the relevant materials.</p>
|
||||
|
||||
<p>2. The materials contained in the Site may be downloaded or copied
|
||||
provided that ALL copies retain the copyright and any other proprietary
|
||||
notices contained on the materials. No material may be modified, edited or
|
||||
taken out of context such that its use creates a false or misleading
|
||||
statement or impression as to the positions, statements or actions of W3C.</p>
|
||||
|
||||
<p>3. The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the Web site, its content,
|
||||
specifications, or software without specific, written prior permission. Title
|
||||
to copyright in Web site documents will at all times remain with copyright
|
||||
holders. Use of W3C trademarks and service marks is covered by the <a href="http://www.w3.org/Consortium/Legal/trademark-license">W3C Trademark and
|
||||
Servicemark License</a>.</p>
|
||||
|
||||
<p>4. Caches of W3C materials should comply with the "maximum time to live"
|
||||
information provided with the materials. After such materials have expired
|
||||
they should not be served from caches without first validating the contents
|
||||
of the W3C Site. Organizations that want to mirror W3C content must abide by
|
||||
the <a href="http://www.w3.org/1999/10/21-mirroring-policy">W3C Mirroring
|
||||
Policy.</a></p>
|
||||
|
||||
<h3>W3C<sup></sup><a id="W3C_Trademarks" name="W3C_Trademarks">Trademarks
|
||||
and Generic Terms</a></h3>
|
||||
|
||||
<h4>Trademarks owned by W3C host institutions on behalf of W3C and generic
|
||||
terms used by the W3C</h4>
|
||||
|
||||
<p>5. The trademarks, logos, and service marks (collectively the
|
||||
"Trademarks") displayed on the Site are registered and unregistered
|
||||
Trademarks of the Massachusetts Institute of Technology (MIT), European
|
||||
Research Consortium for Informatics and Mathematics (ERCIM), or Keio
|
||||
University (Keio). All use of the W3C Trademarks is governed by the <a href="http://www.w3.org/Consortium/Legal/trademark-license">W3C Trademark and
|
||||
Servicemark License</a>. No additional rights are granted by implication,
|
||||
estoppel, or otherwise. Terms which claimed as generic are not governed by
|
||||
any W3C license and are used as common descriptors by the W3C.</p>
|
||||
|
||||
<p>The following is a list of W3C terms claimed as a trademark or generic
|
||||
term by MIT, ERCIM, and/or Keio on behalf of the W3C:</p>
|
||||
|
||||
<blockquote>
|
||||
<p><strong>W3C<sup></sup>, World Wide Web Consortium</strong>
|
||||
(registered in numerous countries)<br>
|
||||
Amaya™, a Web Browser/Editor<br>
|
||||
ACSS (generic), Aural Cascading Style Sheets<br>
|
||||
CSS (generic), Cascading Style Sheets Specification<br>
|
||||
DOM (generic), Document Object Model<br>
|
||||
DSig (generic), Digital Signature Initiative<br>
|
||||
HTML (generic), HyperText Markup Language<br>
|
||||
HTTP (generic), Hypertext Transfer Protocol<br>
|
||||
JEP (generic)I, Joint Electronic Payment Initiative<br>
|
||||
Jigsaw™, Java Web Server<br>
|
||||
MathML (generic), Mathematical Markup Language<br>
|
||||
Metadata (generic)<br>
|
||||
P3P<sup></sup>, Platform for Privacy Preferences Project<br>
|
||||
PICS (generic), Platform for Internet Content Selection<br>
|
||||
PICSRules (generic), Rules Language for PICS<br>
|
||||
RDF (generic), Resource Description Framework<br>
|
||||
SMIL (generic), Synchronized Multimedia Integration Language<br>
|
||||
SVG (generic), Scalable Vector Graphics<br>
|
||||
WAI™, Web Accessibility Initiative<br>
|
||||
WebFonts (generic)<br>
|
||||
XENC (generic), XML Encryption<br>
|
||||
XHTML (generic), The Extensible HyperText Markup Language<br>
|
||||
XML (generic), Extensible Markup Language<br>
|
||||
XMLDSIG (generic), XML Signatures<br>
|
||||
XSL (generic), Extensible Stylesheet Language<br>
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>The absence of a product or service name or logo from this list does not
|
||||
constitute a waiver of MIT's, ERCIM's, or Keio's trademark, ability to use a
|
||||
generic term, or other intellectual rights concerning that name or logo.</p>
|
||||
|
||||
<p>Any questions concerning the use, status, or standing of W3C trademarks
|
||||
should be directed to: <a href="mailto:site-policy@w3.org">site-policy@w3.org</a> or to W3C, Computer Science and Artificial
|
||||
Intelligence Laboratory, Massachusetts Institute of
|
||||
Technology, 77 Massachusetts Ave., Cambridge, MA 02139 USA.</p>
|
||||
|
||||
<h4>Non-W3C Trademarks; Member Trademarks</h4>
|
||||
|
||||
<p>The trademarks, logos, and service marks not owned on behalf of the W3C
|
||||
and that are displayed on the Site are the registered and unregistered marks
|
||||
of their respective owners. No rights are granted by the W3C to use such
|
||||
marks, whether by implication, estoppel, or otherwise.</p>
|
||||
<ul>
|
||||
<li>"METADATA" is a trademark of the Metadata Company. W3C uses the term
|
||||
"metadata" in a descriptive sense, meaning "data about data". W3C is not
|
||||
in any way affiliated with the Metadata Company.</li>
|
||||
</ul>
|
||||
|
||||
<h3><a id="Legal_Disclaimer" name="Legal_Disclaimer"></a>Legal
|
||||
Disclaimers</h3>
|
||||
|
||||
<p>6. W3C has not reviewed any or all of the web sites linked to this Site
|
||||
and is not responsible for the content of any off-site pages or any other web
|
||||
sites linked to this Site. Please understand that any non-W3C web site is
|
||||
independent from W3C, and W3C has no control over the content on that web
|
||||
site. In addition, a link to a non-W3C web site does not mean that W3C
|
||||
endorses or accepts any responsibility for the content, or the use, of such
|
||||
site. It is the user's responsibility to take precautions to ensure that
|
||||
whatever is selected is free of such items as viruses, worms, Trojan horses
|
||||
and other items of a destructive nature.</p>
|
||||
|
||||
<p>7. Information W3C publishes on its Site may contain references or cross
|
||||
references to W3C specifications, projects, programs and services that are
|
||||
not announced or available in your country. Such references do not imply that
|
||||
W3C intends to announce such specifications, projects, programs or services
|
||||
in your country.</p>
|
||||
|
||||
<p>8. Information on this Site may contain technical inaccuracies or
|
||||
typographical errors. Information may be changed or updated without notice.
|
||||
W3C may make improvements and/or changes in the materials contained in or
|
||||
described on this site at any time without notice. W3C may also make changes
|
||||
in these Terms and Conditions without notice. User is bound by such revisions
|
||||
and should therefore periodically visit this page to review the then current
|
||||
Terms and Conditions.</p>
|
||||
|
||||
<h3>9. Limitation on Warranties.</h3>
|
||||
|
||||
<p>ALL MATERIALS ON THE W3C SITE ARE PROVIDED "AS IS." W3C, MIT, ERCIM, AND
|
||||
KEIO MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING,
|
||||
BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, TITLE OR NON-INFRINGEMENT. AS TO DOCUMENTS AND GRAPHICS PUBLISHED ON
|
||||
THIS SITE, W3C, MIT, ERCIM, AND KEIO MAKE NO REPRESENTATION OR WARRANTY THAT
|
||||
THE CONTENTS OF SUCH DOCUMENT OR GRAPHICS ARE FREE FROM ERROR OR SUITABLE FOR
|
||||
ANY PURPOSE; NOR THAT IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY
|
||||
THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>Please note that some jurisdictions may not allow the exclusion of implied
|
||||
warranties, so some of the above exclusions may not apply to you.</p>
|
||||
|
||||
<h3>10. <strong>Limitation on Liability.</strong></h3>
|
||||
|
||||
<p>IN NO EVENT WILL W3C, MIT, ERCIM, AND KEIO BE LIABLE TO ANY PARTY FOR ANY
|
||||
DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES FOR ANY USE OF THIS SITE,
|
||||
OR ON ANY OTHER HYPERLINKED WEB SITE, INCLUDING, WITHOUT LIMITATION, ANY LOST
|
||||
PROFITS, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA ON YOUR
|
||||
INFORMATION HANDLING SYSTEM OR OTHERWISE, EVEN IF W3C, MIT, ERCIM, OR KEIO IS
|
||||
EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
|
||||
|
||||
<p>______________</p>
|
||||
|
||||
<p>Please see our <a href="http://www.w3.org/Consortium/Legal/IPR-FAQ"><strong>Intellectual Rights
|
||||
FAQ</strong></a> for common questions about using materials from our site.
|
||||
Questions about this notice can be directed to <a href="mailto:site-policy@w3.org">site-policy@w3.org</a> .</p>
|
||||
|
||||
<p></p>
|
||||
<address>
|
||||
Joseph Reagle <<a href="mailto:site-policy@w3.org">site-policy@w3.org></a>
|
||||
</address>
|
||||
|
||||
<p>Last revised $Id: ipr-notice-20021231.html,v 1.17 2008/08/20 18:56:27 ijacobs Exp $</p>
|
||||
|
||||
<p><a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
|
||||
1998-2007 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a> <sup></sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,<a href="http://www.ercim.org/">ERCIM</a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
|
||||
<a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
|
||||
<a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document
|
||||
use</a> and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software
|
||||
licensing</a> rules apply.</p>
|
||||
</body></html>
|
3
dom2-core-tests-20040405.jar
Normal file
3
dom2-core-tests-20040405.jar
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0a80cec1b9726210a8dda5ccf22668445afdda08c8b75a64e3a93c58957a67c
|
||||
size 1339111
|
112
dom2-core-tests-build_xml.patch
Normal file
112
dom2-core-tests-build_xml.patch
Normal file
@ -0,0 +1,112 @@
|
||||
--- build.xml.orig 2001-05-21 09:34:00.000000000 +0200
|
||||
+++ build.xml 2006-01-23 23:33:13.000000000 +0100
|
||||
@@ -1,24 +1,13 @@
|
||||
<!-- JUnit build script using ant 1.3 -->
|
||||
-<project name="junit" default="dist" basedir=".">
|
||||
+<project name="dom2-core-tests" default="dist" basedir=".">
|
||||
<target name="init">
|
||||
<tstamp/>
|
||||
- <property name="version" value="3.7" />
|
||||
- <property name="dist" value="junit${version}" />
|
||||
- <property name="versionfile" value="junit/runner/Version.java" />
|
||||
+ <property name="version" value="0.0.1" />
|
||||
+ <property name="dist" value="dom2-core-tests-${version}" />
|
||||
<property name="zipfile" value="${dist}.zip" />
|
||||
</target>
|
||||
|
||||
- <target name="versiontag" depends="init">
|
||||
- <filter token="version" value="${version}" />
|
||||
- <copy
|
||||
- file="${versionfile}"
|
||||
- tofile="${versionfile}tmp"
|
||||
- filtering="on"
|
||||
- />
|
||||
- <move file="${versionfile}tmp" tofile="${versionfile}" />
|
||||
- </target>
|
||||
-
|
||||
- <target name="build" depends="versiontag">
|
||||
+ <target name="build" depends="init">
|
||||
<javac
|
||||
srcdir="."
|
||||
destdir="."
|
||||
@@ -32,75 +21,23 @@
|
||||
<jar
|
||||
jarfile="${dist}/src.jar"
|
||||
basedir="."
|
||||
- excludes="${dist}/src.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, build.xml"
|
||||
+ excludes="${dist}/src.jar"
|
||||
/>
|
||||
<jar
|
||||
- jarfile="${dist}/junit.jar"
|
||||
+ jarfile="${dist}/dom2-core-tests.jar"
|
||||
basedir="."
|
||||
- excludes="${dist}/junit.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html, jar-manifest.txt"
|
||||
- />
|
||||
- <copy todir="${dist}/junit/samples">
|
||||
- <fileset dir="junit/samples" />
|
||||
- </copy>
|
||||
- <copy todir="${dist}/junit/tests">
|
||||
- <fileset dir="junit/tests" />
|
||||
- </copy>
|
||||
- <delete file="${dist}/junit/tests/test.jar"/>
|
||||
- <jar
|
||||
- jarfile="${dist}/junit/tests/test.jar"
|
||||
- basedir="."
|
||||
- includes="junit/tests/LoadedFromJar.class"
|
||||
+ includes="**/*.class"
|
||||
/>
|
||||
<mkdir dir="${dist}/javadoc" />
|
||||
<javadoc
|
||||
sourcepath="."
|
||||
- packagenames="junit.framework.*, junit.extensions.*"
|
||||
+ packagenames="org.w3c.domts.*"
|
||||
destdir="${dist}/javadoc"
|
||||
author="false"
|
||||
version="false"
|
||||
use="false"
|
||||
- windowtitle="JUnit API"
|
||||
+ windowtitle="DOM 2 Core Test Suite"
|
||||
/>
|
||||
- <copy todir="${dist}/doc">
|
||||
- <fileset dir="doc"/>
|
||||
- </copy>
|
||||
- <copy file="README.html" tofile="${dist}/README.html" />
|
||||
-
|
||||
- <java classname="junit.textui.TestRunner" fork="yes">
|
||||
- <arg value="junit.samples.AllTests" />
|
||||
- <classpath>
|
||||
- <pathelement location="${dist}" />
|
||||
- <pathelement location="${dist}/junit.jar" />
|
||||
- </classpath>
|
||||
- </java>
|
||||
</target>
|
||||
|
||||
- <target name="zip">
|
||||
- <!-- !!! hard code names, variable substitution doesn't work !!! -->
|
||||
- <zip
|
||||
- zipfile="junit3.6.zip"
|
||||
- basedir="."
|
||||
- includes="junit3.6/**"
|
||||
- />
|
||||
- </target>
|
||||
-
|
||||
- <target name="awtui" depends="dist">
|
||||
- <java classname="junit.awtui.TestRunner" fork="yes">
|
||||
- <arg value="junit.samples.AllTests" />
|
||||
- <classpath>
|
||||
- <pathelement location="${dist}" />
|
||||
- <pathelement location="${dist}/junit.jar" />
|
||||
- </classpath>
|
||||
- </java>
|
||||
- </target>
|
||||
-
|
||||
- <target name="swingui" depends="dist">
|
||||
- <java classname="junit.swingui.TestRunner" fork="yes">
|
||||
- <arg value="junit.samples.AllTests" />
|
||||
- <classpath>
|
||||
- <pathelement location="${dist}" />
|
||||
- <pathelement location="${dist}/junit.jar" />
|
||||
- </classpath>
|
||||
- </java>
|
||||
- </target>
|
||||
</project>
|
24
dom2-core-tests-explicit-javadoc.patch
Normal file
24
dom2-core-tests-explicit-javadoc.patch
Normal file
@ -0,0 +1,24 @@
|
||||
--- build.xml
|
||||
+++ build.xml
|
||||
@@ -28,16 +28,18 @@
|
||||
basedir="."
|
||||
includes="**/*.class"
|
||||
/>
|
||||
- <mkdir dir="${dist}/javadoc" />
|
||||
+ </target>
|
||||
+ <target name="javadoc">
|
||||
+ <mkdir dir="dom2-core-tests-0.0.1/javadoc" />
|
||||
<javadoc
|
||||
sourcepath="."
|
||||
packagenames="org.w3c.domts.*"
|
||||
- destdir="${dist}/javadoc"
|
||||
+ destdir="dom2-core-tests-0.0.1/javadoc"
|
||||
author="false"
|
||||
version="false"
|
||||
use="false"
|
||||
windowtitle="DOM 2 Core Test Suite"
|
||||
/>
|
||||
- </target>
|
||||
+ </target>
|
||||
|
||||
</project>
|
11
dom2-core-tests.changes
Normal file
11
dom2-core-tests.changes
Normal file
@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 10:44:13 CEST 2008 - mvyskocil@suse.cz
|
||||
|
||||
- Used a gcj instead of java-devel to prevent of an bootstrapping problem with
|
||||
openjdk
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 2 16:00:47 CEST 2008 - mvyskocil@suse.cz
|
||||
|
||||
- Initial packaging ov 0.0.1 (based on Jpackage 1.7)
|
||||
|
112
dom2-core-tests.spec
Normal file
112
dom2-core-tests.spec
Normal file
@ -0,0 +1,112 @@
|
||||
#
|
||||
# spec file for package dom2-core-tests (Version 0.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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define section free
|
||||
|
||||
Name: dom2-core-tests
|
||||
Summary: DOM Conformance Test Suite
|
||||
Version: 0.0.1
|
||||
Release: 3
|
||||
Group: Development/Libraries/Java
|
||||
License: Other uncritical OpenSource License; W3C Software License
|
||||
Url: http://www.w3.org/DOM/Test/
|
||||
BuildArch: noarch
|
||||
Source0: http://www.w3.org/2004/04/dom2-core-tests-20040405.jar
|
||||
Source1: LICENSE.html
|
||||
Patch0: dom2-core-tests-build_xml.patch
|
||||
Patch1: dom2-core-tests-explicit-javadoc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-1_5_0-gcj-compat-devel
|
||||
BuildRequires: jpackage-utils >= 1.5
|
||||
BuildRequires: unzip
|
||||
BuildRequires: junit
|
||||
|
||||
%description
|
||||
The DOM Test Suites (DOM TS) will consist of a number of tests for each
|
||||
level of the DOM specification. The tests will be represented in an XML
|
||||
grammar which ensures that tests can easily be ported from the
|
||||
description format to a number of specific language bindings. This
|
||||
grammar will be specified in XML Schema and DTD form. The grammar will
|
||||
be automatically generated from the DOM specifications themselves, to
|
||||
ensure stability and correctness.
|
||||
|
||||
|
||||
|
||||
%package javadoc
|
||||
License: Other uncritical OpenSource License; W3C Software License
|
||||
Group: Development/Libraries/Java
|
||||
Summary: DOM Conformance Test Suite
|
||||
|
||||
%description javadoc
|
||||
The DOM Test Suites (DOM TS) will consist of a number of tests for each
|
||||
level of the DOM specification. The tests will be represented in an XML
|
||||
grammar which ensures that tests can easily be ported from the
|
||||
description format to a number of specific language bindings. This
|
||||
grammar will be specified in XML Schema and DTD form. The grammar will
|
||||
be automatically generated from the DOM specifications themselves, to
|
||||
ensure stability and correctness.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
rm -rf junit
|
||||
find . -name "*.class" -exec rm {} \;
|
||||
%patch0 -b .orig
|
||||
%patch1 -b .explicit-javadoc
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath junit)
|
||||
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 dist
|
||||
ant javadoc
|
||||
|
||||
%install
|
||||
# jars
|
||||
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}
|
||||
vjar=$(echo %{name}.jar | sed s+.jar+-%{version}.jar+g)
|
||||
install -m 644 %{name}-%{version}/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/$vjar
|
||||
pushd $RPM_BUILD_ROOT%{_javadir}
|
||||
ln -fs $vjar %{name}.jar
|
||||
popd
|
||||
# javadoc
|
||||
install -d -m 0755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr %{name}-%{version}/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/
|
||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc LICENSE.html
|
||||
%{_javadir}/*
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Sep 11 2008 mvyskocil@suse.cz
|
||||
- Used a gcj instead of java-devel to prevent of an bootstrapping problem with
|
||||
openjdk
|
||||
* Tue Sep 02 2008 mvyskocil@suse.cz
|
||||
- Initial packaging ov 0.0.1 (based on Jpackage 1.7)
|
Loading…
Reference in New Issue
Block a user