diff --git a/1.0.0.Final.tar.gz b/1.0.0.Final.tar.gz new file mode 100644 index 0000000..2f95e53 Binary files /dev/null and b/1.0.0.Final.tar.gz differ diff --git a/jdeparser1.spec b/jdeparser1.spec new file mode 100644 index 0000000..45d556a --- /dev/null +++ b/jdeparser1.spec @@ -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 - 1.0.0-1 +- Package init diff --git a/jdeparser1.yaml b/jdeparser1.yaml new file mode 100644 index 0000000..61b68a1 --- /dev/null +++ b/jdeparser1.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/jdeparser/jdeparser +version_control: github +src_repo: jdeparser/jdeparser +tag_prefix: "^.Final" +seperator: "."