rhq-plugin-annotations/rhq-plugin-annotations.spec
wk333 3edecd629e License compliance rectification
(cherry picked from commit 7b1391e410b1192fdc1dd89e617bf83d7d6ee96a)
2024-07-19 11:16:36 +08:00

44 lines
1.3 KiB
RPMSpec

Name: rhq-plugin-annotations
Version: 3.0.4
Release: 2
Summary: RHQ plugin annotations
License: GPL-1.0-only AND LGPL-2.1-or-later
URL: http://rhq-project.org
Source0: https://repo1.maven.org/maven2/org/rhq/helpers/rhq-pluginAnnotations/%{version}/rhq-pluginAnnotations-%{version}-sources.jar
Source1: https://repo1.maven.org/maven2/org/rhq/helpers/rhq-pluginAnnotations/%{version}/rhq-pluginAnnotations-%{version}.pom
Patch0: rhq-plugin-annotations-%{version}-pom.patch
BuildArch: noarch
BuildRequires: maven-local
%description
Annotations to help generate RHQ plugin descriptors.
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -c -n pluginAnnotations
cp %{SOURCE1} ./pom.xml
mkdir -p ./src/main/java/
mv org ./src/main/java/
%patch0 -p1
%mvn_file : %{name}/%{name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=iso8859-1
%install
%mvn_install
%files -f .mfiles
%files javadoc -f .mfiles-javadoc
%changelog
* Thu Jun 13 2024 wangkai <13474090681@163.com> - 3.0.4-2
- License compliance rectification
* Thu Sep 3 2020 Ge Wang <wangge20@huawei.com> - 3.0.4-1
- Package init