]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Remove rpm spec file and Makefile. Will track packaging in a different repo
authorSteven Dake <sdake@redhat.com>
Fri, 20 Apr 2012 17:29:51 +0000 (10:29 -0700)
committerSteven Dake <sdake@redhat.com>
Fri, 20 Apr 2012 17:29:51 +0000 (10:29 -0700)
Signed-off-by: Steven Dake <sdake@redhat.com>
Makefile [deleted file]
heat.spec [deleted file]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 4fb27da..0000000
--- a/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/usr/bin/make
-
-NAME = "heat"
-ASCII2MAN = a2x -D $(dir $@) -d manpage -f manpage $<
-ASCII2HTMLMAN = a2x -D docs/html/man/ -d manpage -f xhtml
-MANPAGES := docs/man/man1/heat.1 docs/man/man1/heat-engine.1 docs/man/man1/heat-api.1
-SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
-RPMVERSION := $(shell awk '/Version/{print $$2; exit}' < heat.spec | cut -d "%" -f1)
-RPMRELEASE := $(shell awk '/Release/{print $$2; exit}' < heat.spec | cut -d "%" -f1)
-RPMNVR = "$(NAME)-$(RPMVERSION)-$(RPMRELEASE)"
-
-all: clean python
-
-docs: $(MANPAGES)
-
-%.1: %.1.asciidoc
-       $(ASCII2MAN)
-
-%.5: %.5.asciidoc
-       $(ASCII2MAN)
-
-pep8:
-       @echo "#############################################"
-       @echo "# Running PEP8 Compliance Tests"
-       @echo "#############################################"
-       pep8 -r --ignore=E501,E221,W291,W391,E302,E251,E203,W293,E231,E303,E201,E225 lib/ bin/
-
-clean:
-       @echo "Cleaning up distutils stuff"
-       -rm -rf build
-       -rm -rf dist
-       @echo "Cleaning up byte compiled python stuff"
-       find . -regex ".*\.py[co]$$" -delete
-       @echo "Cleaning up editor backup files"
-       find . -type f \( -name "*~" -or -name "#*" \) -delete
-       find . -type f \( -name "*.swp" \) -delete
-       @echo "Cleaning up asciidoc to man transformations and results"
-       find ./docs/man -type f -name "*.xml" -delete
-       @echo "Cleaning up output from test runs"
-       -rm -rf test/test_data
-       @echo "Cleaning up RPM building stuff"
-       -rm -rf MANIFEST rpm-build
-
-python:
-       python setup.py build
-
-install:
-       python setup.py install
-
-sdist: clean
-       python ./setup.py sdist
-
-rpmcommon: sdist
-       @mkdir -p rpm-build
-       @cp dist/*.gz rpm-build/
-
-srpm: rpmcommon
-       @rpmbuild --define "_topdir %(pwd)/rpm-build" \
-       --define "_builddir %{_topdir}" \
-       --define "_rpmdir %{_topdir}" \
-       --define "_srcrpmdir %{_topdir}" \
-       --define "_specdir %{_topdir}" \
-       --define "_sourcedir %{_topdir}" \
-       -bs heat.spec
-       @echo "#############################################"
-       @echo "heat SRPM is built:"
-       @echo "    rpm-build/$(RPMNVR).src.rpm"
-       @echo "#############################################"
-
-rpm: rpmcommon
-       @rpmbuild --define "_topdir %(pwd)/rpm-build" \
-       --define "_builddir %{_topdir}" \
-       --define "_rpmdir %{_topdir}" \
-       --define "_srcrpmdir %{_topdir}" \
-       --define "_specdir %{_topdir}" \
-       --define "_sourcedir %{_topdir}" \
-       -ba heat.spec
-       @echo "#############################################"
-       @echo "heat RPM is built:"
-       @echo "    rpm-build/noarch/$(RPMNVR).noarch.rpm"
-       @echo "#############################################"
-
-.PHONEY: docs manual clean pep8
-vpath %.asciidoc docs/man/man1
diff --git a/heat.spec b/heat.spec
deleted file mode 100644 (file)
index be8cc48..0000000
--- a/heat.spec
+++ /dev/null
@@ -1,168 +0,0 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-
-Name: heat
-Summary: The Heat project
-Version: 0.0.1
-Release: 1
-License: ASL 2.0
-Prefix: %{_prefix}
-Group: System Environment/Base
-URL: http://www.heat-api.org
-Source0: http://heat-api.org/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz
-
-Requires: pacemaker-cloud
-
-BuildArch: noarch
-BuildRequires: python-glance
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-python setup.py build
-
-%install
-python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
-mkdir -p $RPM_BUILD_ROOT/var/log/heat/
-mkdir -p $RPM_BUILD_ROOT/var/lib/heat/
-mkdir -p $RPM_BUILD_ROOT/etc/heat/
-cp etc/* $RPM_BUILD_ROOT/etc/heat/
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/ 
-cp -v docs/man/man1/* $RPM_BUILD_ROOT/%{_mandir}/man1/
-rm -rf $RPM_BUILD_ROOT/var/lib/heat/.dummy
-rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/heat/vcsversion.*
-rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/heat/tests
-rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/heat-0.0.1-py2.7.egg-info
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%description
-Heat provides a programmable interface to orchestrate the setup of multiple cloud applications
-
-%package api
-License: ASL 2.0
-Summary: External API for the Heat project
-Group: System Environment/Base
-Requires: %{name} = %{version}-%{release}
-
-%description api
-This package contains the external api for the Heat project
-
-%package common 
-License: ASL 2.0
-Summary: Common utilities for the Heat project
-Group: System Environment/Base
-Requires: %{name} = %{version}-%{release}
-
-%description common 
-This package contains the common utilities for the Heat project
-
-%package engine 
-License: ASL 2.0
-Summary: Engine for the Heat project
-Group: System Environment/Base
-Requires: %{name} = %{version}-%{release}
-
-%description engine 
-This package contains the engine and internal API for the Heat project
-
-%package jeos 
-License: ASL 2.0
-Summary: JEOS configuration files for the Heat project
-Group: System Environment/Base
-Requires: %{name} = %{version}-%{release}
-
-%description jeos 
-This package contains the Just Enough OS configuration files
-
-%package openstack 
-License: ASL 2.0
-Summary: OpenStack integration for the Heat project
-Group: System Environment/Base
-Requires: %{name} = %{version}-%{release}
-
-%description openstack
-This package contains the OpenStack integration for the Heat project
-
-
-%files
-%doc README.rst
-%defattr(-,root,root,-)
-%{_mandir}/man1/*.gz
-%{_bindir}/heat
-%{_bindir}/heat-db-setup-fedora
-%{python_sitelib}/heat/db/*
-%{python_sitelib}/heat/__init__.*
-%{python_sitelib}/heat/client.*
-%{python_sitelib}/heat/cloudformations.*
-%{python_sitelib}/heat/version.*
-%config(noreplace) /etc/heat
-
-%files api
-%doc README.rst
-%defattr(-,root,root,-)
-%{_mandir}/man1/*.gz
-%{_bindir}/heat-api
-%{python_sitelib}/heat/api/__init__.*
-%{python_sitelib}/heat/api/versions.*
-%{python_sitelib}/heat/api/middleware/__init__.*
-%{python_sitelib}/heat/api/middleware/version_negotiation.*
-%{python_sitelib}/heat/api/middleware/context.*
-%{python_sitelib}/heat/api/v1/__init__.*
-%{python_sitelib}/heat/api/v1/stacks.*
-%{_localstatedir}/log/heat/api.log
-
-%files common
-%doc README.rst
-%defattr(-,root,root,-)
-%{python_sitelib}/heat/common/auth.*
-%{python_sitelib}/heat/common/client.*
-%{python_sitelib}/heat/common/config.*
-%{python_sitelib}/heat/common/context.*
-%{python_sitelib}/heat/common/crypt.*
-%{python_sitelib}/heat/common/exception.*
-%{python_sitelib}/heat/common/__init__.*
-%{python_sitelib}/heat/common/policy.*
-%{python_sitelib}/heat/common/utils.*
-%{python_sitelib}/heat/common/wsgi.*
-
-%files engine
-%doc README.rst
-%defattr(-,root,root,-)
-%{_mandir}/man1/*.gz
-%{_bindir}/heat-engine
-%{python_sitelib}/heat/engine/*
-%{python_sitelib}/heat/openstack/*
-%{python_sitelib}/heat/cfntools/*
-%{python_sitelib}/heat/cloudinit/*
-%{python_sitelib}/heat/rpc/*
-%{python_sitelib}/heat/context.*
-%{python_sitelib}/heat/manager.*
-%{python_sitelib}/heat/service.*
-%{_localstatedir}/log/heat/engine.log
-
-%files jeos
-%doc README.rst
-%defattr(-,root,root,-)
-%{python_sitelib}/heat/jeos/F16-x86_64-gold-jeos.tdl
-%{python_sitelib}/heat/jeos/F16-i386-gold-jeos.tdl
-%{python_sitelib}/heat/jeos/F17-x86_64-gold-jeos.tdl
-%{python_sitelib}/heat/jeos/F17-i386-gold-jeos.tdl
-%{python_sitelib}/heat/jeos/F16-x86_64-cfntools-jeos.tdl
-%{python_sitelib}/heat/jeos/F16-i386-cfntools-jeos.tdl
-%{python_sitelib}/heat/jeos/F17-x86_64-cfntools-jeos.tdl
-%{python_sitelib}/heat/jeos/F17-i386-cfntools-jeos.tdl
-
-%files openstack
-%doc README.rst
-%defattr(-,root,root,-)
-%{python_sitelib}/heat/openstack/__init__.*
-%{python_sitelib}/heat/openstack/common/cfg.*
-%{python_sitelib}/heat/openstack/common/__init__.*
-
-%changelog heat api common engine jeos openstack
-* Mon Apr 16 2012 Chris Alfonso <calfonso@redhat.com> - {%version}
-- initial openstack package log