maven-jarsigner-plugin/maven-jarsigner-plugin.spec
wangchong1995924 b9c7af1ebc package init
2020-08-25 11:52:34 +08:00

51 lines
1.9 KiB
RPMSpec

Name: maven-jarsigner-plugin
Version: 1.4
Release: 1
Summary: Signs or verifies a project artifact and attachments using jarsigner
License: ASL 2.0
URL: http://maven.apache.org/plugins/maven-jarsigner-plugin/
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jarsigner-plugin/%{version}/maven-jarsigner-plugin-%{version}-source-release.zip
BuildArch: noarch
BuildRequires: maven-local mvn(org.apache.maven:maven-artifact)
BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven:maven-project)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.shared:maven-jarsigner)
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
BuildRequires: mvn(org.sonatype.plexus:plexus-sec-dispatcher)
%description
This plugin provides the capability to sign or verify
a project artifact and attachments using jarsigner.
If you need to sign a project artifact and all attached artifacts,
just configure the sign goal appropriately in your pom.xml
for the signing to occur automatically during the package phase.
If you need to verify the signatures of a project artifact
and all attached artifacts, just configure the verify goal
appropriately in your pom.xml for the verification to occur
automatically during the verify phase.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
%build
%mvn_file :%{name} %{name}
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE DEPENDENCIES
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
* Thu Jul 30 2020 wangchong <wangchong56@huawei.com> - 1.4-1
- package init