diff --git a/isorelax-20030108.pom b/isorelax-20030108.pom new file mode 100644 index 0000000000000000000000000000000000000000..9f349fe990f66f0c70060416e8b0c7d33bf1db31 --- /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-apidocsandcompressedjar.patch b/isorelax-apidocsandcompressedjar.patch new file mode 100644 index 0000000000000000000000000000000000000000..afee8c5a4038869d33724604e2cfa574754d071d --- /dev/null +++ b/isorelax-apidocsandcompressedjar.patch @@ -0,0 +1,44 @@ +Index: build.xml +=================================================================== +RCS file: /cvsroot/iso-relax/build.xml,v +retrieving revision 1.2 +diff -u -p -r1.2 build.xml +--- build.xml 11 Nov 2004 13:32:16 -0000 1.2 ++++ build.xml 13 Feb 2007 15:39:47 -0000 +@@ -12,6 +12,26 @@ + + + ++ ++ ++ ++ ++ + + + version=${DSTAMP} +@@ -32,8 +52,7 @@ + + + +- ++ + + + diff --git a/isorelax-release-20050331-src.tar.bz2 b/isorelax-release-20050331-src.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..45b4446bd4135ebe7da169b01ef3431d0c07edf7 Binary files /dev/null and b/isorelax-release-20050331-src.tar.bz2 differ diff --git a/isorelax.spec b/isorelax.spec new file mode 100644 index 0000000000000000000000000000000000000000..5fbeb0fe514192a88f2a63f291640fb8a1a46a74 --- /dev/null +++ b/isorelax.spec @@ -0,0 +1,48 @@ +%global cvstag release-20050331 +Name: isorelax +Summary: Public interfaces for RELAX Core +URL: http://iso-relax.sourceforge.net/ +Epoch: 1 +Version: 0 +Release: 1 +License: MIT and ASL 1.1 +BuildArch: noarch +Source0: https://apt.linuxfans.org/magic/3.0/sources/SOURCES.i/isorelax/%{name}-%{cvstag}-src.tar.bz2 +Source1: https://apt.linuxfans.org/magic/3.0/sources/SOURCES.i/isorelax/license.txt +Source2: https://apt.linuxfans.org/magic/3.0/sources/SOURCES.i/isorelax/%{name}-20030108.pom +Patch0: isorelax-apidocsandcompressedjar.patch +BuildRequires: javapackages-local ant +%description +The ISO RELAX project was started to host public interfaces +useful for applications to support RELAX Core. Now, however, +some of the hosted material is schema language-neutral. + +%package javadoc +Summary: API documentation for %{name} +%description javadoc +%{summary}. + +%prep +%setup -q -n %{name}-%{cvstag}-src +find -name "*.jar" -delete +ln -s %{_javadir}/ant.jar lib/ +%patch0 -p0 +cp %{SOURCE1} . + +%build +ant release + +%install +%mvn_file : %{name} +%mvn_artifact %{SOURCE2} %{name}.jar +%mvn_install -J apidocs + +%files -f .mfiles +%license license.txt + +%files javadoc -f .mfiles-javadoc +%license license.txt + +%changelog +* Thu Jul 23 2020 yanan li - 0-1 +- Package init diff --git a/isorelax.yaml b/isorelax.yaml new file mode 100644 index 0000000000000000000000000000000000000000..00bbaf050db91e87f0ad529e5c29027a1bf150ae --- /dev/null +++ b/isorelax.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/license.txt b/license.txt new file mode 100644 index 0000000000000000000000000000000000000000..93e36f9928befb005ef0ad8519ae9e96228ae2c9 --- /dev/null +++ b/license.txt @@ -0,0 +1,66 @@ +The MIT License (MIT) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Apache Software License +Version 1.1 + +Copyright (c) 2000 The Apache Software Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must +include the following acknowledgment: + +"This product includes software developed by the Apache Software Foundation +(http://www.apache.org/)." + +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. + +4. The names "Apache" and "Apache Software Foundation" must not be used to +endorse or promote products derived from this software without prior written +permission. For written permission, please contact apache@apache.org. + +5. Products derived from this software may not be called "Apache", nor may +"Apache" appear in their name, without prior written permission of the Apache +Software Foundation. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE +SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This software consists of voluntary contributions made by many individuals on +behalf of the Apache Software Foundation. For more information on the Apache +Software Foundation, please see .