diff --git a/geronimo-annotation.spec b/geronimo-annotation.spec new file mode 100644 index 0000000..4e591a0 --- /dev/null +++ b/geronimo-annotation.spec @@ -0,0 +1,49 @@ +Name: geronimo-annotation +Version: 1.0 +Release: 25 +Summary: Annoctation API v1.3 +License: ASL 2.0 +URL: http://geronimo.apache.org/ +BuildArch: noarch +Source0: http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-annotation_1.3_spec/%{version}/geronimo-annotation_1.3_spec-%{version}-source-release.zip +BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) mvn(org.apache.geronimo.specs:specs:pom:) + +%description +Apache Geronimo is an open source server runtime +that integrates the best open source projects to +create Java/OSGi server runtimes that meet the needs +of enterprise developers and system administrators. + +%package help +Summary: Help document for geronimo-annotation +Provides: geronimo-annotation-javadoc = %{version}-%{release} +Obsoletes: geronimo-annotation-javadoc < %{version}-%{release} + +%description help +Help documentation for geronimo-annotation. + +%prep +%autosetup -n geronimo-annotation_1.3_spec-%{version} -p1 +%pom_set_parent org.apache.geronimo.specs:specs:1.4 +%mvn_alias : org.apache.geronimo.specs:geronimo-annotation_1.0_spec +%mvn_alias : org.apache.geronimo.specs:geronimo-annotation_1.1_spec +%mvn_alias : org.apache.geronimo.specs:geronimo-annotation_1.2_spec +%mvn_alias : javax.annotation:jsr250-api +%mvn_alias : org.eclipse.jetty.orbit:javax.annotation +%mvn_file : geronimo-annotation annotation + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE + +%files help -f .mfiles-javadoc +%doc NOTICE + +%changelog +* Thu Nov 28 2019 likexin - 1.0-25 +- Package init diff --git a/geronimo-annotation_1.3_spec-1.0-source-release.zip b/geronimo-annotation_1.3_spec-1.0-source-release.zip new file mode 100644 index 0000000..c614d58 Binary files /dev/null and b/geronimo-annotation_1.3_spec-1.0-source-release.zip differ