[keytool-maven-plugin] Initial import (#706070).
by Jaromír Cápík
commit 9fc1f4fd93c6b7e389c1a5da3b5628762266c784
Author: Jaromír Cápík <jcapik(a)redhat.com>
Date: Mon May 23 13:39:24 2011 +0200
Initial import (#706070).
.gitignore | 1 +
keytool-maven-plugin.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bf8fa2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/keytool-maven-plugin-1.0.tar.xz
diff --git a/keytool-maven-plugin.spec b/keytool-maven-plugin.spec
new file mode 100644
index 0000000..2629ad3
--- /dev/null
+++ b/keytool-maven-plugin.spec
@@ -0,0 +1,81 @@
+
+%global group_id org.codehaus.mojo
+
+Name: keytool-maven-plugin
+Version: 1.0
+Release: 2%{?dist}
+Summary: A plugin that wraps the keytool program and allows to manipulate keystores
+License: MIT and ASL 2.0
+Group: Development/Libraries
+# http://mojo.codehaus.org/keytool-maven-plugin/
+URL: http://mojo.codehaus.org/%{name}/
+# svn export http://svn.codehaus.org/mojo/tags/keytool-maven-plugin-1.0/ keytool-maven-plugin-1.0
+# tar caf keytool-maven-plugin-1.0.tar.xz keytool-maven-plugin-1.0
+Source0: %{name}-%{version}.tar.xz
+
+BuildArch: noarch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: maven
+
+Requires: java
+Requires: jpackage-utils
+Requires(post): jpackage-utils
+Requires(postun): jpackage-utils
+
+%description
+A plugin that wraps the keytool program bundled with Sun's Java SDK.
+It provides the capability to manipulate keys and keystores
+with the goals "keytool:genkey" and "keytool:clean".
+
+%package javadoc
+Summary: API documentation for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+# jars
+install -d -m 755 %{buildroot}%{_javadir}
+install -p -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_to_maven_depmap %{group_id} %{name} %{version} JPP %{name}
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+%files
+%doc LICENSE.txt
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc LICENSE.txt
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Fri May 20 2011 Jaromir Capik <jcapik(a)redhat.com> - 1.0-2
+- Missing MIT license added in the license field
+
+* Thu May 19 2011 Jaromir Capik <jcapik(a)redhat.com> - 1.0-1
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..147ca50 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e7b72a8473f22e2ec66e9657e9c06d84 keytool-maven-plugin-1.0.tar.xz
13 years
[maven-jarsigner-plugin] Initial import (#705848).
by Jaromír Cápík
commit 34fb859a25c6bc71f0908aad75d8fc3ef1b614fe
Author: Jaromír Cápík <jcapik(a)redhat.com>
Date: Fri May 20 13:36:49 2011 +0200
Initial import (#705848).
.gitignore | 1 +
maven-jarsigner-plugin.spec | 85 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..da1deab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/maven-jarsigner-plugin-1.2-source-release.zip
diff --git a/maven-jarsigner-plugin.spec b/maven-jarsigner-plugin.spec
new file mode 100644
index 0000000..ac50646
--- /dev/null
+++ b/maven-jarsigner-plugin.spec
@@ -0,0 +1,85 @@
+
+%global group_id org.apache.maven.plugins
+
+Name: maven-jarsigner-plugin
+Version: 1.2
+Release: 1%{?dist}
+Summary: Signs or verifies a project artifact and attachments using jarsigner
+License: ASL 2.0
+Group: Development/Libraries
+URL: http://maven.apache.org/plugins/%{name}/
+# http://search.maven.org/remotecontent?filepath=org/apache/maven/plugins/m...
+Source0: http://search.maven.org/remotecontent?filepath=org/apache/maven/plugins/%...
+
+BuildArch: noarch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: maven
+
+Requires: java
+Requires: jpackage-utils
+Requires(post): jpackage-utils
+Requires(postun): jpackage-utils
+
+%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}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+# jars
+install -d -m 755 %{buildroot}%{_javadir}
+install -p -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_to_maven_depmap %{group_id} %{name} %{version} JPP %{name}
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+%files
+%doc LICENSE NOTICE DEPENDENCIES
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc LICENSE
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Wed May 18 2011 Jaromir Capik <jcapik(a)redhat.com> - 1.2-1
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..9dff287 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aedf1c26b13bd55dd3b78d12fd88e2d4 maven-jarsigner-plugin-1.2-source-release.zip
13 years