apache-parent/apache-parent.spec

85 lines
2.6 KiB
RPMSpec
Raw Normal View History

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