geronimo-annotation/geronimo-annotation.spec
2019-12-06 10:07:43 +08:00

50 lines
1.6 KiB
RPMSpec

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<likexin4@huawei.com> - 1.0-25
- Package init