%define debug_package %{nil} Name: nailgun Version: 0.9.1 Release: 1 Summary: Framework for running Java from the cli without the JVM startup overhead License: ASL 2.0 URL: http://martiansoftware.com/nailgun/ Source0: https://github.com/martylamb/nailgun/archive/%{name}-all-%{version}.zip BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:) %description Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O. %package javadoc Summary: Javadocs for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-all-%{version} find ./ -name '*.jar' -exec rm -f '{}' \; find ./ -name '*.class' -exec rm -f '{}' \; %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-source-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md %files javadoc -f .mfiles-javadoc %changelog * Sat Jul 25 2020 leiju - 0.9.1-1 - Package init