Name: options Version: 1.7 Release: 1 Summary: Library for managing sets of JVM properties to configure an app or library License: Apache-2.0 URL: https://github.com/headius/%{name} Source0: https://github.com/headius/%{name}/archive/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: maven-local sonatype-oss-parent BuildRequires: java-11-openjdk-devel Requires: java-11-openjdk Requires: javapackages-tools %description Provides a simple mechanism for defining JVM property-based configuration for an application or library. %package help Summary: help for %{name} %description help Help for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} %build #set openjdk11 for build export JAVA_HOME=%{_jvmdir}/java-11-openjdk %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc LICENSE %files help -f .mfiles-javadoc %doc LICENSE %changelog * Thu Sep 21 2023 wangkai <13474090681@163.com> - 1.7-1 - Update to 1.7 * Tue Jul 28 2020 wangxiao - 1.2-1 - package init