Andy Grimm 5147ea
Name:           apache-parent
Andy Grimm 5147ea
Version:        10
Stanislav Ochotnicky b32264
Release:        5%{?dist}
Andy Grimm 5147ea
Summary:        Parent pom file for Apache projects
Andy Grimm 5147ea
Group:          Development/Libraries
Andy Grimm 5147ea
License:        ASL 2.0
Andy Grimm 5147ea
URL:            http://apache.org/
Andy Grimm 5147ea
Source0:        http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml
Andy Grimm 5147ea
BuildArch:      noarch
Andy Grimm 5147ea
Andy Grimm 5147ea
BuildRequires:  jpackage-utils
Andy Grimm 5147ea
Requires:       jpackage-utils
Andy Grimm 5147ea
Andy Grimm 5147ea
%description
Andy Grimm 5147ea
This package contains the parent pom file for apache projects.
Andy Grimm 5147ea
Andy Grimm 5147ea
Andy Grimm 5147ea
%prep
Stanislav Ochotnicky b32264
%setup -n %{name}-%{version} -Tc
Stanislav Ochotnicky b32264
Stanislav Ochotnicky b32264
# This simplifies work with child projects that can use generics
Stanislav Ochotnicky b32264
cp %{SOURCE0} .
Stanislav Ochotnicky b32264
sed -i 's:<source>1.4</source>:<source>1.5</source>:' pom.xml
Stanislav Ochotnicky b32264
sed -i 's:<target>1.4</target>:<target>1.5</target>:' pom.xml
Andy Grimm 5147ea
Andy Grimm 5147ea
Andy Grimm 5147ea
%build
Andy Grimm 5147ea
Andy Grimm 5147ea
Andy Grimm 5147ea
%install
Andy Grimm 5147ea
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
Andy Grimm 5147ea
install -pm 644 %{SOURCE0} \
Andy Grimm 5147ea
        $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
Andy Grimm 5147ea
Andy Grimm 5147ea
%add_maven_depmap JPP-%{name}.pom
Andy Grimm 5147ea
Andy Grimm 5147ea
%files
Andy Grimm 5147ea
%{_mavenpomdir}/JPP-%{name}.pom
Andy Grimm 5147ea
%{_mavendepmapfragdir}/%{name}
Andy Grimm 5147ea
Andy Grimm 5147ea
%changelog
Stanislav Ochotnicky b32264
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-5
Stanislav Ochotnicky b32264
- Make sure we generate 1.5 version bytecode
Stanislav Ochotnicky b32264
Dennis Gilmore 5aee34
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-4
Dennis Gilmore 5aee34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 5aee34
Dennis Gilmore ebd307
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-3
Dennis Gilmore ebd307
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore ebd307
Andy Grimm 5147ea
* Tue Sep 13 2011 Andy Grimm <agrimm@gmail.com> 10-2
Andy Grimm 5147ea
- Follow suggestions in BZ #736069
Andy Grimm 5147ea
Andy Grimm 5147ea
* Mon Aug 29 2011 Andy Grimm <agrimm@gmail.com> 10-1
Andy Grimm 5147ea
- Initial Build