46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jdeparser1
|
|
Version: 1.0.0
|
|
Release: 2
|
|
Summary: Source generator library for Java
|
|
License: (CDDL-1.1 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
|
|
* Thu Jun 13 2024 wulei <wu_lei@hoperun.com> - 1.0.0-2
|
|
- Regulate license information
|
|
|
|
* Sat Jul 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.0.0-1
|
|
- Package init
|