%global app_root %{_datadir}/%{name}
%global semodule_name rocci_server
-%global commit 596cd1f3c36dbd709ffe886bd8fd94c94b9d0925
+%global commit 3b1909ff57f28ad1932e370c92e0c730477756e9
%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.1.5
+Release: 1%{?dist}
Summary: Ruby OCCI Server
License: ASL 2.0
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.3.2
Requires: rubygem(occi-core) < 4.4
Requires: rubygem(rack-cors)
Requires: rubygem(warden) >= 1.2.3
%package test
Summary: Tests for %{name}
BuildArch: noarch
+Requires: rubygem(bundler)
+#Requires: rubygem(guard-test) # not in Fedora
+#Requires: rubygem(rspec-rails) # >= 3 required?
+#Requires: rubygem(simplecov) # really needed?
Requires: %{name}-ec2 = %{version}-%{release}
Requires: %{name}-opennebula = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
-%description doc
-Tests for %{name}.
+%description test
+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 contains tests for OCCI server.
%package ec2
Summary: Amazon backend for %{gem_name}
BuildArch: noarch
-Requires: rubygem(aws-sdk-core) >= 2.0.1
+Requires: rubygem(aws-sdk-core) >= 2.0.7
Requires: rubygem(aws-sdk-core) < 2.1
Requires: %{name} = %{version}-%{release}
opennebula 4.4.0 lib/backends/bundles/Gemfile.opennebula
EOF
# gems not needed for tests
-for p in sdoc capistrano rvm-capistrano debugger whenever passenger fuubar pry-rails pry-rescue pry-stack_explorer guard-bundler guard-rails rb-inotify libnotify yard redcarpet bond hirb; do
+for p in sdoc capistrano rvm-capistrano debugger whenever passenger rake fuubar pry-rails pry-rescue pry-stack_explorer guard-bundler guard-rails rb-inotify libnotify yard redcarpet bond hirb; do
sed -i "s/^\(\s*gem ['\"]$p['\"].*\)/#disabled: \1/" Gemfile
done
# logstasher and openssl_cms not from git
-sed -i "s/, git:.*//" Gemfile
+sed -i "s/, :git.*//" Gemfile
echo 'gem "%{openssl_cms}"' > lib/authentication_strategies/bundles/Gemfile.keystone
# but move away the prepared Gemfile
%changelog
+* Thu Nov 27 2014 František Dvořák <valtri@civ.zcu.cz> - 1.1.5-1
+- Release 1.1.5
+
* Sat Oct 04 2014 František Dvořák <valtri@civ.zcu.cz> - 1.1.0-0.beta.2
- Release 1.1.0.beta.2