File aws-vpc-ip-failover.spec of Package aws-vpc-ip-failover

# spec file for package aws-vpc-ip-failover
# Copyright (c) 2015 SUSE LINUX 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

Name:           aws-vpc-ip-failover
Version:        0.1
Release:        0.<RELEASE1>
License:        GPL-2.0 
Summary:        Amazon Cloud IP failover resource agent for VPCs 
Group:          Productivity/Clustering/HA 
Source0:        janichtauswendig
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Requires:       pacemaker > 1.1.1
Requires:       resource-agents

Amazon Cloud IP failover resource agent for VPCs
VPC: virtual private cloud

%setup  -n %{name} -c -T

cp %{S:0} .

test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT

mkdir -p %{buildroot}/usr/lib/ocf/resource.d/suse
install -m 0755 janichtauswendig         %{buildroot}/usr/lib/ocf/resource.d/suse

%dir /usr/lib/ocf
%dir /usr/lib/ocf/resource.d
%dir /usr/lib/ocf/resource.d/suse