Blame SPECS/keytool-maven-plugin.spec

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