diff --git a/.gitignore b/.gitignore index e69de29..445f483 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/heat-templates-3754320f2bd1910f0e2470fdfdbca5f4113a46c4.tar.gz diff --git a/openstack-heat-templates.spec b/openstack-heat-templates.spec new file mode 100644 index 0000000..c51b950 --- /dev/null +++ b/openstack-heat-templates.spec @@ -0,0 +1,57 @@ +%global commit 3754320f2bd1910f0e2470fdfdbca5f4113a46c4 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global alphatag 20140106git + +Name: openstack-heat-templates +Version: 0 +Release: 0.1.%{alphatag}%{?dist} +Summary: Heat example templates and DIB elements +Group: System Environment/Base +License: ASL 2.0 +URL: https://github.com/openstack/heat-templates +Source0: https://github.com/openstack/heat-templates/archive/%{commit}/heat-templates-%{commit}.tar.gz +Requires: openstack-heat-common +Requires: oz +Requires: qemu-img +Requires: openstack-glance +Requires: diskimage-builder +Requires: libvirt-daemon +Obsoletes: heat-jeos <= 9-1 + +BuildArch: noarch + +%description +Heat example templates and image building elements + +%prep +%setup -qn heat-templates-%{commit} + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_datadir}/%{name} +rm -f tools/fetch-cloudformation-examples +cp -aR tools/* %{buildroot}%{_bindir} +cp -aR cfn %{buildroot}%{_datadir}/%{name} +cp -aR hot %{buildroot}%{_datadir}/%{name} +cp -aR jeos %{buildroot}%{_datadir}/%{name} +cp -aR openshift-origin %{buildroot}%{_datadir}/%{name}/openshift-origin +cp -aR openshift-enterprise %{buildroot}%{_datadir}/%{name}/openshift-enterprise + + +%files +%doc LICENSE README.rst +%{_bindir}/heat-jeos.sh +%{_bindir}/cfn-json2yaml +%{_datadir}/%{name} + +%changelog +* Mon Jan 6 2014 Steven Dake 0-0.1.20140106git +- Improvements based upon review comments + +* Thu Dec 12 2013 Steven Dake 0-0.1.20131212git +- Improvements from review comments + +* Thu Sep 5 2013 Steven Dake 0.0.1-1 +- Initial heat-templates rpm diff --git a/sources b/sources index e69de29..c3adbe3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +380c306d2ec134bc77eb31d4c7968faf heat-templates-3754320f2bd1910f0e2470fdfdbca5f4113a46c4.tar.gz