summaryrefslogtreecommitdiffstats
path: root/bin/openshift-ansible-bin.spec
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-03-16 16:50:02 -0400
committerThomas Wiest <twiest@redhat.com>2015-03-24 11:36:16 -0400
commit17c69ff4a4b8b905e2db4dac6c9c0e8d1212b23f (patch)
treef7a4cf9a226d35a23f98416545403fb617e7e767 /bin/openshift-ansible-bin.spec
parent6bb076355db1eafdf610c96735cfc72d0dac1862 (diff)
downloadopenshift-17c69ff4a4b8b905e2db4dac6c9c0e8d1212b23f.tar.gz
openshift-17c69ff4a4b8b905e2db4dac6c9c0e8d1212b23f.tar.bz2
openshift-17c69ff4a4b8b905e2db4dac6c9c0e8d1212b23f.tar.xz
openshift-17c69ff4a4b8b905e2db4dac6c9c0e8d1212b23f.zip
Automatic commit of package [openshift-ansible-cmds] release [0.0.1-1].
Diffstat (limited to 'bin/openshift-ansible-bin.spec')
-rw-r--r--bin/openshift-ansible-bin.spec34
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/openshift-ansible-bin.spec b/bin/openshift-ansible-bin.spec
new file mode 100644
index 000000000..2b83a7d0b
--- /dev/null
+++ b/bin/openshift-ansible-bin.spec
@@ -0,0 +1,34 @@
+Summary: OpenShift Operations files for mirror
+Name: openshift-ansible-bin
+Version: 0.0.1
+Release: 1%{?dist}
+License: ASL 2.0
+URL: https://github.com/openshift/openshift-ansible
+Source0: %{name}-%{version}.tar.gz
+Requires: python2
+BuildRequires: python2-devel
+BuildArch: noarch
+
+%description
+Scripts to make it nicer when working with hosts that are defined only by metadata.
+
+%prep
+%setup -q
+
+%build
+
+%install
+mkdir -p %{buildroot}/usr/bin
+mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
+mkdir -p %{buildroot}/etc/bash_completion.d
+
+cp -p ossh oscp opssh %{buildroot}/usr/bin
+cp -p awsutil.py %{buildroot}%{python_sitelib}/openshift_ansible
+cp -p ossh_bash_completion %{buildroot}/etc/bash_completion.d
+
+%files
+/usr/bin/*
+%{python_sitelib}/openshift_ansible/*
+/etc/bash_completion.d/*
+
+%changelog