Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
oVirt
:
3.3.2
>
ovirt-engine-sdk-java
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
ovirt-engine-sdk-java-SLE_11_SP3.spec
@@ -0,0 +1,303 @@ +%global package_version 1.0.0.19 +%global package_maven_version 1.0.0.19-1 +%global _javadocname javadoc + +%if 0%{?fedora} +%global install_poms 1 +%global require_maven 1 +%global require_java_dep 1 +%global mvn mvn-rpmbuild +%global mvnout target +%endif + +%if 0%{?rhel} +%global install_poms 0 +%global require_maven 0 +%global require_java_dep 0 +%global mvn mvn +%global mvnout target +%endif + +Name: ovirt-engine-sdk-java +Version: 1.0.0.19 +Release: 1%{dist} +Summary: oVirt Engine Software Development Kit (Java) +Group: Development/Libraries +License: ASL 2.0 +URL: http://ovirt.org +Source0: http://ovirt.org/releases/stable/src/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: java-devel +BuildRequires: jpackage-utils + +%if %{require_java_dep} +BuildRequires: apache-commons-logging +BuildRequires: apache-commons-compress +BuildRequires: httpcomponents-client >= 4.2 +BuildRequires: junit +BuildRequires: xerces-j2 +BuildRequires: maven-local +%endif + +%if %{require_maven} +BuildRequires: maven +BuildRequires: maven-compiler-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-jar-plugin +BuildRequires: maven-javadoc-plugin +BuildRequires: maven-source-plugin +%endif + +Requires: java +Requires: httpcomponents-client >= 4.2 +Requires: apache-commons-logging +Requires: apache-commons-beanutils +Requires: commons-codec +Requires: log4j + +%description +This package contains The oVirt-Engine Java Software Development Kit. +With this package, custom java software can be built for oVirt-Engine. + +%package javadoc +Summary: Javadocs for %{name} +Group: Documentation +Requires: jpackage-utils + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{name} + +%build +%{mvn} install javadoc:aggregate + +%install +install -d -m 755 "%{buildroot}%{_javadir}/%{name}" +install -d -m 755 "%{buildroot}%{_mavenpomdir}" + +install -pm 644 "%{mvnout}/%{name}-%{package_maven_version}.jar" "%{buildroot}%{_javadir}/%{name}" +ln -s "%{name}-%{package_maven_version}.jar" "%{buildroot}%{_javadir}/%{name}/%{name}.jar" + +%if %{install_poms} +install -pm 644 "pom.xml" "%{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}.pom" +%add_maven_depmap "JPP.%{name}-%{name}.pom" "%{name}/%{name}.jar" +%endif + +mkdir -p "%{buildroot}%{_javadocdir}/%{name}" +install -pm 644 "%{mvnout}/%{name}-%{package_maven_version}-%{_javadocname}.jar" "%{buildroot}%{_javadocdir}/%{name}" +ln -s "%{name}-%{package_maven_version}-%{_javadocname}.jar" "%{buildroot}%{_javadocdir}/%{name}/%{name}-%{_javadocname}.jar" + +%files +%{_javadir}/%{name}/ +%if %{install_poms} +%{_mavenpomdir}/JPP.%{name}-%{name}.pom +%{_mavendepmapfragdir}/%{name} +%endif +%doc AUTHORS +%doc README +%doc LICENSE + +%files javadoc +%{_javadocdir}/%{name} + +%changelog +* Wed Oct 30 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.19-1 +- to host.install() added ssh related arguments +- to template added virtio_scsi.enabled +- to vm added virtio_scsi.enabled +- added ability to attach a disk snapshot to the virtual machine +- to File class added 'content' field +- Payload class now reuses Files instead of own PayloadFile collection + +* Wed Oct 9 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.18-1 +- added fqdn property to GuestInfo +- refine host add()/update() documentation +- to DataCenterStorageDomainDisk added exportDisk() action +- to StorageDomainDisk added exportDisk() action +- to TemplateDisk added exportDisk() action +- to VMDisk added exportDisk() action +- to Disk added exportDisk() action +- update function doesn't have overloading methods #1008176 +- setupnetworks doesn't work #1008458 +- apache PropertyUtilsBean throws NoSuchMethodException #1007266 +- session_timeout parameter doesn't exists in API constructor #1007231 + +* Wed Sep 11 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.17-1 +- VCpuPin renamed to VCpuPin +- Host.getRebootAfterInstallation() returns False (null was expected) #985842 +- make all sdk exceptions serializable + +* Tue Sep 3 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.16-1 +- mvn compile with jdk 1.7 + +* Tue Sep 3 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.15-1 +- added StorageDomainStorageConnection.delete() signature +- added StorageDomainStorageConnection.delete(Boolean async) signature +- added StorageDomainStorageConnections.add(StorageConnection storageconnection) signature +- added StorageDomainStorageConnections.add(StorageConnection storageconnection, + String expect, String correlationId) signature +- add ParameterSet descriptions +- implement AutoCloseable interface +- in Cluster added glusterhooks (ClusterGlusterHooks) sub-collection +- in DataCenterCluster added glusterhooks (DataCenterClusterGlusterhooks) + sub-collection +- in StorageDomain added images (StorageDomainImages) sub-collection + +* Tue Aug 13 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.14-1 +- added VnicProfiles root-collection +- to network added VnicProfiles sub-collection +- to storagedomain added StorageConnections sub-collection +- to VnicProfile added Permission sub-collection +- to network.add()/.updated added [network.profile_required] +- to NICs.add() added new overload with [nic.vnic_profile.id] +- to NIC.update() added new overload with [nic.vnic_profile.id] +- to VMSnapshots.list()/.get() added [String allContent] parameter +- to VMs.add() added new overload based on [vm.initialization.configuration.type|data] +- added root collection StorageConnections +- added [host.override_iptables] +- added [template.cpu_shares] +- added [template.display.single_qxl_pci] +- added [vm.display.single_qxl_pci] +- added [vm.cpu_shares] +- to template added: +- [@param template.console.enabled: boolean] #878459 +- to vm added: +- [@param vm.console.enabled: boolean] #878459 +- to Cluster added: + *[@param cluster.comment: string] + *[@param cluster.ballooning_enabled: boolean] + *[@param cluster.tunnel_migration: boolean] +- to Host added: + *[@param host.comment: string] + *[@param host.ssh.port: int] + *[@param host.ssh.fingerprint: string] + *[@param host.ssh.authentication_type: string] + *[@param host.ssh.password: string] + *forceselectspm() action +- to Network added: + *[@param network.comment: string] +- to StorageDomain + *[@param storagedomain.comment: string] +- to Template added: + *[@param template.comment: string] + *[@param template.permissions.clone: boolean] +- to VM added: + *[@param vm.comment: string] + *[@param vm.permissions.clone: boolean] + +* Thu Jul 18 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.13-1 +- dependencies changes + +* Tue Jul 16 2013 Michael Pasternak <mpastern@redhat.com> - 1.0.0.11-1 +- added "watchdog" feature #947977 +- added "external tasks" feature #872719 +- snapshot can persist/restore memory state now #960931 +