From 1177f0f0c4868bc213cf1f11dbc62ffa2e9475e1 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 14 Aug 2024 12:00:36 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/.gitkeeper | 0 SPECS/icingaweb2-module-toplevelview.spec | 47 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 SOURCES/.gitkeeper create mode 100644 SPECS/icingaweb2-module-toplevelview.spec diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/icingaweb2-module-toplevelview.spec b/SPECS/icingaweb2-module-toplevelview.spec new file mode 100644 index 0000000..f510163 --- /dev/null +++ b/SPECS/icingaweb2-module-toplevelview.spec @@ -0,0 +1,47 @@ +%global module_name toplevelview +%global icingaweb_min_version 2.6.0 +%global basedir %{_datadir}/icingaweb2/modules/%{module_name} +Name: icingaweb2-module-%{module_name} +Version: 0.4.0 +Release: 1%{?dist} +Summary: TopLevelView is a drill down view into your Icinga environment +Group: Applications/System +License: GPLv2+ +URL: https://icinga.com +Source0: https://github.com/Icinga/icingaweb2-module-%{module_name}/archive/v%{version}.tar.gz +BuildArch: noarch +Requires: icingaweb2 >= %{icingaweb_min_version} +Requires: php-Icinga >= %{icingaweb_min_version} +Requires: openssl + + +%description +The Cube is a tiny but useful Icinga Web 2 module. It currently shows host +statistics (total count, health) grouped by various custom variables +in multiple dimensions. + + +%prep +%setup -q -n %{name}-%{version} + + +%build + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{basedir} +cp -r * %{buildroot}%{basedir} + + +%clean +rm -rf %{buildroot} + + +%files +%doc README.md +%defattr(-,root,root) +%{basedir} + + +%changelog