--- /dev/null
+Source: ruby-rocci-cli
+Section: ruby
+Priority: optional
+Maintainer: František Dvořák <valtri@civ.zcu.cz>
+Build-Depends: debhelper (>= 8), gem2deb
+#, ruby-highline
+Standards-Version: 3.9.5
+Vcs-Browser: https://github.com/EGI-FCTF/rOCCI-cli
+Vcs-Git: git://github.com/EGI-FCTF/rOCCI-cli.git
+XS-Ruby-Versions: all
+
+Package: ruby-rocci-cli
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-json,
+ ruby-rocci-api (>= 4.2.0), ruby-rocci-api (<< 4.3)
+Description: rOCCI client
+ 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-cli is OCCI client based on the rOCCI (Ruby OCCI) Framework.
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rOCCI-cli
+
+Files: *
+Copyright (c) 2012 GWDG
+Copyright: Copyright (c) 2013 GWDG, CESNET
+License: Apache 2.0
+
+License: Apache 2.0
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the full text of the Apache Software License version 2 can
+ be found in the file `/usr/share/common-licenses/Apache-2.0'.
--- /dev/null
+debian/ruby-rocci-cli/usr/lib/ruby/vendor_ruby/occi-cli.rb
--- /dev/null
+AUTHORS
+LICENSE
+README.md
--- /dev/null
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --buildsystem=ruby --with ruby
--- /dev/null
+3.0 (quilt)
--- /dev/null
+#! /bin/sh -e
+
+#
+# Use these commands to create source package:
+#
+# rm -rf rOCCI-cli
+# ./gen-rocci-cli.sh -S -nc -uc -us
+#
+
+if [ -d rOCCI-cli ]; then
+ echo "WARNING: rOCCI-cli directory already exists!"
+else
+ git clone https://github.com/EGI-FCTF/rOCCI-cli.git
+fi
+test -n "$NO_DPKG" && exit 0
+
+cd rOCCI-cli
+
+tag=${tag:-}
+uver=`grep "\<VERSION =" lib/occi/cli/version.rb | sed "s/.*VERSION\s*=\s*[\"']\(.*\)[\"'].*/\1/" | sed "s/.\(alpha\|beta\|rc\)/~\1/"`
+dver=`date "+%Y%m%d"`
+if [ -z "$tag" ]; then
+ ver="$uver+$dver"
+else
+ ver="$uver"
+fi
+age=${age:-"1"}
+maint="František Dvořák <valtri@civ.zcu.cz>"
+p_name="ruby-rocci-cli"
+
+if [ -n "$tag" ]; then
+ git checkout "$tag"
+fi
+rm -rf .git .gitignore
+tar -cf - ../rOCCI-cli | gzip --best > ../${p_name}_$ver.orig.tar.gz
+
+cp -rp ../debian .
+cat <<EOF > debian/changelog
+${p_name} (${ver}-${age}) unstable; urgency=low
+
+ * Debian packaging
+
+ -- $maint `date "+%a, %d %b %Y %H:%M:%S %z"`
+EOF
+
+dpkg-buildpackage $@