41 lines
1.2 KiB
RPMSpec
41 lines
1.2 KiB
RPMSpec
Name: rhq-plugin-annotations
|
|
Version: 3.0.4
|
|
Release: 1
|
|
Summary: RHQ plugin annotations
|
|
License: GPL and LGPLv2+
|
|
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 Sep 3 2020 Ge Wang <wangge20@huawei.com> - 3.0.4-1
|
|
- Package init
|