diff --git a/SPECS/icingaweb2-module-businessprocess.spec b/SPECS/icingaweb2-module-businessprocess.spec index 09e2c68..5085714 100644 --- a/SPECS/icingaweb2-module-businessprocess.spec +++ b/SPECS/icingaweb2-module-businessprocess.spec @@ -3,7 +3,7 @@ %global basedir %{_datadir}/icingaweb2/modules/%{module_name} Name: icingaweb2-module-%{module_name} -Version: 2.4.0 +Version: 2.5.1 Release: 1%{?dist} Summary: Business Processes - Icinga Web 2 module Group: Applications/System diff --git a/SPECS/icingaweb2-module-cube.spec b/SPECS/icingaweb2-module-cube.spec index 612aca2..5f1f56e 100644 --- a/SPECS/icingaweb2-module-cube.spec +++ b/SPECS/icingaweb2-module-cube.spec @@ -2,7 +2,7 @@ %global icingaweb_min_version 2.6.0 %global basedir %{_datadir}/icingaweb2/modules/%{module_name} Name: icingaweb2-module-%{module_name} -Version: 1.3.1 +Version: 1.3.3 Release: 1%{?dist} Summary: Certificate Monitoring (x509) - Icinga Web 2 module Group: Applications/System diff --git a/SPECS/icingaweb2-module-map.spec b/SPECS/icingaweb2-module-map.spec new file mode 100644 index 0000000..7445230 --- /dev/null +++ b/SPECS/icingaweb2-module-map.spec @@ -0,0 +1,54 @@ +%global module_name map +%global icingaweb_min_version 2.9.0 +%global basedir %{_datadir}/icingaweb2/modules/%{module_name} + +Name: icingaweb2-module-%{module_name} +Version: 2.0.0 +Release: 1%{?dist} +Summary: Map - Icinga Web 2 module +Group: Applications/System +License: GPLv2+ +URL: https://icinga.com +Source0: https://github.com/nbuchwitz/icingaweb2-module-%{module_name}/archive/v%{version}.tar.gz +BuildArch: noarch +Requires: icingaweb2 >= %{icingaweb_min_version} +Requires: php-Icinga >= %{icingaweb_min_version} + + +%description +Map module for Icinga Web 2. + + +%prep +%setup -q + + +%build + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{basedir} +cp -r * %{buildroot}%{basedir} + + +%clean +rm -rf %{buildroot} + + +%preun +set -e +if [ $1 == 0 ]; then + echo "Disabling icingaweb2 module '%{module_name}'" + rm -f /etc/icingaweb2/enabledModules/%{module_name} +fi +exit 0 + + +%files +%doc README.md LICENSE +%defattr(-,root,root) +%{basedir} + + +%changelog diff --git a/SPECS/icingaweb2-module-reporting.spec b/SPECS/icingaweb2-module-reporting.spec index 1e526ac..d9f76e8 100644 --- a/SPECS/icingaweb2-module-reporting.spec +++ b/SPECS/icingaweb2-module-reporting.spec @@ -5,7 +5,7 @@ %global service_user apache Name: icingaweb2-module-%{module_name} -Version: 0.10.0 +Version: 1.0.1 Release: 1%{?dist} Summary: Reporting - Icinga Web 2 module Group: Applications/System diff --git a/SPECS/icingaweb2-module-x509.spec b/SPECS/icingaweb2-module-x509.spec index 0d10be8..143cf4d 100644 --- a/SPECS/icingaweb2-module-x509.spec +++ b/SPECS/icingaweb2-module-x509.spec @@ -4,7 +4,7 @@ %global service_name icinga-%{module_name} %global service_user apache Name: icingaweb2-module-%{module_name} -Version: 1.2.1 +Version: 1.3.2 Release: 1%{?dist} Summary: Certificate Monitoring (x509) - Icinga Web 2 module Group: Applications/System