Name: icinga-php-incubator Version: 0.22.0 Release: 1.fc39 Summary: Icinga PHP Incubator Libraries Group: Productivity/Networking/Web/Frontends License: MIT URL: https://icinga.com Source0: icinga-php-incubator-0.22.0.tgz BuildArch: noarch Requires: icingaweb2 >= 2.10.3 %description Bleeding edge Icinga PHP libraries bundled. %prep %autosetup install -d %_topdir/BUILDROOT/icinga-php-incubator-0.22.0-1.fc39.x86_64/usr/share/icingaweb2/modules/incubator cp -pr * %_topdir/BUILDROOT/icinga-php-incubator-0.22.0-1.fc39.x86_64/usr/share/icingaweb2/modules/incubator %files %doc README.md %license LICENSE /usr/share/icingaweb2/modules/incubator %post if [ $1 == 1 ]; then if [ ! -d /etc/icingaweb2/enabledModules ]; then install -dm 2770 -g icingaweb2 /etc/icingaweb2/enabledModules fi ln -sf /usr/share/icingaweb2/modules/incubator /etc/icingaweb2/enabledModules/incubator fi %preun if [ $1 == 0 ]; then rm -f /etc/icingaweb2/enabledModules/incubator fi %changelog * Thu Feb 08 2024 Icinga GmbH - 0.22.0-1.fc39 - Version 0.22.0-1