You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
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
|