parent
3e62916587
commit
31c49442b4
@ -0,0 +1 @@
|
|||||||
|
/maven-parent-20-source-release.zip
|
@ -0,0 +1,49 @@
|
|||||||
|
Name: maven-parent
|
||||||
|
Version: 20
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Apache Maven parent POM
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://maven.apache.org
|
||||||
|
Source0: http://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: jpackage-utils >= 0:1.7.5-5
|
||||||
|
|
||||||
|
Requires: jpackage-utils
|
||||||
|
Requires(post): jpackage-utils >= 0:1.7.5-5
|
||||||
|
Requires(postun): jpackage-utils >= 0:1.7.5-5
|
||||||
|
|
||||||
|
%description
|
||||||
|
Apache Maven parent POM file used by other Maven projects.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
#nothing to do for the pom
|
||||||
|
|
||||||
|
%install
|
||||||
|
# poms
|
||||||
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
|
install -pm 644 pom.xml \
|
||||||
|
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
|
|
||||||
|
%add_maven_depmap JPP-%{name}.pom
|
||||||
|
|
||||||
|
%post
|
||||||
|
%update_maven_depmap
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%update_maven_depmap
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc LICENSE NOTICE
|
||||||
|
%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
|
%{_mavendepmapfragdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 20-1
|
||||||
|
- Initial version of the package
|
Loading…
Reference in new issue