Name: icingadb-web Version: 1.1.3 Release: 1%{?dist} Summary: Icinga DB Web Group: Applications/System License: GPLv2 URL: https://icinga.com Source0: icingadb-web-1.1.3.tgz Requires: icingaweb2 >= 2.9.0 Requires: icinga-php-library >= 0.14.1 Requires: icinga-php-thirdparty >= 0.12.0 BuildArch: noarch %description Icinga DB Web provides a modern and streamlined design to give a clear and concise overview of your environment monitored by Icinga. %prep %autosetup install -dpm 0755 %_topdir/BUILDROOT/icingadb-web-1.1.3-1%{?dist}.%{_arch}/usr/share/icingaweb2/modules/icingadb cp -prv * %_topdir/BUILDROOT/icingadb-web-1.1.3-1%{?dist}.%{_arch}/usr/share/icingaweb2/modules/icingadb %files %doc README.md %docdir /usr/share/icingaweb2/modules/icingadb/doc %license LICENSE /usr/share/icingaweb2/modules/icingadb %post if [ $1 == 1 ]; then ln -sf /usr/share/icingaweb2/modules/icingadb /etc/icingaweb2/enabledModules/icingadb fi %preun if [ $1 == 0 ]; then rm -f /etc/icingaweb2/enabledModules/icingadb fi %changelog * Mon Aug 05 2024 Icinga GmbH - 1.1.3-1 - Version 1.1.3-1