Blame SPECS/maven-archiver.spec

95bf70
%global pkg_name maven-archiver
95bf70
%{?scl:%scl_package %{pkg_name}}
95bf70
%{?maven_find_provides_and_requires}
95bf70
95bf70
Name:           %{?scl_prefix}%{pkg_name}
95bf70
Version:        2.5
95bf70
Release:        9.12%{?dist}
95bf70
Epoch:          0
95bf70
Summary:        Maven Archiver
95bf70
License:        ASL 2.0
95bf70
URL:            http://maven.apache.org/shared/maven-archiver/
95bf70
Source0:        http://repo1.maven.org/maven2/org/apache/maven/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
95bf70
BuildArch:      noarch
95bf70
95bf70
BuildRequires:  %{?scl_prefix_java_common}javapackages-tools
95bf70
BuildRequires:  %{?scl_prefix}maven-local
95bf70
BuildRequires:  %{?scl_prefix}maven-shared
95bf70
BuildRequires:  %{?scl_prefix}maven-resources-plugin
95bf70
BuildRequires:  %{?scl_prefix}maven-site-plugin
95bf70
BuildRequires:  %{?scl_prefix}maven-doxia-sitetools
95bf70
BuildRequires:  %{?scl_prefix}maven-shared-jar
95bf70
BuildRequires:  %{?scl_prefix}plexus-interpolation
95bf70
BuildRequires:  %{?scl_prefix}plexus-archiver >= 2.1-1
95bf70
BuildRequires:  %{?scl_prefix}plexus-utils
95bf70
BuildRequires:  %{?scl_prefix}apache-commons-parent
95bf70
95bf70
95bf70
%description
95bf70
The Maven Archiver is used by other Maven plugins
95bf70
to handle packaging
95bf70
95bf70
%package javadoc
95bf70
Summary:        Javadoc for %{pkg_name}
95bf70
95bf70
%description javadoc
95bf70
Javadoc for %{pkg_name}.
95bf70
95bf70
%prep
95bf70
%setup -q -n %{pkg_name}-%{version}
95bf70
%{?scl:scl enable %{scl} - <<"EOF"}
95bf70
set -e -x
95bf70
%pom_add_dep org.apache.maven:maven-core
95bf70
# tests don't compile with maven 2.2.1
95bf70
rm -fr src/test/java/org/apache/maven/archiver/*.java
95bf70
%{?scl:EOF}
95bf70
95bf70
%build
95bf70
%{?scl:scl enable %{scl} - <<"EOF"}
95bf70
set -e -x
95bf70
%mvn_build
95bf70
%{?scl:EOF}
95bf70
95bf70
%install
95bf70
%{?scl:scl enable %{scl} - <<"EOF"}
95bf70
set -e -x
95bf70
%mvn_install
95bf70
%{?scl:EOF}
95bf70
95bf70
%files -f .mfiles
95bf70
%{_javadir}/%{pkg_name}
95bf70
%dir %{_mavenpomdir}/%{pkg_name}
95bf70
%doc LICENSE NOTICE
95bf70
95bf70
%files javadoc -f .mfiles-javadoc
95bf70
%doc LICENSE NOTICE
95bf70
95bf70
%changelog
95bf70
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0:2.5-9.12
95bf70
- Fix BR on maven-local & co.
95bf70
95bf70
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0:2.5-9.11
95bf70
- maven33 rebuild #2
95bf70
95bf70
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0:2.5-9.10
95bf70
- maven33 rebuild
95bf70
95bf70
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.9
95bf70
- Add directory ownership on %%{_mavenpomdir} subdir
95bf70
95bf70
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:2.5-9.8
95bf70
- Mass rebuild 2015-01-13
95bf70
95bf70
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0:2.5-9.7
95bf70
- Mass rebuild 2015-01-06
95bf70
95bf70
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.6
95bf70
- Mass rebuild 2014-05-26
95bf70
95bf70
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.5
95bf70
- Mass rebuild 2014-02-19
95bf70
95bf70
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.4
95bf70
- Mass rebuild 2014-02-18
95bf70
95bf70
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.3
95bf70
- SCL-ize build-requires
95bf70
95bf70
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.2
95bf70
- Rebuild to regenerate auto-requires
95bf70
95bf70
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-9.1
95bf70
- First maven30 software collection build
95bf70
95bf70
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 02.5-9
95bf70
- Mass rebuild 2013-12-27
95bf70
95bf70
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-8
95bf70
- Rebuild to regenerate API documentation
95bf70
- Resolves: CVE-2013-1571
95bf70
95bf70
* Tue Feb 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-7
95bf70
- Build with xmvn
95bf70
95bf70
* Tue Feb 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-6
95bf70
- Add missing license files
95bf70
95bf70
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.5-5
95bf70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
95bf70
95bf70
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:2.5-4
95bf70
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
95bf70
- Replace maven BuildRequires with maven-local
95bf70
95bf70
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.5-3
95bf70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
95bf70
95bf70
* Thu Feb 16 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.5-2
95bf70
- Add versioned BR/R on plexus-archiver and rebuild
95bf70
95bf70
* Wed Feb 15 2012 Alexander Kurtakov <akurtako@redhat.com> 0:2.5-1
95bf70
- Update to latest upstream release.
95bf70
95bf70
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.2-2
95bf70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
95bf70
95bf70
* Sun Nov 6 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.2-1
95bf70
- Update to 2.4.2 upstream release.
95bf70
95bf70
* Mon Sep 19 2011 Tomas Radej <tradej@redhat.com> - 0:2.4.1-7
95bf70
- Fixed dep on maven-core artifact
95bf70
- Minor fixes
95bf70
95bf70
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-6
95bf70
- Build with maven 3.x.
95bf70
95bf70
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.1-5
95bf70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
95bf70
95bf70
* Mon Nov 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-4
95bf70
- Add missing BR.
95bf70
95bf70
* Mon Nov 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-3
95bf70
- Remove tests as they don't compile.
95bf70
95bf70
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-2
95bf70
- BR java-devel >= 1:1.6.0.
95bf70
95bf70
* Sat May 29 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-1
95bf70
- Update to 2.4.1.
95bf70
95bf70
* Wed Dec 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.4-1
95bf70
- Update to 2.4.
95bf70
95bf70
* Mon Dec 21 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.2-3
95bf70
- BR maven-surefire-provider-junit.
95bf70
95bf70
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.2-2
95bf70
- Fix line length.
95bf70
- Own only specific fragment and pom.
95bf70
95bf70
* Wed May 20 2009 Fernando Nasser <fnasser@redhat.com> 0:2.2-1
95bf70
- Fix license
95bf70
- Update instructions to obtain sources
95bf70
- Refresh source tar ball
95bf70
95bf70
* Thu Jul 26 2007 Deepak Bhole <dbhole@redhat.com> 0:2.2-0jpp.1
95bf70
- Initial build