diff --git a/MANIFEST.MF b/MANIFEST.MF new file mode 100644 index 0000000..f662f36 --- /dev/null +++ b/MANIFEST.MF @@ -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 + diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 1ea008f..0000000 --- a/README.en.md +++ /dev/null @@ -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/) diff --git a/README.md b/README.md deleted file mode 100644 index ef06858..0000000 --- a/README.md +++ /dev/null @@ -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/) diff --git a/jakarta-oro-2.0.8.tar.gz b/jakarta-oro-2.0.8.tar.gz new file mode 100644 index 0000000..1b9d8b7 Binary files /dev/null and b/jakarta-oro-2.0.8.tar.gz differ diff --git a/jakarta-oro-build-xml.patch b/jakarta-oro-build-xml.patch new file mode 100644 index 0000000..daa6c33 --- /dev/null +++ b/jakarta-oro-build-xml.patch @@ -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 + +- +-
+- +- +- +- +- +- +-
+-
++ excludes="**/package.html,**/overview.html" ++ manifest="MANIFEST.MF"> +
+ + diff --git a/jakarta-oro.spec b/jakarta-oro.spec new file mode 100644 index 0000000..f432954 --- /dev/null +++ b/jakarta-oro.spec @@ -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 - 0:2.0.8-25 +- Package init + diff --git a/oro-2.0.8.pom b/oro-2.0.8.pom new file mode 100644 index 0000000..abdd237 --- /dev/null +++ b/oro-2.0.8.pom @@ -0,0 +1,6 @@ + + 4.0.0 + oro + oro + 2.0.8 + \ No newline at end of file