[multios] Add spec files for openSUSE and Open Build Service
Add the RPM spec and changes file for OBS to be able to build the package for openSUSE via the Open Build Service (OBS) and the associated _service file. Story: 2006508 Task: 36783 Task: 36784 Task: 36785 Task: 36786 Task: 36787 Task: 36788 Task: 36789 Task: 36790 Task: 36791 Task: 36792 Task: 36793 Change-Id: Ia9e2bdcb2873d769720f849e781ef5e6bb971e64 Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
31bf17481b
commit
6c0e0a4608
4
modules/puppet-dcdbsync/opensuse/puppet-dcdbsync.changes
Normal file
4
modules/puppet-dcdbsync/opensuse/puppet-dcdbsync.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 16:54:52 UTC 2019 - xe1gyq@gmail.com
|
||||
|
||||
- 1.0 Initial Commit
|
33
modules/puppet-dcdbsync/opensuse/puppet-dcdbsync.spec
Normal file
33
modules/puppet-dcdbsync/opensuse/puppet-dcdbsync.spec
Normal file
@ -0,0 +1,33 @@
|
||||
%global module_dir dcdbsync/
|
||||
|
||||
Name: puppet-dcdbsync
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
License: Apache-2.0
|
||||
Summary: Puppet dcdbsync module
|
||||
Url: https://opendev.org/starlingx/config
|
||||
Group: Development/Tools/Other
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for dcorch dbsync service
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/puppet/modules/%{module_dir}
|
||||
cp -R %{module_dir} %{buildroot}%{_datadir}/puppet/modules
|
||||
ls
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/puppet/
|
||||
%{_datadir}/puppet/modules/
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:33:25 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-dcmanager/opensuse/puppet-dcmanager.spec
Normal file
38
modules/puppet-dcmanager/opensuse/puppet-dcmanager.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir dcmanager
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-dcorch/opensuse/puppet-dcorch.changes
Normal file
4
modules/puppet-dcorch/opensuse/puppet-dcorch.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:33:38 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-dcorch/opensuse/puppet-dcorch.spec
Normal file
38
modules/puppet-dcorch/opensuse/puppet-dcorch.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir dcorch
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-fm/opensuse/puppet-fm.changes
Normal file
4
modules/puppet-fm/opensuse/puppet-fm.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:33:45 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-fm/opensuse/puppet-fm.spec
Normal file
38
modules/puppet-fm/opensuse/puppet-fm.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir fm
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-mtce/opensuse/puppet-mtce.changes
Normal file
4
modules/puppet-mtce/opensuse/puppet-mtce.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:33:57 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-mtce/opensuse/puppet-mtce.spec
Normal file
38
modules/puppet-mtce/opensuse/puppet-mtce.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir mtce
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-nfv/opensuse/puppet-nfv.changes
Normal file
4
modules/puppet-nfv/opensuse/puppet-nfv.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:34:13 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-nfv/opensuse/puppet-nfv.spec
Normal file
38
modules/puppet-nfv/opensuse/puppet-nfv.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir nfv
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-patching/opensuse/puppet-patching.changes
Normal file
4
modules/puppet-patching/opensuse/puppet-patching.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:34:23 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-patching/opensuse/puppet-patching.spec
Normal file
38
modules/puppet-patching/opensuse/puppet-patching.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir patching
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-smapi/opensuse/puppet-smapi.changes
Normal file
4
modules/puppet-smapi/opensuse/puppet-smapi.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:34:45 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-smapi/opensuse/puppet-smapi.spec
Normal file
38
modules/puppet-smapi/opensuse/puppet-smapi.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir smapi
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-sshd/opensuse/puppet-sshd.changes
Normal file
4
modules/puppet-sshd/opensuse/puppet-sshd.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:34:57 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-sshd/opensuse/puppet-sshd.spec
Normal file
38
modules/puppet-sshd/opensuse/puppet-sshd.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir sshd
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
modules/puppet-sysinv/opensuse/puppet-sysinv.changes
Normal file
4
modules/puppet-sysinv/opensuse/puppet-sysinv.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 20:35:06 UTC 2019 - sgw@linux.intel.com
|
||||
|
||||
- 1.0 Initial Commit
|
38
modules/puppet-sysinv/opensuse/puppet-sysinv.spec
Normal file
38
modules/puppet-sysinv/opensuse/puppet-sysinv.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global module_dir sysinv
|
||||
|
||||
Name: puppet-%{module_dir}
|
||||
Version: 1.0.0
|
||||
Release: stx
|
||||
Summary: Puppet %{module_dir} module
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://opendev.org/starlingx/config
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
4
puppet-manifests/opensuse/puppet-manifests.changes
Normal file
4
puppet-manifests/opensuse/puppet-manifests.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 12:55:24 UTC 2019 - Marcela Rosales <marcelarosalesj@gmail.com>
|
||||
|
||||
- Initial Commit
|
92
puppet-manifests/opensuse/puppet-manifests.spec
Normal file
92
puppet-manifests/opensuse/puppet-manifests.spec
Normal file
@ -0,0 +1,92 @@
|
||||
Name: puppet-manifests
|
||||
Version: 1.0
|
||||
Release: %{tis_patch_ver}%{?_tis_dist}
|
||||
Summary: Puppet Configuration and Manifests
|
||||
License: Apache-2.0
|
||||
Group: System/Packages
|
||||
URL: https://opendev.org/starlingx/config
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
# List all the required puppet modules
|
||||
|
||||
# StarlingX puppet modules
|
||||
Requires: puppet-dcorch
|
||||
Requires: puppet-dcmanager
|
||||
Requires: puppet-mtce
|
||||
Requires: puppet-nfv
|
||||
Requires: puppet-patching
|
||||
Requires: puppet-sysinv
|
||||
Requires: puppet-sshd
|
||||
Requires: puppet-smapi
|
||||
Requires: puppet-fm
|
||||
Requires: puppet-dcdbsync
|
||||
|
||||
# Openstack puppet modules
|
||||
Requires: puppet-barbican
|
||||
Requires: puppet-ceph
|
||||
Requires: puppet-horizon
|
||||
Requires: puppet-keystone
|
||||
Requires: puppet-openstacklib
|
||||
Requires: puppet-vswitch
|
||||
Requires: puppet-memcached
|
||||
|
||||
# Puppetlabs puppet modules
|
||||
Requires: puppet-concat
|
||||
Requires: puppet-create_resources
|
||||
Requires: puppet-drbd
|
||||
Requires: puppet-firewall
|
||||
Requires: puppet-haproxy
|
||||
Requires: puppet-inifile
|
||||
Requires: puppet-lvm
|
||||
Requires: puppet-postgresql
|
||||
Requires: puppet-rabbitmq
|
||||
Requires: puppet-stdlib
|
||||
Requires: puppet-sysctl
|
||||
Requires: puppet-etcd
|
||||
|
||||
# 3rdparty puppet modules
|
||||
Requires: puppet-boolean
|
||||
Requires: puppet-certmonger
|
||||
Requires: puppet-dnsmasq
|
||||
Requires: puppet-filemapper
|
||||
Requires: puppet-kmod
|
||||
Requires: puppet-ldap
|
||||
Requires: puppet-network
|
||||
Requires: puppet-nslcd
|
||||
Requires: puppet-nssdb
|
||||
Requires: puppet-puppi
|
||||
Requires: puppet-vlan
|
||||
Requires: puppet-collectd
|
||||
|
||||
%description
|
||||
Platform puppet configuration files and manifests
|
||||
|
||||
%define config_dir %{_sysconfdir}/puppet
|
||||
%define module_dir %{_datadir}/puppet/modules
|
||||
%define local_bindir /usr/local/bin
|
||||
%define puppet_modules %{buildroot}%{_prefix}/share/puppet/modules
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
make install \
|
||||
BINDIR=%{buildroot}%{local_bindir} \
|
||||
CONFIGDIR=%{buildroot}%{config_dir} \
|
||||
MODULEDIR=%{buildroot}%{module_dir}
|
||||
# This .orig file is not allow in SUSE, and it is not critical for StarlingX functionality
|
||||
rm %{puppet_modules}/platform/templates/calico.yaml.erb.orig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%{local_bindir}
|
||||
%{config_dir}
|
||||
%{module_dir}
|
||||
%dir %{_prefix}/share/puppet
|
||||
%config %{config_dir}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user