8cf7cb
Name:           apache-parent
8cf7cb
Version:        10
8cf7cb
Release:        12%{?dist}
8cf7cb
Summary:        Parent pom file for Apache projects
8cf7cb
Group:          Development/Libraries
8cf7cb
License:        ASL 2.0
8cf7cb
URL:            http://apache.org/
8cf7cb
Source0:        http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml
8cf7cb
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
8cf7cb
BuildArch:      noarch
8cf7cb
8cf7cb
BuildRequires:  maven-local
8cf7cb
BuildRequires:  jpackage-utils
8cf7cb
BuildRequires:  apache-resource-bundles
8cf7cb
BuildRequires:  maven-remote-resources-plugin
8cf7cb
8cf7cb
Requires:       apache-resource-bundles
8cf7cb
8cf7cb
%description
8cf7cb
This package contains the parent pom file for apache projects.
8cf7cb
8cf7cb
8cf7cb
%prep
8cf7cb
%setup -n %{name}-%{version} -Tc
8cf7cb
8cf7cb
# This simplifies work with child projects that can use generics
8cf7cb
cp %{SOURCE0} .
8cf7cb
sed -i 's:<source>1.4</source>:<source>1.5</source>:' pom.xml
8cf7cb
sed -i 's:<target>1.4</target>:<target>1.5</target>:' pom.xml
8cf7cb
8cf7cb
cp %{SOURCE1} LICENSE
8cf7cb
8cf7cb
%build
8cf7cb
%mvn_build
8cf7cb
8cf7cb
%install
8cf7cb
%mvn_install
8cf7cb
8cf7cb
%files -f .mfiles
8cf7cb
%doc LICENSE
8cf7cb
8cf7cb
%changelog
8cf7cb
* Thu Aug 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-13
8cf7cb
- Add missing R: apache-resource-bundles
8cf7cb
8cf7cb
* Mon Aug 26 2013 Michal Srb <msrb@redhat.com> - 10-11
8cf7cb
- Migrate away from mvn-rpmbuild (Resolves: #997520)
8cf7cb
8cf7cb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-10
8cf7cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8cf7cb
8cf7cb
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 10-9
8cf7cb
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
8cf7cb
- Replace maven BuildRequires with maven-local
8cf7cb
8cf7cb
* Tue Dec 18 2012 Michal Srb <msrb@redhat.com> - 10-8
8cf7cb
- Added license (Resolves: #888287)
8cf7cb
8cf7cb
* Wed Nov 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-7
8cf7cb
- Install patched pom not the original
8cf7cb
8cf7cb
* Fri Nov  2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-6
8cf7cb
- Add missing R: maven-remote-resources-plugin, apache-resource-bundles
8cf7cb
- Add %%check to verify dependencies during build
8cf7cb
8cf7cb
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-5
8cf7cb
- Make sure we generate 1.5 version bytecode
8cf7cb
8cf7cb
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-4
8cf7cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8cf7cb
8cf7cb
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-3
8cf7cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8cf7cb
8cf7cb
* Tue Sep 13 2011 Andy Grimm <agrimm@gmail.com> 10-2
8cf7cb
- Follow suggestions in BZ #736069
8cf7cb
8cf7cb
* Mon Aug 29 2011 Andy Grimm <agrimm@gmail.com> 10-1
8cf7cb
- Initial Build