|
Andy Grimm |
5147ea |
Name: apache-parent
|
|
Andy Grimm |
5147ea |
Version: 10
|
|
Michal Srb |
72ba85 |
Release: 8%{?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
|
|
Michal Srb |
72ba85 |
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
Andy Grimm |
5147ea |
BuildArch: noarch
|
|
Andy Grimm |
5147ea |
|
|
Mikolaj Izdebski |
c87aed |
BuildRequires: maven
|
|
Andy Grimm |
5147ea |
BuildRequires: jpackage-utils
|
|
Mikolaj Izdebski |
c87aed |
BuildRequires: apache-resource-bundles
|
|
Mikolaj Izdebski |
c87aed |
BuildRequires: maven-remote-resources-plugin
|
|
Mikolaj Izdebski |
c87aed |
|
|
Andy Grimm |
5147ea |
Requires: jpackage-utils
|
|
Mikolaj Izdebski |
c87aed |
Requires: apache-resource-bundles
|
|
Mikolaj Izdebski |
c87aed |
Requires: maven-remote-resources-plugin
|
|
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 |
|
|
Michal Srb |
72ba85 |
cp %{SOURCE1} LICENSE
|
|
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}
|
|
Stanislav Ochotnicky |
6357e4 |
install -pm 644 pom.xml \
|
|
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 |
|
|
Mikolaj Izdebski |
c87aed |
%check
|
|
Mikolaj Izdebski |
c87aed |
mvn-rpmbuild verify
|
|
Mikolaj Izdebski |
c87aed |
|
|
Andy Grimm |
5147ea |
%files
|
|
Michal Srb |
72ba85 |
%doc LICENSE
|
|
Andy Grimm |
5147ea |
%{_mavenpomdir}/JPP-%{name}.pom
|
|
Andy Grimm |
5147ea |
%{_mavendepmapfragdir}/%{name}
|
|
Andy Grimm |
5147ea |
|
|
Andy Grimm |
5147ea |
%changelog
|
|
Michal Srb |
72ba85 |
* Tue Dec 18 2012 Michal Srb <msrb@redhat.com> - 10-8
|
|
Michal Srb |
72ba85 |
- Added license (Resolves: #888287)
|
|
Michal Srb |
72ba85 |
|
|
Stanislav Ochotnicky |
6357e4 |
* Wed Nov 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-7
|
|
Stanislav Ochotnicky |
6357e4 |
- Install patched pom not the original
|
|
Stanislav Ochotnicky |
6357e4 |
|
|
Mikolaj Izdebski |
c87aed |
* Fri Nov 2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-6
|
|
Mikolaj Izdebski |
c87aed |
- Add missing R: maven-remote-resources-plugin, apache-resource-bundles
|
|
Mikolaj Izdebski |
c87aed |
- Add %%check to verify dependencies during build
|
|
Mikolaj Izdebski |
c87aed |
|
|
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
|