File openstack-macros.spec of Package openstack-macros

#
# spec file for package openstack-macros
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#

Name:           openstack-macros
Version:        0.1.2
Release:        0
License:        Apache-2.0
Summary:        OpenStack macros for RPM
Url:            https://www.suse.com/products/suse-cloud/
Group:          Development/Libraries/Python
Source:         macros.openstack
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package provides OpenStack RPM macros.
You need it to build OpenStack packages.

%prep
cp %{SOURCE0} .

%build

%install
install -D -m644 macros.openstack %{buildroot}%{_sysconfdir}/rpm/macros.openstack

%files
%defattr(-,root,root)
%{_sysconfdir}/rpm/macros.openstack

%changelog
openSUSE Build Service is sponsored by