diff --git a/nailgun-all-0.9.1.zip b/nailgun-all-0.9.1.zip new file mode 100644 index 0000000..f994463 Binary files /dev/null and b/nailgun-all-0.9.1.zip differ diff --git a/nailgun.spec b/nailgun.spec new file mode 100644 index 0000000..f492aa5 --- /dev/null +++ b/nailgun.spec @@ -0,0 +1,44 @@ +%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 diff --git a/nailgun.yaml b/nailgun.yaml new file mode 100644 index 0000000..2fc3510 --- /dev/null +++ b/nailgun.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/martylamb/nailgun/ +version_control: github +src_repo: martylamb/nailgun +tag_prefix: "nailgun-all-" +seperator: "."