47 lines
1.2 KiB
RPMSpec
47 lines
1.2 KiB
RPMSpec
Name: glassfish-annotation-api
|
|
Version: 1.2
|
|
Release: 16
|
|
Summary: Java(TM) Specification APIs
|
|
License: CDDL or GPLv2 with exceptions
|
|
URL: http://glassfish.java.net/
|
|
Source0: https://github.com/javaee/javax.annotation/archive/1.2.tar.gz
|
|
|
|
BuildRequires: jvnet-parent glassfish-legal maven-local maven-plugin-bundle
|
|
BuildRequires: maven-source-plugin spec-version-maven-plugin maven-remote-resources-plugin
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package is a general annotations API for the Java platform (JSR 250).
|
|
|
|
%package help
|
|
Summary: Documentation for glassfish-annotation-api
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
Documentation for glassfish-annotation-api.
|
|
|
|
%prep
|
|
%autosetup -n javax.annotation-%{version} -p1
|
|
|
|
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
|
|
%mvn_file :javax.annotation-api glassfish-annotation-api
|
|
|
|
%build
|
|
%mvn_build
|
|
cp -p target/classes/META-INF/LICENSE.txt .
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE.txt
|
|
|
|
%files help -f .mfiles-javadoc
|
|
%license LICENSE.txt
|
|
|
|
%changelog
|
|
* Thu Mar 5 2020 duyeyu <duyeyu@huawei.com> - 1.2-16
|
|
- initial package
|