Blame SPECS/maven-project-info-reports-plugin.spec

2f5c80
%global pkg_name maven-project-info-reports-plugin
2f5c80
%{?scl:%scl_package %{pkg_name}}
2f5c80
%{?maven_find_provides_and_requires}
2f5c80
2f5c80
Name:           %{?scl_prefix}%{pkg_name}
2f5c80
Version:        2.6
2f5c80
Release:        8.16%{?dist}
2f5c80
Summary:        Maven Project Info Reports Plugin
2f5c80
2f5c80
License:        ASL 2.0
2f5c80
URL:            http://maven.apache.org/plugins/maven-project-info-reports-plugin/
2f5c80
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
2f5c80
BuildArch: noarch
2f5c80
2f5c80
BuildRequires: %{?scl_prefix_java_common}javapackages-tools
2f5c80
BuildRequires: %{?scl_prefix}apache-commons-parent
2f5c80
BuildRequires: %{?scl_prefix}maven-local
2f5c80
BuildRequires: %{?scl_prefix}maven-dependency-tree
2f5c80
BuildRequires: %{?scl_prefix}maven-plugin-annotations
2f5c80
BuildRequires: %{?scl_prefix}maven-plugin-plugin
2f5c80
BuildRequires: %{?scl_prefix}maven-reporting-api
2f5c80
BuildRequires: %{?scl_prefix}maven-reporting-impl
2f5c80
BuildRequires: %{?scl_prefix}maven-doxia-tools
2f5c80
BuildRequires: %{?scl_prefix}maven-shared-jar
2f5c80
BuildRequires: %{?scl_prefix}maven-wagon-file
2f5c80
BuildRequires: %{?scl_prefix}maven-wagon-http-lightweight
2f5c80
BuildRequires: %{?scl_prefix}maven-wagon-provider-api
2f5c80
BuildRequires: %{?scl_prefix}maven-scm
2f5c80
BuildRequires: %{?scl_prefix}maven-doxia-sink-api
2f5c80
BuildRequires: %{?scl_prefix}maven-doxia-logging-api
2f5c80
BuildRequires: %{?scl_prefix}maven-doxia-core
2f5c80
BuildRequires: %{?scl_prefix}maven-doxia-module-xhtml
2f5c80
BuildRequires: %{?scl_prefix}maven-doxia-sitetools
2f5c80
BuildRequires: %{?scl_prefix}plexus-containers-container-default
2f5c80
BuildRequires: %{?scl_prefix}plexus-component-api
2f5c80
BuildRequires: %{?scl_prefix}plexus-i18n
2f5c80
BuildRequires: %{?scl_prefix}plexus-utils
2f5c80
BuildRequires: %{?scl_prefix}apache-commons-validator
2f5c80
BuildRequires: %{?scl_prefix}maven-plugin-testing-harness
2f5c80
BuildRequires: %{?scl_prefix_java_common}tomcat-servlet-3.0-api
2f5c80
BuildRequires: %{?scl_prefix}maven-jarsigner-plugin
2f5c80
BuildRequires: %{?scl_prefix}keytool-maven-plugin
2f5c80
BuildRequires: %{?scl_prefix}joda-time
2f5c80
BuildRequires: %{?scl_prefix}maven-resources-plugin
2f5c80
2f5c80
2f5c80
%description
2f5c80
The Maven Project Info Reports Plugin is a plugin 
2f5c80
that generates standard reports for the specified project.
2f5c80
  
