diff --git a/rhq-plugin-annotations-3.0.4-pom.patch b/rhq-plugin-annotations-3.0.4-pom.patch new file mode 100644 index 0000000..d04a417 --- /dev/null +++ b/rhq-plugin-annotations-3.0.4-pom.patch @@ -0,0 +1,16 @@ +diff -Naur pluginAnnotations/pom.xml pluginAnnotations-work/pom.xml +--- pluginAnnotations/pom.xml 2012-02-01 04:25:15.000000000 -0500 ++++ pluginAnnotations-work/pom.xml 2012-02-01 04:30:25.023000044 -0500 +@@ -6,12 +6,6 @@ + + 4.0.0 + +- +- org.rhq +- rhq-parent +- 4.0.1 +- +- + org.rhq.helpers + rhq-pluginAnnotations + jar diff --git a/rhq-plugin-annotations.spec b/rhq-plugin-annotations.spec new file mode 100644 index 0000000..0ca230d --- /dev/null +++ b/rhq-plugin-annotations.spec @@ -0,0 +1,40 @@ +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 - 3.0.4-1 +- Package init diff --git a/rhq-plugin-annotations.yaml b/rhq-plugin-annotations.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/rhq-plugin-annotations.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/rhq-pluginAnnotations-3.0.4-sources.jar b/rhq-pluginAnnotations-3.0.4-sources.jar new file mode 100644 index 0000000..c600cd3 Binary files /dev/null and b/rhq-pluginAnnotations-3.0.4-sources.jar differ diff --git a/rhq-pluginAnnotations-3.0.4.pom b/rhq-pluginAnnotations-3.0.4.pom new file mode 100644 index 0000000..e9629b8 --- /dev/null +++ b/rhq-pluginAnnotations-3.0.4.pom @@ -0,0 +1,56 @@ + + + + + 4.0.0 + + + org.rhq + rhq-parent + 4.0.1 + + + org.rhq.helpers + rhq-pluginAnnotations + jar + 3.0.4 + + RHQ Plugin Annotations + Annotations to help generate plugin descriptors + + + scm:git:ssh://git.fedorahosted.org/git/rhq.git/modules/helpers/pluginGen + scm:git:ssh://git.fedorahosted.org/git/rhq.git/modules/helpers/pluginGen + + + + + + maven-compiler-plugin + + 1.5 + 1.5 + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.2 + + + + org.rhq.helpers.pluginAnnotations + + + + + + + + + + +