package init

This commit is contained in:
small_leek 2020-07-31 15:46:06 +08:00
parent 821773b30d
commit 85a4df08dd
3 changed files with 47 additions and 0 deletions

BIN
1.0.0.Final.tar.gz Normal file

Binary file not shown.

42
jdeparser1.spec Normal file
View File

@ -0,0 +1,42 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jdeparser1
Version: 1.0.0
Release: 1
Summary: Source generator library for Java
License: (CDDL or GPLv2 with exceptions) and MIT
URL: https://github.com/jdeparser/jdeparser
Source0: https://github.com/jdeparser/jdeparser/archive/%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(org.jboss:jboss-parent:pom:)
%description
This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We
decided to fork the project because by all evidence, the upstream project is
dead and not actively accepting outside contribution. All JBoss projects are
urged to use this project instead for source code generation.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jdeparser-%{namedversion}
%mvn_compat_version : 1
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE-original.html
%files javadoc -f .mfiles-javadoc
%license LICENSE-original.html
%changelog
* Sat Jul 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.0.0-1
- Package init

5
jdeparser1.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/jdeparser/jdeparser
version_control: github
src_repo: jdeparser/jdeparser
tag_prefix: "^.Final"
seperator: "."