!2 Upgrade to version 1.0.1
From: @chen-jan Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
416fc79e66
Binary file not shown.
BIN
nailgun-all-1.0.1.zip
Normal file
BIN
nailgun-all-1.0.1.zip
Normal file
Binary file not shown.
24
nailgun.spec
24
nailgun.spec
@ -1,12 +1,13 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: nailgun
|
Name: nailgun
|
||||||
Version: 0.9.1
|
Version: 1.0.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Framework for running Java from the cli without the JVM startup overhead
|
Summary: Framework for running Java from the cli without the JVM startup overhead
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://martiansoftware.com/nailgun/
|
URL: http://martiansoftware.com/nailgun/
|
||||||
Source0: https://github.com/martylamb/nailgun/archive/%{name}-all-%{version}.zip
|
Source0: https://github.com/martylamb/nailgun/archive/%{name}-all-%{version}.zip
|
||||||
BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:)
|
Source1: xmvn-reactor
|
||||||
|
BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:) maven
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nailgun is a client, protocol, and server for running Java programs from the
|
Nailgun is a client, protocol, and server for running Java programs from the
|
||||||
@ -25,20 +26,33 @@ This package contains the API documentation for %{name}.
|
|||||||
%setup -q -n %{name}-%{name}-all-%{version}
|
%setup -q -n %{name}-%{name}-all-%{version}
|
||||||
find ./ -name '*.jar' -exec rm -f '{}' \;
|
find ./ -name '*.jar' -exec rm -f '{}' \;
|
||||||
find ./ -name '*.class' -exec rm -f '{}' \;
|
find ./ -name '*.class' -exec rm -f '{}' \;
|
||||||
%pom_remove_plugin :maven-javadoc-plugin
|
#%pom_remove_plugin :maven-javadoc-plugin
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
cp %{SOURCE1} ./.xmvn-reactor
|
||||||
|
|
||||||
|
nailgun_prefix=`pwd|awk -F"BUILD" '{print $1"BUILD"}'`
|
||||||
|
sed -i 's#nailgun_prefix#'"$nailgun_prefix"'#g' ./.xmvn-reactor
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
mvn package
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_datadir}/javadoc/%{name}
|
||||||
|
install -p nailgun-server/target/nailgun-server-1.0.1-javadoc.jar %{buildroot}/%{_datadir}/javadoc/%{name}
|
||||||
|
install -p nailgun-examples/target/nailgun-examples-1.0.1-javadoc.jar %{buildroot}/%{_datadir}/javadoc/%{name}
|
||||||
|
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc
|
||||||
|
%{_datadir}/javadoc/%{name}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 25 2023 chenchen <chen_aka_jan@163.com> - 1.0.1-1
|
||||||
|
- Upgrade to version 1.0.1
|
||||||
|
|
||||||
* Sat Jul 25 2020 leiju <leiju4@huawei.com> - 0.9.1-1
|
* Sat Jul 25 2020 leiju <leiju4@huawei.com> - 0.9.1-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
71
xmvn-reactor
Normal file
71
xmvn-reactor
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<metadata xmlns="http://fedorahosted.org/xmvn/METADATA/3.0.0">
|
||||||
|
<artifacts>
|
||||||
|
<artifact>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-all</artifactId>
|
||||||
|
<extension>pom</extension>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<path>nailgun_prefix/nailgun-nailgun-all-1.0.1/pom.xml</path>
|
||||||
|
<properties>
|
||||||
|
<type>pom</type>
|
||||||
|
</properties>
|
||||||
|
</artifact>
|
||||||
|
<artifact>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-server</artifactId>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<path>nailgun_prefix/nailgun-nailgun-all-1.0.1/nailgun-server/target/nailgun-server-1.0.1.jar</path>
|
||||||
|
<properties>
|
||||||
|
<type>jar</type>
|
||||||
|
<requiresJava>1.6</requiresJava>
|
||||||
|
</properties>
|
||||||
|
</artifact>
|
||||||
|
<artifact>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-server</artifactId>
|
||||||
|
<extension>pom</extension>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<path>nailgun_prefix/nailgun-nailgun-all-1.0.1/nailgun-server/pom.xml</path>
|
||||||
|
<properties>
|
||||||
|
<type>jar</type>
|
||||||
|
<requiresJava>1.6</requiresJava>
|
||||||
|
</properties>
|
||||||
|
</artifact>
|
||||||
|
<artifact>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-examples</artifactId>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<path>nailgun_prefix/nailgun-nailgun-all-1.0.1/nailgun-examples/target/nailgun-examples-1.0.1.jar</path>
|
||||||
|
<properties>
|
||||||
|
<type>jar</type>
|
||||||
|
<requiresJava>1.6</requiresJava>
|
||||||
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-server</artifactId>
|
||||||
|
<requestedVersion>1.0.1</requestedVersion>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</artifact>
|
||||||
|
<artifact>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-examples</artifactId>
|
||||||
|
<extension>pom</extension>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<path>nailgun_prefix/nailgun-nailgun-all-1.0.1/nailgun-examples/pom.xml</path>
|
||||||
|
<properties>
|
||||||
|
<type>jar</type>
|
||||||
|
<requiresJava>1.6</requiresJava>
|
||||||
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.martiansoftware</groupId>
|
||||||
|
<artifactId>nailgun-server</artifactId>
|
||||||
|
<requestedVersion>1.0.1</requestedVersion>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</artifact>
|
||||||
|
</artifacts>
|
||||||
|
</metadata>
|
||||||
Loading…
x
Reference in New Issue
Block a user