Blame SPECS/maven-reporting-api.spec

9a9f1b
%global pkg_name maven-reporting-api
9a9f1b
%{?scl:%scl_package %{pkg_name}}
9a9f1b
%{?maven_find_provides_and_requires}
9a9f1b
9a9f1b
Name:           %{?scl_prefix}%{pkg_name}
9a9f1b
Version:        3.0
9a9f1b
Release:        5.12%{?dist}
9a9f1b
# Maven-shared defines maven-reporting-api version as 3.0
9a9f1b
Epoch:          1
9a9f1b
Summary:        API to manage report generation
9a9f1b
License:        ASL 2.0
9a9f1b
URL:            http://maven.apache.org/shared/maven-reporting-api
9a9f1b
# svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-reporting-api-3.0 maven-reporting-api-3.0
9a9f1b
# tar caf maven-reporting-api-3.0.tar.xz maven-reporting-api-3.0/
9a9f1b
Source0:        %{pkg_name}-%{version}.tar.xz
9a9f1b
# ASL mandates that the licence file be included in redistributed source
9a9f1b
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
9a9f1b
9a9f1b
BuildArch:      noarch
9a9f1b
9a9f1b
BuildRequires:  %{?scl_prefix}maven-local
9a9f1b
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-shared-components:pom:)
9a9f1b
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.doxia:doxia-sink-api)
9a9f1b
9a9f1b
9a9f1b
%description
9a9f1b
API to manage report generation. Maven-reporting-api is included in Maven 2.x
9a9f1b
core distribution, but moved to shared components to achieve report decoupling
9a9f1b
from Maven 3 core.
9a9f1b
9a9f1b
This is a replacement package for maven-shared-reporting-api
9a9f1b
9a9f1b
%package javadoc
9a9f1b
Summary:        Javadoc for %{pkg_name}
9a9f1b
    
9a9f1b
%description javadoc
9a9f1b
API documentation for %{pkg_name}.
9a9f1b
9a9f1b
9a9f1b
%prep
9a9f1b
%setup -q -n %{pkg_name}-%{version}
9a9f1b
%{?scl:scl enable %{scl} - <<"EOF"}
9a9f1b
set -e -x
9a9f1b
cp %{SOURCE1} LICENSE.txt
9a9f1b
%{?scl:EOF}
9a9f1b
9a9f1b
%build
9a9f1b
%{?scl:scl enable %{scl} - <<"EOF"}
9a9f1b
set -e -x
9a9f1b
# Previous package provides groupIds org.apache.maven.shared and org.apache.maven.reporting
9a9f1b
%mvn_alias : org.apache.maven.shared:maven-reporting-api
9a9f1b
%mvn_build
9a9f1b
%{?scl:EOF}
9a9f1b
9a9f1b
%install
9a9f1b
%{?scl:scl enable %{scl} - <<"EOF"}
9a9f1b
set -e -x
9a9f1b
%mvn_install
9a9f1b
%{?scl:EOF}
9a9f1b
9a9f1b
%files -f .mfiles
9a9f1b
%{_javadir}/%{pkg_name}
9a9f1b
%dir %{_mavenpomdir}/%{pkg_name}
9a9f1b
%doc LICENSE.txt
9a9f1b
9a9f1b
%files javadoc -f .mfiles-javadoc
9a9f1b
%doc LICENSE.txt
9a9f1b
9a9f1b
9a9f1b
%changelog
9a9f1b
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1:3.0-5.12
9a9f1b
- Fix BR on maven-local & co.
9a9f1b
9a9f1b
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1:3.0-5.11
9a9f1b
- maven33 rebuild #2
9a9f1b
9a9f1b
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1:3.0-5.10
9a9f1b
- maven33 rebuild
9a9f1b
9a9f1b
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.9
9a9f1b
- Add directory ownership on %%{_mavenpomdir} subdir
9a9f1b
9a9f1b
* Wed Jan 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.8
9a9f1b
- Fix BR on maven-shared POM
9a9f1b
9a9f1b
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1:3.0-5.8
9a9f1b
- Mass rebuild 2015-01-13
9a9f1b
9a9f1b
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1:3.0-5.7
9a9f1b
- Mass rebuild 2015-01-06
9a9f1b
9a9f1b
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.6
9a9f1b
- Mass rebuild 2014-05-26
9a9f1b
9a9f1b
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.5
9a9f1b
- Mass rebuild 2014-02-19
9a9f1b
9a9f1b
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.4
9a9f1b
- Mass rebuild 2014-02-18
9a9f1b
9a9f1b
* Mon Feb 17 2014 Michal Srb <msrb@redhat.com> - 1:3.0-5.3
9a9f1b
- SCL-ize BR/R
9a9f1b
9a9f1b
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.2
9a9f1b
- Rebuild to regenerate auto-requires
9a9f1b
9a9f1b
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-5.1
9a9f1b
- First maven30 software collection build
9a9f1b
9a9f1b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:3.0-5
9a9f1b
- Mass rebuild 2013-12-27
9a9f1b
9a9f1b
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-4
9a9f1b
- Rebuild to regenerate API documentation
9a9f1b
- Resolves: CVE-2013-1571
9a9f1b
9a9f1b
* Mon Feb 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.0-3
9a9f1b
- Build with xmvn
9a9f1b
- Resolves: rhbz#912437
9a9f1b
9a9f1b
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:3.0-2
9a9f1b
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
9a9f1b
- Replace maven BuildRequires with maven-local
9a9f1b
9a9f1b
* Thu Jan 17 2013 Tomas Radej <tradej@redhat.com> - 1:3.0-1
9a9f1b
- Initial version
9a9f1b