commit
f4cfa5c571
BIN
javapoet-1.7.0.tar.gz
Normal file
BIN
javapoet-1.7.0.tar.gz
Normal file
Binary file not shown.
50
javapoet.spec
Normal file
50
javapoet.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: javapoet
|
||||
Version: 1.7.0
|
||||
Release: 1
|
||||
Summary: A Java API for generating .java source files
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/square/javapoet
|
||||
Source0: https://github.com/square/javapoet/archive/javapoet-%{version}.tar.gz
|
||||
BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
|
||||
%if 0
|
||||
# test dependencies
|
||||
BuildRequires: mvn(junit:junit) mvn(org.eclipse.jdt.core.compiler:ecj:4.4.2)
|
||||
BuildRequires: mvn(org.mockito:mockito-core:1.10.16)
|
||||
# missing test dependencies
|
||||
BuildRequires: mvn(com.google.jimfs:jimfs:1.0)
|
||||
BuildRequires: mvn(com.google.testing.compile:compile-testing:0.6)
|
||||
BuildRequires: mvn(com.google.truth:truth:0.25)
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A utility class which aids in generating Java source files.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
%mvn_file : %{name}
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Wed Aug 12 2020 leiju <leiju4@huawei.com> - 1.7.0-1
|
||||
- Package init
|
||||
4
javapoet.yaml
Normal file
4
javapoet.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: square/javapoet
|
||||
tag_prefix: "javapoet-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user