Browse Source

initial package creation

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 6 months ago
commit
f794a1ece1
  1. 0
      SOURCES/.gitkeeper
  2. 48
      SPECS/icingaweb2-module-cube.spec

0
SOURCES/.gitkeeper

48
SPECS/icingaweb2-module-cube.spec

@ -0,0 +1,48 @@
%global module_name cube
%global icingaweb_min_version 2.11.0
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}

Name: icingaweb2-module-%{module_name}
Version: 1.3.3
Release: 1%{?dist}
Summary: Certificate Monitoring (x509) - Icinga Web 2 module
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


%build


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{basedir}
cp -r * %{buildroot}%{basedir}


%clean
rm -rf %{buildroot}


%files
%doc README.md LICENSE
%defattr(-,root,root)
%{basedir}


%changelog
Loading…
Cancel
Save