jdeparser1/jdeparser1.spec
2020-07-31 15:46:06 +08:00

43 lines
1.3 KiB
RPMSpec

%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