106 lines
3.6 KiB
RPMSpec
106 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package javapackages-meta
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: javapackages-meta
|
|
# Sync the version with javapackages-tools package
|
|
Version: 5.3.0
|
|
Release: 0
|
|
Summary: Meta-packages for different local modes of Java builds
|
|
License: BSD-3-Clause
|
|
Group: Development/Languages/Java
|
|
URL: https://github.com/fedora-java/javapackages
|
|
Source100: %{name}-rpmlintrc
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package provides a set of meta-packages needed by local modes for
|
|
Gradle, Ivy and Maven. These local modes allow artifact resolution
|
|
using XMvn resolver.
|
|
|
|
%package -n gradle-local
|
|
Summary: Local mode for Gradle
|
|
Group: Development/Languages/Java
|
|
Requires: gradle >= 2.2.1
|
|
Requires: javapackages-gradle >= %{version}
|
|
Requires: xmvn-connector-gradle
|
|
Requires: xmvn-install
|
|
Requires: xmvn-resolve
|
|
|
|
%description -n gradle-local
|
|
This meta-package pulls in macros, scripts and dependencies
|
|
implementing local mode for Gradle, which allows artifact
|
|
resolution using XMvn resolver.
|
|
|
|
%package -n ivy-local
|
|
Summary: Local mode for Apache Ivy
|
|
Group: Development/Languages/Java
|
|
Requires: ant
|
|
Requires: apache-ivy >= 2.3.0
|
|
Requires: javapackages-ivy >= %{version}
|
|
Requires: xmvn-connector-ivy
|
|
Requires: xmvn-install
|
|
Requires: xmvn-resolve
|
|
|
|
%description -n ivy-local
|
|
This meta-package pulls in macros, scripts and dependencies
|
|
implementing local mode for Apache Ivy, which allows
|
|
artifact resolution using XMvn resolver.
|
|
|
|
%package -n maven-local
|
|
Summary: Local mode for Maven
|
|
Group: Development/Languages/Java
|
|
Requires: javapackages-local >= %{version}
|
|
Requires: javapackages-tools >= %{version}
|
|
# Tests based on JUnit are very common and JUnit itself is small.
|
|
# Include JUnit and JUnit provider for Surefire just for convenience.
|
|
Requires: mvn(junit:junit)
|
|
# Common Maven plugins required by almost every build. It wouldn't make
|
|
# sense to explicitly require them in every package built with Maven.
|
|
Requires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
|
|
Requires: mvn(org.apache.maven.plugins:maven-jar-plugin)
|
|
Requires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
|
|
Requires: mvn(org.apache.maven.plugins:maven-resources-plugin)
|
|
Requires: mvn(org.apache.maven.plugins:maven-surefire-plugin)
|
|
Requires: mvn(org.apache.maven.surefire:surefire-junit4)
|
|
Requires: mvn(org.apache.maven.surefire:surefire-testng)
|
|
# testng is quite common as well
|
|
Requires: xmvn-connector-aether
|
|
Requires: xmvn-install
|
|
Requires: xmvn-minimal
|
|
Requires: xmvn-mojo
|
|
Requires: xmvn-resolve
|
|
|
|
%description -n maven-local
|
|
This meta-package pulls in macros, scripts and dependencies
|
|
implementing local mode for Maven, which allows artifact
|
|
resolution using XMvn resolver.
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
|
|
%files -n gradle-local
|
|
|
|
%files -n ivy-local
|
|
|
|
%files -n maven-local
|
|
|
|
%changelog
|