apache-parent/apache-parent.spec
2024-12-30 16:01:18 +01:00

47 lines
1.2 KiB
RPMSpec

%bcond_with bootstrap
Name: apache-parent
Version: 33
Release: %autorelease
Summary: Parent POM file for Apache projects
License: Apache-2.0
URL: https://apache.org/
Source0: https://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
%endif
%if %{without bootstrap}
# Not generated automatically
BuildRequires: mvn(org.apache.apache.resources:apache-jar-resource-bundle)
%endif
Requires: mvn(org.apache.apache.resources:apache-jar-resource-bundle)
%description
This package contains the parent pom file for apache projects.
%prep
%autosetup -p1 -C
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin :maven-site-plugin docs
%pom_remove_plugin :maven-scm-publish-plugin docs
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%changelog
%autochangelog