Files
javafx-maven-plugin/javafx-maven-plugin.spec

68 lines
1.9 KiB
RPMSpec

#
# spec file for package javafx-maven-plugin
#
# 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: javafx-maven-plugin
Version: 0.0.4
Release: 0
Summary: Maven plugin for JavaFX
License: Apache-2.0
URL: https://openjfx.io
Source0: https://github.com/openjfx/%{name}/archive/%{version}.tar.gz
Patch0: javafx-maven-plugin-ioexception.patch
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(org.apache.commons:commons-exec)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
BuildRequires: mvn(org.codehaus.plexus:plexus-java)
BuildArch: noarch
%description
Maven plugin to run JavaFX 11+ applications
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q
%patch -P 0 -p1
%pom_remove_plugin :nexus-staging-maven-plugin
%build
%{mvn_build} -f -- -Dsource=8
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%doc README.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog