Merge pull request !1 from jinjin/yang
This commit is contained in:
openeuler-ci-bot 2019-12-23 14:23:56 +08:00 committed by Gitee
commit 9711505f5a
7 changed files with 102 additions and 75 deletions

13
MANIFEST.MF Normal file
View File

@ -0,0 +1,13 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Jakarta Oro
Bundle-SymbolicName: org.apache.oro
Bundle-Version: 2.0.8
Bundle-Vendor: Apache Software Foundation
Bundle-Localization: plugin
Export-Package: org.apache.oro.io;version="2.0.8", org.apache.oro.text
;version="2.0.8", org.apache.oro.text.awk;version="2.0.8", org.apache
.oro.text.perl;version="2.0.8", org.apache.oro.text.regex;version="2.
0.8", org.apache.oro.util;version="2.0.8"
Bundle-RequiredExecutionEnvironment: J2SE-1.2

View File

@ -1,36 +0,0 @@
# jakarta-oro
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,39 +0,0 @@
# jakarta-oro
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
jakarta-oro-2.0.8.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,29 @@
diff -up ./build.xml.fix ./build.xml
--- ./build.xml.fix 2009-06-23 13:51:46.000000000 -0400
+++ ./build.xml 2009-06-23 13:52:21.000000000 -0400
@@ -126,23 +126,8 @@ Run ant -projecthelp for complete list o
<jar jarfile="${top.dir}/${final.name}.jar"
basedir="${build.dest}"
includes="org/**,META-INF/**"
- excludes="**/package.html,**/overview.html">
- <manifest>
- <section name="org/apache/oro">
- <attribute name="Specification-Title"
- value="Jakarta ORO" />
- <attribute name="Specification-Version"
- value="${version}" />
- <attribute name="Specification-Vendor"
- value="Apache Software Foundation" />
- <attribute name="Implementation-Title"
- value="org.apache.oro" />
- <attribute name="Implementation-Version"
- value="${version} ${DATE}" />
- <attribute name="Implementation-Vendor"
- value="Apache Software Foundation" />
- </section>
- </manifest>
+ excludes="**/package.html,**/overview.html"
+ manifest="MANIFEST.MF">
</jar>
</target>

54
jakarta-oro.spec Normal file
View File

@ -0,0 +1,54 @@
Name: jakarta-oro
Version: 2.0.8
Release: 25
Epoch: 0
Summary: Provide compatible regular expressions
License: ASL 1.1
URL: http://jakarta.apache.org/oro
Source0: http://archive.apache.org/dist/jakarta/oro/%{name}-%{version}.tar.gz
Source1: MANIFEST.MF
Source2: http://repo1.maven.org/maven2/oro/oro/%{version}/oro-%{version}.pom
Patch0001: jakarta-oro-build-xml.patch
BuildRequires: javapackages-local ant
BuildArch: noarch
%description
The Jakarta-ORO Java classes are a set of text-processing Java classes that provide
Perl5 compatible regular expressions, AWK-like regular expressions, glob expressions,
and utility classes for performing substitutions, splits, filtering filenames, etc.
This library is the successor to the OROMatcher, AwkTools, PerlTools, and TextTools
libraries originally from ORO, Inc. Despite little activity in the form of new development
initiatives, issue reports, questions, and suggestions are responded to quickly.
%package help
Summary: API documentation for jakarta-oro.
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
The help for jakarta-oro to use.
%prep
%autosetup -n %{name}-%{version} -p1
cp %{SOURCE1} .
%build
ant -Dfinal.name=oro jar javadocs
%install
%mvn_file : %{name} oro
%mvn_artifact %{SOURCE2} oro.jar
%mvn_install -J docs/api
sed -i 's/[0-9a-f]\{8\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{12\}/f2f42549-cfab-4d71-be48-5e9f9a41e5f5/g' $(find %{_buildrootdir} -name jakarta-oro.xml)
%files -f .mfiles
%doc COMPILE ISSUES CHANGES CONTRIBUTORS STYLE
%license LICENSE
%files help -f .mfiles-javadoc
%doc README TODO
%changelog
* Fri Dec 20 2019 lijin Yang <yanglijin@huawei.com> - 0:2.0.8-25
- Package init

6
oro-2.0.8.pom Normal file
View File

@ -0,0 +1,6 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.8</version>
</project>