apache-parent/apache-parent.spec

34 lines
1.0 KiB
RPMSpec
Raw Normal View History

2019-12-12 17:21:51 +08:00
Name: apache-parent
Version: 19
Release: 4
Summary: Maven Parent POM file for Apache projects
License: ASL 2.0
URL: https://maven.apache.org/pom/index.html
Source0: http://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip
BuildArch: noarch
BuildRequires: maven-local mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) mvn(org.apache:apache-jar-resource-bundle)
Requires: mvn(org.apache:apache-jar-resource-bundle)
%description
Maven parent POM (or super POM) is used to structure the project to avoid
redundancies or duplicate configurations using inheritance between pom
files. It helps in easy maintenance in long term.
%prep
%autosetup -n apache-%{version} -p1
%pom_remove_plugin :maven-site-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE
%changelog
* Thu Dec 12 2019 gulining<gulining1@huawei.com> - 19-4
- Pakcage init