%global app_root %{_datadir}/%{name}
%global semodule_name rocci_server
-%global commit 596cd1f3c36dbd709ffe886bd8fd94c94b9d0925
+%global commit aa036b71edcffd0e531a3ceba5b7113d40577977
%if 0%{?fedora} && 0%{?fedora} <= 20 || 0%{?rhel} && 0%{?rhel} <= 7
%global openssl_cms openssl_cms_2_0_0
%endif
Name: rOCCI-server
-Version: 1.1.0
-Release: 0.beta.2%{?dist}
+Version: 1.0.5
+Release: 1%{?dist}
Summary: Ruby OCCI Server
License: ASL 2.0
Source4: README.Fedora
# kill the bundler
# (not intended for upstream)
-Patch0: rocci-server-unbundle.diff
+Patch0: rocci-server-1.0.x-unbundle.diff
BuildArch: noarch
BuildRequires: policycoreutils-python
Requires: rubygem(rails) >= 4.0.0
Requires: rubygem(rails) < 4.2
Requires: rubygem(rails-api)
-Requires: rubygem(occi-core) >= 4.3.0
-Requires: rubygem(occi-core) < 4.4
+Requires: rubygem(occi-core) >= 4.2.15
+Requires: rubygem(occi-core) < 4.3
Requires: rubygem(rack-cors)
Requires: rubygem(warden) >= 1.2.3
Requires: rubygem(%{openssl_cms})
Documentation for %{name}.
-%package ec2
-Summary: Amazon backend for %{gem_name}
-BuildArch: noarch
-Requires: rubygem(aws-sdk-core) >= 2.0.1
-Requires: rubygem(aws-sdk-core) < 2.1
-Requires: %{name} = %{version}-%{release}
-
-%description ec2
-OCCI (the Open Cloud Computing Interface) is a standard by the Open Grid Forum,
-specifying a protocol and API to perform various remote management tasks in
-clouds. The rOCCI-server extends cloud managers, which are not OCCI-compliant
-natively, with its own OCCI interface. It is based on the rOCCI (Ruby OCCI)
-Framework.
-
-This package provides Amazon Web Services backend for OCCI server.
-
-
%package opennebula
Summary: Opennebula backend for %{gem_name}
BuildArch: noarch
%exclude %{app_root}/.bundle/
%exclude %{app_root}/.rspec
%exclude %{app_root}/.travis.yml
-%exclude %{app_root}/.yardopts
%exclude %{app_root}/Guardfile
%files doc
%{app_root}/README.md
%{app_root}/Rakefile
-%files ec2
-%{app_root}/lib/backends/ec2/
-%{app_root}/lib/backends/ec2_backend.rb
-
%files opennebula
%{app_root}/lib/backends/opennebula/
%{app_root}/lib/backends/opennebula_backend.rb
%changelog
-* Sat Oct 04 2014 František Dvořák <valtri@civ.zcu.cz> - 1.1.0-0.beta.2
-- Release 1.1.0.beta.2
-
* Sat Oct 04 2014 František Dvořák <valtri@civ.zcu.cz> - 1.0.5-1
- Initial package
+commit f1a70411dc804b9861593632e13142feac4d244d
Author: František Dvořák <valtri@civ.zcu.cz>
-Date: Thu Sep 18 16:10:01 2014 +0200
+Date: Thu Sep 18 22:36:18 2014 +0200
- Remove the bundler.
+ Remove the bundler (branch 1.0.x).
diff --git a/config/application.rb b/config/application.rb
-index 98480fb..e768d67 100644
+index 6f37af1..72c497e 100644
--- a/config/application.rb
+++ b/config/application.rb
-@@ -8,9 +8,30 @@ require 'action_controller/railtie'
+@@ -8,9 +8,24 @@ require 'action_controller/railtie'
require 'rails/test_unit/railtie'
# require 'sprockets/railtie'
+require 'hashie'
+require 'ice_nine'
+require 'occi-core'
-+# ec2 backend
-+begin
-+ require 'aws-sdk-core'
-+rescue LoadError
-+end
+# opennebula backend
+begin
+ require 'opennebula'
+ require 'erubis'
-+ require 'ox'
+rescue LoadError
+end