!1 Package init

Merge pull request !1 from yeah_wang/apple
This commit is contained in:
openeuler-ci-bot 2019-12-17 10:52:14 +08:00 committed by Gitee
commit f22fbd261c
7 changed files with 132 additions and 75 deletions

View File

@ -1,36 +0,0 @@
# extra166y
#### 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 @@
# extra166y
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 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/)

16
extra166y-1.7.0.pom Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codehaus.jsr166-mirror</groupId>
<artifactId>extra166y</artifactId>
<version>1.7.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

18
extra166y-OSGi.bnd Normal file
View File

@ -0,0 +1,18 @@
Export-Package: extra166y;uses:="sun.misc";version="@VERSION@"
Implementation-Title: Extra166y
Implementation-Version: @VERSION@
Built-By: ${user.name}
Specification-Vendor: Doug Lea
Bundle-Name: extra166y
Created-By: ${java.version} (${java.vendor})
Implementation-Vendor: Doug Lea
Bundle-Vendor: Doug Lea
Bundle-Version: @VERSION@
Bundle-ManifestVersion: 2
Specification-Title: Extra166y
Bundle-Description: build
Bundle-DocURL: http://jsr166.codehaus.org
Bundle-SymbolicName: extra166y
Import-Package: extra166y;resolution:=optional;version="@VERSION@",sun.misc;resolution:=optional
Specification-Version: @VERSION@
Extension-Name: extra166y

View File

@ -0,0 +1,28 @@
--- build.xml 2010-11-25 13:48:45.000000000 +0100
+++ build.xml-gil 2014-11-03 19:10:50.375388995 +0100
@@ -716,7 +716,7 @@
</target>
-
+ <taskdef resource="aQute/bnd/ant/taskdef.properties"/>
<target name="extra166yjar"
depends="extra166ycompile"
@@ -724,10 +728,12 @@
<mkdir dir="${build.extra166ylib.dir}"/>
- <jar destfile="${extra166yproduct.jar}" index="true">
- <fileset dir="${build.extra166y.dir}"/>
- </jar>
-
+ <bnd
+ classpath="${build.extra166y.dir}"
+ failok="false"
+ exceptions="false"
+ files="extra166y.bnd"
+ output="${extra166yproduct.jar}"/>
</target>

70
extra166y.spec Normal file
View File

@ -0,0 +1,70 @@
Name: extra166y
Version: 1.7.0
Release: 11
Summary: A collection that supports parallel operations
License: Public Domain
URL: http://gee.cs.oswego.edu/dl/concurrency-interest
Source0: jsr166-%{version}.tar.xz
Source1: http://repository.codehaus.org/org/codehaus/jsr166-mirror/%{name}/%{version}/%{name}-%{version}.pom
Source2: extra166y-OSGi.bnd
Patch0: extra166y-osgi-manifest.patch
BuildRequires: ant aqute-bnd >= 3.2.0-2 javapackages-local junit
BuildArch: noarch
Provides: extra166y-javadoc = %{version}-%{release}
Obsoletes: extra166y-javadoc < %{version}-%{release}
%description
A collection that supports parallel operations
%package_help
%prep
%autosetup -n jsr166 -p0
for java_file in $(find . -name "*.java");
do
sed -i "s|jsr166y.|java.util.concurrent.|" ${java_file}
done
sed -i '/configure-compiler, jsr166ycompile/d' build.xml
sed -i '/<compilerarg line="${build.args}"/d' build.xml
install -p %{SOURCE2} extra166y.bnd
sed -i "s|@VERSION@|%{version}|" extra166y.bnd
%build
%{_bindir}/python3 %{_datadir}/java-utils/mvn_file.py org.codehaus.jsr166-mirror:%{name} %{name}
export CLASSPATH=%{_datadir}/java/junit.jar
ant extra166yjar extra166ydist-docs
%{_bindir}/python3 %{_datadir}/java-utils/mvn_artifact.py %{SOURCE1} build/%{name}lib/%{name}.jar
%install
%mvn_install -J dist/%{name}docs
%files
%defattr(-,root,root)
%doc src/main/intro.html
%{_datadir}/java/%{name}.jar
%{_datadir}/maven-poms/%{name}.pom
%{_datadir}/maven-metadata/%{name}.xml
%{_datadir}/javadoc/%{name}/*.html
%{_datadir}/javadoc/%{name}/stylesheet.css
%{_datadir}/javadoc/%{name}/script.js
%{_datadir}/javadoc/%{name}/package-list
%{_datadir}/javadoc/%{name}/%{name}/*.html
%files help
%defattr(-,root,root)
%doc src/main/readme
%changelog
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.0-11
- Package init

BIN
jsr166-1.7.0.tar.xz Normal file

Binary file not shown.