init
This commit is contained in:
parent
9892417599
commit
5cf192286e
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# jctools
|
||||
|
||||
#### 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/)
|
||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
||||
# jctools
|
||||
|
||||
#### 介绍
|
||||
{**以下是码云平台说明,您可以替换此简介**
|
||||
码云是 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
jctools-2.0.2.tar.gz
Normal file
BIN
jctools-2.0.2.tar.gz
Normal file
Binary file not shown.
86
jctools.spec
Normal file
86
jctools.spec
Normal file
@ -0,0 +1,86 @@
|
||||
Name: jctools
|
||||
Version: 2.0.2
|
||||
Release: 5
|
||||
Summary: Java Concurrency Tools for the JVM
|
||||
License: ASL 2.0
|
||||
BuildArch: noarch
|
||||
URL: http://jctools.github.io/JCTools/
|
||||
Source0: https://github.com/JCTools/JCTools/archive/v2.0.2/jctools-2.0.2.tar.gz
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest-all) mvn(org.ow2.asm:asm-all)
|
||||
Provides: jctools-experimental = %{version}-%{release} jctools-parent = %{version}-%{release}
|
||||
Obsoletes: jctools-experimental < %{version}-%{release} jctools-parent < %{version}-%{release}
|
||||
|
||||
%description
|
||||
Java Concurrency Tools for the JVM. This project aims to offer some concurrent data structures currently missing from the JDK:
|
||||
SPSC/MPSC/SPMC/MPMC variations for concurrent queues:
|
||||
SPSC - Single Producer Single Consumer (Wait Free, bounded and unbounded)
|
||||
MPSC - Multi Producer Single Consumer (Lock less, bounded and unbounded)
|
||||
SPMC - Single Producer Multi Consumer (Lock less, bounded)
|
||||
MPMC - Multi Producer Multi Consumer (Lock less, bounded)
|
||||
|
||||
%package help
|
||||
Summary: Help documents for jctools
|
||||
Provides: jctools-javadoc = %{version}-%{release}
|
||||
Obsoletes: jctools-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
The jctools-help package conatins javadoc for jctools.
|
||||
|
||||
%prep
|
||||
%autosetup -n JCTools-2.0.2 -p1
|
||||
|
||||
for filename in *.class *.jar;do
|
||||
find . -name ${filename} -delete
|
||||
done
|
||||
|
||||
%pom_xpath_set pom:project/pom:version 2.0.2
|
||||
%pom_xpath_set -r pom:parent/pom:version 2.0.2 jctools-core jctools-experimental
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
|
||||
for pom_disable_module in jctools-benchmarks jctools-concurrency-test;do
|
||||
%pom_disable_module ${pom_disable_module}
|
||||
done
|
||||
|
||||
%pom_remove_dep "com.google.guava:guava-testlib" jctools-experimental
|
||||
|
||||
for pom_remove_plugin in cobertura-maven-plugin maven-source-plugin;do
|
||||
%pom_remove_plugin :${pom_remove_plugin} jctools-core
|
||||
done
|
||||
|
||||
%pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-javadoc-plugin']/pom:executions" jctools-core
|
||||
|
||||
for mod in core experimental; do
|
||||
%pom_xpath_set "pom:project/pom:packaging" bundle jctools-${mod}
|
||||
%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.3.7 jctools-${mod} '
|
||||
<extensions>true</extensions>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<excludeDependencies>true</excludeDependencies>
|
||||
</configuration>'
|
||||
done
|
||||
|
||||
%build
|
||||
%mvn_build -s -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles-jctools-core -f .mfiles-jctools-experimental -f .mfiles-jctools-parent
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Mon Dec 23 2019 liujing<liujing144@huawei.com> - 2.0.2-5
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user