File openstack-heat-templates.spec of Package openstack-heat-templates

#
# spec file for package openstack-heat-templates
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define component heat-templates

%define version_unconverted 0.0.0+git.1654529662.75fa04a7

Name:           openstack-%{component}
Version:        0.0.0+git.1654529662.75fa04a7
Release:        0
Summary:        Openstack Orchestration (Heat)
License:        Apache-2.0
Group:          System/Management
URL:            https://launchpad.net/heat
Source:         %{component}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  openstack-suse-macros
BuildRequires:  python-setuptools
Requires:       logrotate
Requires:       python >= 2.6.8
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
This package provides:

* Example templates which demonstrate core Heat functionality
* Related image-building templates
* Template-related scripts and conversion tools

%prep
%setup -q -n %{component}-%{version}

%build

%install
mkdir -p %{buildroot}/usr/share/%{component}
cp -r cfn %{buildroot}/usr/share/%{component}

%files
%defattr(-,root,root)
%doc README.rst
%license LICENSE
%dir /usr/share/%{component}
/usr/share/%{component}/cfn

%changelog
openSUSE Build Service is sponsored by