加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
airline.spec 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
Jason_828e 提交于 2023-07-28 12:56 . updated to version 0.9
Name: airline
Version: 0.9
Release: 1
Summary: Java annotation-based framework
License: ASL 2.0
URL: https://github.com/airlift/airline
Source0: https://github.com/airlift/airline/archive/%{version}.tar.gz
BuildRequires: maven-local mvn(com.google.code.findbugs:annotations)
BuildRequires: mvn(com.google.code.findbugs:jsr305) mvn(com.google.guava:guava)
BuildRequires: mvn(javax.inject:javax.inject) mvn(org.testng:testng)
BuildArch: noarch
%description
Airline is a Java annotation-based framework
for parsing Git like command line structures.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q
find -name '*.class' -delete
find -name '*.jar' -delete
%pom_remove_parent
%pom_xpath_inject "pom:project" "<groupId>io.airlift</groupId>"
%pom_add_dep com.google.code.findbugs:jsr305:2.0.3
%pom_xpath_inject "pom:dependency[pom:artifactId='annotations']" '<version>2.0.3</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='guava']" '<version>18.0</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='testng']" '<version>6.8.7</version>'
%mvn_file :%{name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license license.txt notice.md
%files javadoc -f .mfiles-javadoc
%license license.txt notice.md
%changelog
* Fri Jul 28 2023 chenzixuan <chenzixuan@kylinos.cn> - 0.9-1
- updated to latest 0.9 version
* Fri Jul 24 2020 chengzihan <chengzihan2@huawei.com> - 0.7-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化