Projects
Eulaceura:Factory
java-ovirt-engine-sdk4
_service:obs_scm:java-ovirt-engine-sdk4.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:java-ovirt-engine-sdk4.spec of Package java-ovirt-engine-sdk4
%global tar_version 4.4.6 Name: java-ovirt-engine-sdk4 Version: 4.4.6 Release: 1 Summary: Java SDK for version 4 of the oVirt Engine API Group: Development/Languages License: ASL 2.0 URL: http://ovirt.org/wiki/SDK # This should be a tar file containing the generated source code of the # SDK, as we can't build and run the generator with the packages # available in the distribution: Source0: https://resources.ovirt.org/pub/ovirt-4.4/src/java-ovirt-engine-sdk4/ovirt-engine-sdk-java-%{tar_version}.tar.gz # This file is used to perform the build using Ant, because the upstream # project has build dependencies that make it impossible to build it # with the packages available in the distribution: Source1: build.xml # This file is used to transform the upstream 'pom.xml' file into a # 'pom-nodeps.xml' file that doesn't have the dependencies of the # code generator, as those aren't available in the distribution: Source2: transform-pom.xsl BuildArch: noarch BuildRequires: ant BuildRequires: javapackages-local BuildRequires: zlib >= 1.2.11 BuildRequires: mvn(org.apache.httpcomponents:httpclient) BuildRequires: mvn(org.apache.httpcomponents:httpcore) BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core) BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations) BuildRequires: mvn(org.slf4j:slf4j-api) %description This package contains the Java SDK for version 4 of the oVirt Engine API. %prep # Extract the source: %setup -q -n ovirt-engine-sdk-java-%{tar_version} %build # Copy the files required for the Ant build to the extracted SDK # directory: cp %{SOURCE1} %{SOURCE2} . # Populate the lib directory with symlinks to the required dependencies that # will be used to create the compiler classpath: mkdir lib while read jar do ln -s %{_javadir}/${jar}.jar lib done << __EOF__ httpcomponents/httpclient httpcomponents/httpcore jackson/jackson-databind jackson/jackson-core jackson/jackson-annotations slf4j/api __EOF__ # Perform build using Ant: java -jar %{_javadir}/ant-launcher.jar -f build.xml %install # Install the POM without dependencies created during the build process # and the .jar file: %mvn_artifact pom-nodeps.xml target/%{name}.jar %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc README.adoc %license LICENSE.txt %changelog * Mon Jan 29 2024 woody2918 <wudi1@uniontech.com> - 4.4.6-1 - Update version to 4.4.6 * Fri Apr 1 2022 liqiuyu <liqiuyu@kylinos.cn> - 4.4.5-2 - Adding buildRequires * Thu Jul 01 2021 wangdi <wangdi@kylinos.cn> - 4.4.5-1 - Init pacakage for version 4.4.5
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2