Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
395c531beb
!18 [sync] PR-12: 解决24.03编译失败问题
From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2024-03-18 02:52:05 +00:00
herengui
9aa8c72e0b Disable tests since the test certificate has expired
Signed-off-by: herengui <herengui@kylinsec.com.cn>
(cherry picked from commit f2891f1dab20e68c8b923bf18e37b9fb199d06f2)
2024-03-18 09:28:29 +08:00
openeuler-ci-bot
d9815a27fb
!11 [sync] PR-10: Init package vdsm-jsonrpc-java of version 1.5.5
From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-08-23 03:28:57 +00:00
jxy_git
8535783f36 Init package vdsm-jsonrpc-java of version 1.5.5
(cherry picked from commit f429c14adbdaa01a42bb1b0d984c02cf7d806f74)
2022-08-23 11:09:12 +08:00
openeuler-ci-bot
f6bc0aaf05
!8 Add url field
From: @liqiuyu123 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-04-06 06:42:33 +00:00
liqiuyu
932d6e4455 add yaml 2022-04-06 14:26:56 +08:00
openeuler-ci-bot
c0155912ac
!4 【轻量级 PR】:update vdsm-jsonrpc-java.spec.
Merge pull request !4 from 赵汉斯/N/A
2022-01-04 07:08:37 +00:00
赵汉斯
9453a36220 update vdsm-jsonrpc-java.spec. 2021-07-12 07:29:31 +00:00
openeuler-ci-bot
a41d39fbe5 !2 Init package for version 1.6.0
From: @crrs666
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
2021-07-05 12:36:51 +00:00
wangdi
33f74183ea Init package for version 1.6.0 2021-07-02 15:21:27 +08:00
4 changed files with 95 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# vdsm-jsonrpc-java
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
JsonRpc java client for oVirt
#### Software Architecture
Software architecture description

Binary file not shown.

90
vdsm-jsonrpc-java.spec Normal file
View File

@ -0,0 +1,90 @@
%global package_version 1.5.5
%global package_maven_version 1.5.5
%global _java_jdk_home /usr/lib/jvm/java-11-openjdk
%global _mvn_opts -Ptimedependant-tests-disabled -Pno-test
Summary: JsonRpc java client (%{name}) for oVirt
Name: vdsm-jsonrpc-java
Version: 1.5.5
Release: 2
License: LGPLv2+
URL: http://www.ovirt.org
Source: http://resources.ovirt.org/pub/ovirt-master-snapshot/src/%{name}/%{name}-%{package_version}.tar.gz
Group: Development/Libraries
# We need to disable automatic generation of "Requires: java-headless >=1:11"
# by xmvn, because JDK 11 doesn't provide java-headless, but it
# provides java-11-headless
AutoReq: no
BuildArch: noarch
BuildRequires: gcc
BuildRequires: apache-commons-lang >= 2.6
BuildRequires: jackson-annotations >= 2.9.0
BuildRequires: jackson-core >= 2.9.0
BuildRequires: jackson-databind >= 2.9.0
BuildRequires: java-11-openjdk-devel >= 11.0.4
BuildRequires: javapackages-tools
BuildRequires: slf4j >= 1.7.0
BuildRequires: junit
BuildRequires: mockito
BuildRequires: maven >= 3.5.0
BuildRequires: maven-compiler-plugin
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-local
BuildRequires: maven-source-plugin
BuildRequires: maven-surefire-provider-junit
# Explicit mvn imports because 'AutoReq: no'
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
BuildRequires: mvn(commons-lang:commons-lang)
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.slf4j:slf4j-api)
Requires: apache-commons-lang >= 2.6
Requires: jackson-annotations >= 2.9.0
Requires: jackson-core >= 2.9.0
Requires: jackson-databind >= 2.9.0
Requires: java-11-openjdk-headless >= 11.0.4
Requires: slf4j >= 1.7.0
%description
vdsm jsonrpc java
%package javadoc
Summary: Java-docs for %{name}
Group: Documentation
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{package_version}
%pom_remove_plugin :maven-javadoc-plugin client/pom.xml.in
%build
%configure
# necessary because jdk 1.8 comes as default with xmvn
export JAVA_HOME="%{_java_jdk_home}"
%mvn_build -- %{?_mvn_opts}
%install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%files javadoc -f .mfiles-javadoc
%changelog
* Mon Mar 18 2024 herengui <herengui@kylinsec.com.cn> - 1.5.5-2
- Disable tests since the test certificate has expired.
* Fri Jul 02 2021 Ge Wang <wangge20@huawei.com> - 1.5.5-1
- Init package

4
vdsm-jsonrpc-java.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: oVirt/vdsm-jsonrpc-java
tag_prefix: ^v
separator: "."