!1 package init

Merge pull request !1 from Causeway_Bay/master
This commit is contained in:
openeuler-ci-bot 2020-08-27 22:07:07 +08:00 committed by Gitee
commit 78af646fc6
3 changed files with 54 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,50 @@
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

View File

@ -0,0 +1,4 @@
version-control: github
src_repo: apache/maven-jarsigner-plugin
tag_prefix: maven-jarsigner-plugin-
seperator: .