package init

This commit is contained in:
small_leek 2020-07-31 15:47:34 +08:00
parent ef3baa721f
commit 7482005acd
3 changed files with 49 additions and 0 deletions

BIN
nailgun-all-0.9.1.zip Normal file

Binary file not shown.

44
nailgun.spec Normal file
View File

@ -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 <leiju4@huawei.com> - 0.9.1-1
- Package init

5
nailgun.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/martylamb/nailgun/
version_control: github
src_repo: martylamb/nailgun
tag_prefix: "nailgun-all-"
seperator: "."