2f5c80
2f5c80
%package javadoc
2f5c80
Summary:        Javadoc for %{pkg_name}
2f5c80
2f5c80
%description javadoc
2f5c80
API documentation for %{pkg_name}.
2f5c80
2f5c80
2f5c80
%prep
2f5c80
%setup -q -c -n %{pkg_name}-%{version}
2f5c80
%{?scl:scl enable %{scl} - <<"EOF"}
2f5c80
set -e -x
2f5c80
pushd %{pkg_name}-%{version}
2f5c80
# removed cvsjava provider since we don't support it anymore
2f5c80
%pom_remove_dep :maven-scm-provider-cvsjava
2f5c80
# not actually needed
2f5c80
%pom_remove_dep :wagon-ssh
2f5c80
2f5c80
%pom_xpath_remove "pom:dependency[pom:scope[text()='test']]"
2f5c80
popd
2f5c80
%{?scl:EOF}
2f5c80
2f5c80
%build
2f5c80
%{?scl:scl enable %{scl} - <<"EOF"}
2f5c80
set -e -x
2f5c80
pushd %{pkg_name}-%{version}
2f5c80
%mvn_build -f
2f5c80
popd
2f5c80
%{?scl:EOF}
2f5c80
2f5c80
%install
2f5c80
%{?scl:scl enable %{scl} - <<"EOF"}
2f5c80
set -e -x
2f5c80
pushd %{pkg_name}-%{version}
2f5c80
%mvn_install
2f5c80
popd
2f5c80
%{?scl:EOF}
2f5c80
2f5c80
%files -f %{pkg_name}-%{version}/.mfiles
2f5c80
%dir %{_mavenpomdir}/%{pkg_name}
2f5c80
%dir %{_javadir}/%{pkg_name}
2f5c80
%doc %{pkg_name}-%{version}/LICENSE %{pkg_name}-%{version}/NOTICE
2f5c80
2f5c80
%files javadoc -f %{pkg_name}-%{version}/.mfiles-javadoc
2f5c80
%doc %{pkg_name}-%{version}/LICENSE %{pkg_name}-%{version}/NOTICE
2f5c80
2f5c80
%changelog
2f5c80
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.6-8.16
2f5c80
- Fix BR on maven-local & co.
2f5c80
2f5c80
* Mon Jan 18 2016 Michal Srb <msrb@redhat.com> - 2.6-8.15
2f5c80
- Drop wagon-ssh dependency
2f5c80
2f5c80
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.6-8.14
2f5c80
- maven33 rebuild #2
2f5c80
2f5c80
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.6-8.13
2f5c80
- maven33 rebuild
2f5c80
2f5c80
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.12
2f5c80
- Add directory ownership on %%{_mavenpomdir} subdir
2f5c80
2f5c80
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 2.6-8.11
2f5c80
- Mass rebuild 2015-01-13
2f5c80
2f5c80
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 2.6-8.10
2f5c80
- Mass rebuild 2015-01-06
2f5c80
2f5c80
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.9
2f5c80
- Mass rebuild 2014-05-26
2f5c80
2f5c80
* Thu Feb 20 2014 Michael Simacek <msimacek@redhat.com> - 2.6-8.8
2f5c80
- Adjust maven-wagon R/BR
2f5c80
2f5c80
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.7
2f5c80
- Mass rebuild 2014-02-19
2f5c80
2f5c80
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.6
2f5c80
- Mass rebuild 2014-02-18
2f5c80
2f5c80
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.5
2f5c80
- Remove requires on java
2f5c80
2f5c80
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.4
2f5c80
- Rebuild to fix incorrect auto-requires
2f5c80
2f5c80
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.3
2f5c80
- SCL-ize requires and build-requires
2f5c80
2f5c80
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.2
2f5c80
- Rebuild to regenerate auto-requires
2f5c80
2f5c80
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-8.1
2f5c80
- First maven30 software collection build
2f5c80
2f5c80
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.6-8
2f5c80
- Mass rebuild 2013-12-27
2f5c80
2f5c80
* Mon Aug 26 2013 Michal Srb <msrb@redhat.com> - 2.6-7
2f5c80
- Migrate away from mvn-rpmbuild (Resolves: #997511)
2f5c80
- Add missing BR: maven-resources-plugin
2f5c80
2f5c80
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-6
2f5c80
- Rebuild to regenerate API documentation
2f5c80
- Resolves: CVE-2013-1571
2f5c80
2f5c80
* Mon Apr  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-5
2f5c80
- Remove dependencies with test scope
2f5c80
2f5c80
* Mon Apr  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-4
2f5c80
- Add missing Requires on doxia packages
2f5c80
- Resolves: rhbz#909250
2f5c80
2f5c80
* Fri Feb 08 2013 Michal Srb <msrb@redhat.com> - 2.6-3
2f5c80
- Migrate from maven-doxia to doxia subpackages (Resolves: #909250)
2f5c80
- Add BR on maven-local
2f5c80
2f5c80
* Tue Dec 11 2012 Michal Srb <msrb@redhat.com> - 2.6-2
2f5c80
- Migrated to plexus-containers-container-default (Resolves: #878559)
2f5c80
- Removed build dependency on netbeans-cvsclient
2f5c80
2f5c80
* Mon Oct 29 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-1
2f5c80
- Update to upstream version 2.6
2f5c80
2f5c80
* Tue Sep 11 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-1
2f5c80
- Update to upstream version 2.5.1
2f5c80
2f5c80
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-7
2f5c80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2f5c80
2f5c80
* Tue May 22 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-6
2f5c80
- Remove cvsjava support (still can use cvsexe)
2f5c80
2f5c80
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-5
2f5c80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2f5c80
2f5c80
* Mon Sep 5 2011 Alexander Kurtakov <akurtako@redhat.com> 2.4-4
2f5c80
- One more missing R - joda-time.
2f5c80
2f5c80
* Mon Sep 5 2011 Alexander Kurtakov <akurtako@redhat.com> 2.4-3
2f5c80
- Requires maven-scm.
2f5c80
2f5c80
* Mon Sep 5 2011 Alexander Kurtakov <akurtako@redhat.com> 2.4-2
2f5c80
- Add missing R.
2f5c80
2f5c80
* Mon May 30 2011 Alexander Kurtakov <akurtako@redhat.com> 2.4-1
2f5c80
- Update to upstream version 2.4.
2f5c80
2f5c80
* Mon May 23 2011 Alexander Kurtakov <akurtako@redhat.com> 2.3.1-1
2f5c80
- UPdate to upstream version 2.3.1.
2f5c80
2f5c80
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-6
2f5c80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2f5c80
2f5c80
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 2.2-5
2f5c80
- Removed obsolete patch
2f5c80
- tomcat5 -> tomcat6 BRs/Rs
2f5c80
2f5c80
* Tue Oct 26 2010 akurtakov <akurtakov@redhat.com> 2.2-4
2f5c80
- Fix apache-commons-validator BR/R.
2f5c80
2f5c80
* Thu Sep 09 2010 Hui Wang <huwang@redhat.com> - 2.2-3
2f5c80
- Add missing BR netbeans-cvsclient
2f5c80
2f5c80
* Mon Jun 07 2010 Hui Wang <huwang@redhat.com> - 2.2-2
2f5c80
- Added missing requires
2f5c80
2f5c80
* Thu Jun 02 2010 Hui Wang <huwang@redhat.com> - 2.2-1
2f5c80
- Initial version of the package