79 lines
2.1 KiB
RPMSpec
79 lines
2.1 KiB
RPMSpec
Name: mojo-parent
|
|
Version: 28
|
|
Release: 2%{?dist}
|
|
Summary: Codehaus MOJO parent project pom file
|
|
|
|
Group: Development/Libraries
|
|
License: ASL 2.0
|
|
URL: http://mojo.codehaus.org/
|
|
Source0: https://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
Requires: plexus-containers-component-javadoc
|
|
Requires: maven-plugin-plugin
|
|
Requires: junit
|
|
|
|
Requires: jpackage-utils
|
|
Requires(post): jpackage-utils
|
|
Requires(postun): jpackage-utils
|
|
|
|
%description
|
|
Codehaus MOJO parent project pom file
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
# remove parent definition for now
|
|
sed -i '/<parent>/,/<\/parent>/{d}' pom.xml
|
|
|
|
%install
|
|
# poms
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
install -pm 644 pom.xml \
|
|
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
%add_to_maven_depmap org.codehaus.mojo %{name} %{version} JPP %{name}
|
|
|
|
|
|
%post
|
|
%update_maven_depmap
|
|
|
|
%postun
|
|
%update_maven_depmap
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_mavenpomdir}/*
|
|
%{_mavendepmapfragdir}/*
|
|
|
|
|
|
|
|
%changelog
|
|
* Tue Mar 8 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 28-2
|
|
- Remove parent from pom.xml (no codehaus-parent in Fedora now)
|
|
|
|
* Mon Mar 7 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 28-1
|
|
- Update to latest upstream
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Sep 16 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 24-5
|
|
- Add component-javadoc to R
|
|
|
|
* Thu Sep 16 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 24-4
|
|
- Add forgotten jpackage-utils BR
|
|
|
|
* Tue Sep 14 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 24-3
|
|
- Change to license used by upstream (ASL 2.0)
|
|
|
|
* Mon Sep 6 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 24-2
|
|
- Removed %%build section and BRs (not really needed)
|
|
|
|
* Mon Sep 6 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 24-1
|
|
- Initial version of the package
|
|
|