Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:interstar001:Icinga2
icingaweb2-module-director-1.8
icingaweb2-module-director.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icingaweb2-module-director.spec of Package icingaweb2-module-director-1.8
# # spec file for package icingaweb2-module-director # # Copyright (c) 2021 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 https://bugs.opensuse.org/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: icingaweb2-module-director Version: 1.8.1 Release: 0 Summary: Config module for Icinga Web 2 License: GPL-2.0-or-later Group: System/Monitoring URL: https://www.icinga.org Source0: https://github.com/Icinga/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source90: README.SUSE BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: systemd-rpm-macros Requires: icinga2 >= 2.6.0 Requires: icingaweb2 >= 2.6.0 Requires: icingaweb2-module-incubator >= 0.6.0 Requires: icingaweb2-module-ipl >= 0.3.0 Requires: icingaweb2-module-reactbundle >= 0.7.0 Requires: php >= 5.6.3 Requires: php-curl Requires: php-pcntl Requires: php-posix Requires: php-sockets %{?systemd_requires} %define basedir %{_datadir}/icingaweb2 %define icinga_user icinga %define icinga_group icinga %define icingawebgroup icingaweb2 %description Director is an config module for icingaweb2 %prep %setup -q install -m644 %{SOURCE90} . %build %install mkdir -p %{buildroot}%{basedir}/modules/director mkdir -p %{buildroot}%{basedir}/modules/director/{application,contrib,doc,library,public,schema,test} cp -prv application contrib doc library public schema test %{buildroot}%{basedir}/modules/director cp -pv *.md *.php *.info %{buildroot}%{basedir}/modules/director # not needed rm %{buildroot}%{basedir}/modules/director/contrib/docker-test.sh # systemd install -D -m 644 %{buildroot}%{basedir}/modules/director/contrib/systemd/icinga-director.service %{buildroot}%{_unitdir}/%{name}.service rm -r %{buildroot}%{basedir}/modules/director/contrib/systemd mkdir -p %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} mkdir -p %{buildroot}%{_localstatedir}/lib/%{name} # rpmlintrc chmod 754 %{buildroot}%{basedir}/modules/director/contrib/linux-agent-installer/Icinga2Agent.bash # languages %find_lang director %{name}.lang %pre %service_add_pre %{name}.service /usr/bin/getent group %{icingawebgroup} >/dev/null || /usr/sbin/groupadd -r %{icingawebgroup} /usr/bin/getent passwd icingadirector >/dev/null || /usr/sbin/useradd -c "Icinga2 director" -s /sbin/nologin -r -d %{_localstatedir}/lib/%{name} -g %{icingawebgroup} icingadirector %preun %service_del_preun %{name}.service %post %service_add_post %{name}.service %postun %service_del_postun %{name}.service %files -f %{name}.lang %defattr(-,root,root) %license LICENSE %doc README.md README.SUSE %dir %{basedir} %dir %{basedir}/modules %dir %{basedir}/modules/director %dir %attr(0750,icingadirector,%{icingawebgroup}) %{_localstatedir}/lib/%{name} %{basedir}/modules/director/* %{_unitdir}/%{name}.service %{_sbindir}/rc%{name} %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