53 lines
1.7 KiB
RPMSpec
53 lines
1.7 KiB
RPMSpec
Name: maven-gpg-plugin
|
|
Version: 1.6
|
|
Release: 2
|
|
Summary: Maven GPG Plugin
|
|
License: Apache-2.0
|
|
URL: http://maven.apache.org/plugins/maven-gpg-plugin/
|
|
BuildArch: noarch
|
|
Source0: https://github.com/apache/maven-gpg-plugin/archive/refs/tags/%{name}-%{version}.zip
|
|
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
|
Patch0: 0001-Port-to-Maven-3.3.1.patch
|
|
BuildRequires: maven-local mvn(org.apache.maven:maven-artifact)
|
|
BuildRequires: mvn(org.apache.maven:maven-compat) mvn(org.apache.maven:maven-model)
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
|
BuildRequires: mvn(org.apache.maven:maven-repository-metadata)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
|
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
BuildRequires: mvn(org.sonatype.plexus:plexus-sec-dispatcher)
|
|
Requires: gnupg
|
|
%description
|
|
This plugin signs all of the project's attached artifacts with
|
|
GnuPG. It adds goals gpg:sign and gpg:sign-and-deploy-file.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
%patch0 -p1
|
|
cp %{SOURCE1} ./LICENSE
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%dir %{_javadir}/%{name}
|
|
%doc LICENSE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Fri Nov 11 2022 Ge Wang <wangge20@h-partners.com> - 1.6-2
|
|
- Bring source file into correspondence with described in spec file
|
|
|
|
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.6-1
|
|
- Package init
|