regionServiceClientConfigGCE/regionServiceClientConfigGCE.spec

89 lines
2.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package regionServiceClientConfigGCE
# this code base is under development
#
# Copyright (c) 2017 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 http://bugs.opensuse.org/
#
Name: regionServiceClientConfigGCE
Version: 4.2.0
Release: 0
License: Apache-2.0
Summary: Configuration for region service client
URL: https://gitlab.suse.de/public-cloud-team/regionServiceClientConfigGCE
Group: Productivity/Networking/Web/Servers
Source0: %{name}-%{version}.tar.bz2
# No IPv6 support in SLE 12 in Public Cloud
# Patch maintained in the build service only
Patch0: noipv6.patch
Provides: cloud-regionsrv-client-config
Provides: regionsrv-certs
Provides: regionServiceCertsGCE
%if 0%{?suse_version} > 1320
Requires: python3-gcemetadata >= 0.3.2
%else
Requires: python-gcemetadata >= 0.3.2
%endif
Recommends: cloud-regionsrv-client-plugin-gce >= 1.0.0
Conflicts: otherproviders(cloud-regionsrv-client-config)
Conflicts: otherproviders(regionsrv-certs)
Obsoletes: regionServiceClientConfigSAPGCE < 3.0.0
Provides: regionServiceClientConfigSAPGCE = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
%description
Configuration for the client registration in Google Compute Engine and
regions server certificates
%prep
%setup -q
%if 0%{?suse_version} == 1315
%patch -P 0
rm usr/lib/regionService/certs/2600:1900:4000:d8ab:0:0:0:0.pem
rm usr/lib/regionService/certs/2600:1900:4030:9690:0:0:0:0.pem
rm usr/lib/regionService/certs/2600:1900:4010:bebd:0:0:0:0.pem
rm usr/lib/regionService/certs/2600:1900:4050:756c:0:0:0:0.pem
%endif
%build
%install
%make_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE
%config %{_sysconfdir}/regionserverclnt.cfg
%dir /usr/lib/regionService
%dir /usr/lib/regionService/certs
/usr/lib/regionService/certs/35.187.193.56.pem
/usr/lib/regionService/certs/130.211.88.88.pem
/usr/lib/regionService/certs/130.211.242.136.pem
/usr/lib/regionService/certs/162.222.182.90.pem
%if 0%{?suse_version} > 1315
/usr/lib/regionService/certs/2600:1900:4000:d8ab:0:0:0:0.pem
/usr/lib/regionService/certs/2600:1900:4030:9690:0:0:0:0.pem
/usr/lib/regionService/certs/2600:1900:4010:bebd:0:0:0:0.pem
/usr/lib/regionService/certs/2600:1900:4050:756c:0:0:0:0.pem
%endif
%changelog