Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.3
ardana
ardana.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ardana.spec of Package ardana
# # spec file for package ardana # # Copyright (c) 2018 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 http://bugs.opensuse.org/ # %define username ardana %define groupname ardana Name: ardana Version: 2017.2 Release: 0 Summary: Ardana Cloud Lifecycle Manager License: Apache-2.0 Group: System/Management Url: https://github.com/ArdanaCLM # common Requires Source0: macros.ardana-common Source1: package-constants.yml Source9: LICENSE Requires(pre): shadow BuildArch: noarch %description This package provides common infrastructure for Ardana. %package devel Summary: Development dependencies for building Ardana related packages Group: System/Management Requires: rsync %description devel This package provides development dependencies for building Ardana related components. %prep %build cp -p %{SOURCE9} . %install install -D -m644 %{SOURCE0} %{buildroot}%{_sysconfdir}/rpm/macros.ardana-common mkdir -p %{buildroot}/%{_sysconfdir}/{ardana,sudoers.d} cat <<EOF > %{buildroot}/%{_sysconfdir}/sudoers.d/ardana ardana ALL=(ALL) NOPASSWD: ALL EOF install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{username} %pre getent group %{groupname} >/dev/null || groupadd -r %{groupname} getent passwd %{username} >/dev/null || useradd -r -g %{groupname} -d /var/lib/ardana -s /bin/bash -c "Ardana Home" %{username} exit 0 %files %doc LICENSE %{_sysconfdir}/sudoers.d %dir %attr(0750, %{username}, %{groupname}) %{_localstatedir}/lib/%{username} %dir %attr(0750, %{username}, %{groupname}) %{_sysconfdir}/ardana %files devel %{_sysconfdir}/rpm/macros.ardana-common %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor