package init
This commit is contained in:
parent
474a5adb74
commit
fcbbc738a6
6
isorelax-20030108.pom
Normal file
6
isorelax-20030108.pom
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<project>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>isorelax</groupId>
|
||||||
|
<artifactId>isorelax</artifactId>
|
||||||
|
<version>20030108</version>
|
||||||
|
</project>
|
||||||
44
isorelax-apidocsandcompressedjar.patch
Normal file
44
isorelax-apidocsandcompressedjar.patch
Normal file
@ -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 @@
|
||||||
|
<fileset dir="lib" includes="*.jar" />
|
||||||
|
</classpath>
|
||||||
|
</javac>
|
||||||
|
+
|
||||||
|
+ <!-- api docs -->
|
||||||
|
+ <mkdir dir="apidocs"/>
|
||||||
|
+ <javadoc packagenames="org.*"
|
||||||
|
+ sourcepath="src"
|
||||||
|
+ destdir="apidocs"
|
||||||
|
+ windowtitle="ISORELAX"
|
||||||
|
+ doctitle="ISORELAX"
|
||||||
|
+ public="true"
|
||||||
|
+ version="true"
|
||||||
|
+ author="true"
|
||||||
|
+ splitindex="false"
|
||||||
|
+ nodeprecated="true"
|
||||||
|
+ nodeprecatedlist="true"
|
||||||
|
+ notree="true"
|
||||||
|
+ noindex="false"
|
||||||
|
+ nohelp="true"
|
||||||
|
+ nonavbar="false"
|
||||||
|
+ serialwarn="false">
|
||||||
|
+ </javadoc>
|
||||||
|
|
||||||
|
<!-- create a time stamp file -->
|
||||||
|
<echo file="temp/version.properties">version=${DSTAMP}</echo>
|
||||||
|
@@ -32,8 +52,7 @@
|
||||||
|
|
||||||
|
<!-- creates binary jar -->
|
||||||
|
<delete file="isorelax.jar"/>
|
||||||
|
- <jar jarfile="isorelax.jar"
|
||||||
|
- compress="false">
|
||||||
|
+ <jar jarfile="isorelax.jar">
|
||||||
|
<fileset dir="temp" />
|
||||||
|
<fileset dir="" includes="COPYING.txt"/>
|
||||||
|
<!-- resource files -->
|
||||||
BIN
isorelax-release-20050331-src.tar.bz2
Normal file
BIN
isorelax-release-20050331-src.tar.bz2
Normal file
Binary file not shown.
48
isorelax.spec
Normal file
48
isorelax.spec
Normal file
@ -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 <liyanan032@huawei.com> - 0-1
|
||||||
|
- Package init
|
||||||
4
isorelax.yaml
Normal file
4
isorelax.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
66
license.txt
Normal file
66
license.txt
Normal file
@ -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 <http://www.apache.org/>.
|
||||||
Loading…
x
Reference in New Issue
Block a user