diff --git a/README.en.md b/README.en.md deleted file mode 100644 index f314d07..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# test-interface - -#### Description -Uniform interface to Scala and Java test frameworks. - -#### 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 745af74..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# test-interface - -#### 介绍 -Uniform interface to Scala and Java test frameworks. - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -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/test-interface-1.0.pom b/test-interface-1.0.pom new file mode 100644 index 0000000..add7196 --- /dev/null +++ b/test-interface-1.0.pom @@ -0,0 +1,50 @@ + + + 4.0.0 + org.scala-sbt + test-interface + jar + Uniform test interface to Scala/Java test frameworks (specs, ScalaCheck, ScalaTest, JUnit and other) + 1.0 + test-interface + + org.scala-sbt + + http://www.scala-sbt.org + + + BSD + https://github.com/sbt/test-interface/blob/master/LICENSE + repo + + + + https://github.com/sbt/test-interface + + + + harrah + Mark Harrah + + + josh + Josh Cough + + + bill + Bill Venners + + + cheeseng + Chua Chee Seng + + + + + org.scalatest + scalatest_2.10 + 2.0.M6-SNAP24 + test + + + \ No newline at end of file diff --git a/test-interface.spec b/test-interface.spec new file mode 100644 index 0000000..994604d --- /dev/null +++ b/test-interface.spec @@ -0,0 +1,71 @@ +Name: test-interface +Version: 1.0 +Release: 12 +Summary: Uniform interface to Scala and Java test frameworks +License: BSD +URL: https://github.com/sbt/test-interface +Source0: https://github.com/sbt/test-interface/archive/v1.0.tar.gz +Source1: http://mirrors.ibiblio.org/maven2/org/scala-sbt/%{name}/%{version}/%{name}-%{version}.pom +BuildArch: noarch +BuildRequires: java-devel javapackages-local +Requires: javapackages-local + +%description +Uniform test interface to Scala/Java test frameworks (specs,ScalaCheck, +ScalaTest, JUnit and other) + +%package help +Summary: Help documents for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} + +%description help +Help documents for %{name}. + +%prep +%autosetup -n %{name}-%{version} -p1 +%mvn_file org.scala-sbt:test-interface %{name} + +cp -p %{SOURCE1} pom.xml +%pom_remove_dep :scalatest_2.10 + +%build + +mkdir -p classes target/api +%javac -d classes $(find src/main/java -name "*.java") + +( +cd classes +install -d META-INF +cat > META-INF/MANIFEST.MF << 'EOF' +Manifest-Version: 1.0 +Implementation-Vendor: org.scala-sbt +Implementation-Title: %{name} +Implementation-Version: %{version} +Implementation-Vendor-Id: org.scala-sbt +Specification-Vendor: org.scala-sbt +Specification-Title: %{name} +Specification-Version: %{version} +EOF +%jar -cMf ../target/%{name}.jar * +) + +%javadoc -d target/api -classpath $PWD/target/%{name}.jar $(find src/main/java -name "*.java") + +cp pom.xml target/%{name}-%{version}.pom + +%mvn_artifact target/%{name}-%{version}.pom target/%{name}.jar + +%install + +%mvn_install -J target/api + +%files -f .mfiles +%doc LICENSE README + +%files help -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Sat Mar 07 2020 yanzhihua - 1.0-12 +- Package init diff --git a/v1.0.tar.gz b/v1.0.tar.gz new file mode 100644 index 0000000..e049732 Binary files /dev/null and b/v1.0.tar.gz differ