nailgun/nailgun.spec

45 lines
1.3 KiB
RPMSpec
Raw Normal View History

2020-07-31 15:47:34 +08:00
%define debug_package %{nil}
Name: nailgun
2023-09-21 12:57:36 +08:00
Version: 0.9.1
2020-07-31 15:47:34 +08:00
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
2023-09-21 12:57:36 +08:00
BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:)
2020-07-31 15:47:34 +08:00
%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 '{}' \;
2023-09-21 12:57:36 +08:00
%pom_remove_plugin :maven-javadoc-plugin
2020-07-31 15:47:34 +08:00
%pom_remove_plugin :maven-source-plugin
%build
2023-09-21 12:57:36 +08:00
%mvn_build
2020-07-31 15:47:34 +08:00
%install
%mvn_install
%files -f .mfiles
%doc README.md
2023-09-21 12:57:36 +08:00
%files javadoc -f .mfiles-javadoc
2020-07-31 15:47:34 +08:00
%changelog
* Sat Jul 25 2020 leiju <leiju4@huawei.com> - 0.9.1-1
- Package init