%global pkg_name keytool-maven-plugin %{?scl:%scl_package %{pkg_name}} %{?maven_find_provides_and_requires} Name: %{?scl_prefix}%{pkg_name} Version: 1.0 Release: 13.15%{?dist} Summary: A plugin that wraps the keytool program and allows to manipulate keystores License: MIT and ASL 2.0 # http://mojo.codehaus.org/keytool-maven-plugin/ URL: http://mojo.codehaus.org/%{pkg_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: %{pkg_name}-%{version}.tar.xz Source1: LICENSE-ASL BuildArch: noarch BuildRequires: %{?scl_prefix_java_common}javapackages-tools BuildRequires: %{?scl_prefix}maven-local BuildRequires: %{?scl_prefix}maven-surefire-provider-junit %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 %{pkg_name} %description javadoc This package contains the API documentation for %{pkg_name}. %prep %setup -q -n %{pkg_name}-%{version} %{?scl:scl enable %{scl} - <<"EOF"} set -e -x # fixing licenses mv LICENSE.txt LICENSE-MIT cp %{SOURCE1} LICENSE-ASL %pom_add_dep junit:junit::test %{?scl:EOF} %build %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_build %{?scl:EOF} %install %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_install %{?scl:EOF} %files -f .mfiles %doc LICENSE-MIT LICENSE-ASL %dir %{_mavenpomdir}/%{pkg_name} %dir %{_javadir}/%{pkg_name} %files javadoc -f .mfiles-javadoc %doc LICENSE-MIT LICENSE-ASL %changelog * Mon Feb 08 2016 Michal Srb - 1.0-13.15 - Fix BR on maven-local & co. * Mon Jan 11 2016 Michal Srb - 1.0-13.14 - maven33 rebuild #2 * Sat Jan 09 2016 Michal Srb - 1.0-13.13 - maven33 rebuild * Thu Jan 15 2015 Mikolaj Izdebski - 1.0-13.12 - Add directory ownership on %%{_mavenpomdir} subdir * Tue Jan 13 2015 Michael Simacek - 1.0-13.11 - Mass rebuild 2015-01-13 * Tue Jan 13 2015 Mikolaj Izdebski - 1.0-13.10 - Add test dependency on junit * Mon Jan 12 2015 Michael Simacek - 1.0-13.9 - Rebuild to regenerate requires from java-common * Tue Jan 06 2015 Michael Simacek - 1.0-13.8 - Mass rebuild 2015-01-06 * Mon May 26 2014 Mikolaj Izdebski - 1.0-13.7 - Mass rebuild 2014-05-26 * Wed Feb 19 2014 Mikolaj Izdebski - 1.0-13.6 - Mass rebuild 2014-02-19 * Tue Feb 18 2014 Mikolaj Izdebski - 1.0-13.5 - Mass rebuild 2014-02-18 * Tue Feb 18 2014 Mikolaj Izdebski - 1.0-13.4 - Remove requires on java * Mon Feb 17 2014 Mikolaj Izdebski - 1.0-13.3 - SCL-ize build-requires * Thu Feb 13 2014 Mikolaj Izdebski - 1.0-13.2 - Rebuild to regenerate auto-requires * Tue Feb 11 2014 Mikolaj Izdebski - 1.0-13.1 - First maven30 software collection build * Fri Dec 27 2013 Daniel Mach - 1.0-13 - Mass rebuild 2013-12-27 * Mon Aug 19 2013 Stanislav Ochotnicky - 1.0-12 - Migrate away from mvn-rpmbuild (#997457) * Fri Jun 28 2013 Mikolaj Izdebski - 1.0-11 - Rebuild to regenerate API documentation - Resolves: CVE-2013-1571 * Thu Feb 14 2013 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.0-9 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Wed Jan 9 2013 Mikolaj Izdebski - 1.0-8 - Add missing BR: maven-surefire-provider-junit4 * Thu Nov 22 2012 Jaromir Capik - 1.0-7 - Missing ASL 2.0 license file included - Minor spec file changes according to the latest guidelines * Thu Jul 19 2012 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed May 25 2011 Jaromir Capik - 1.0-4 - Missing runtime deps (maven) added * Wed May 25 2011 Jaromir Capik - 1.0-3 - Missing runtime deps (plexus-utils, apache-commons-lang) added * Fri May 20 2011 Jaromir Capik - 1.0-2 - Missing MIT license added in the license field * Thu May 19 2011 Jaromir Capik - 1.0-1 - Initial version of the package