Compare commits

...

6 Commits

Author SHA1 Message Date
monitorbuilder_pel7ppc64lebuilder0 ac92543985 icinga-notifications-web : update to new version 0.1.0 3 months ago
monitorbuilder_pel7ppc64lebuilder0 45c545193a icinga-notifications update to version 0.1.1 3 months ago
monitorbuilder_pel7ppc64lebuilder0 25091f3e86 icinga-kubernetes : update version 3 months ago
monitorbuilder_pel7ppc64lebuilder0 fa5e9a86ae add new icinga-kubernetes-web package 3 months ago
monitorbuilder_pel7ppc64lebuilder0 cc3fddb810 icinga-php-library : update to version 0.14.1 3 months ago
monitorbuilder_pel7ppc64lebuilder0 4baa67fab6 icingadb-web : update to version 1.1.3 3 months ago
  1. 64
      SPECS/icinga-kubernetes-web.spec
  2. 2
      SPECS/icinga-notifications-web.spec
  3. 6
      SPECS/icinga-notifications.spec
  4. 2
      SPECS/icinga-php-library.spec
  5. 2
      SPECS/icingadb-web.spec

64
SPECS/icinga-kubernetes-web.spec

@ -0,0 +1,64 @@ @@ -0,0 +1,64 @@
%global module_name kubernetes
%global basedir %{_datadir}/icingaweb2/modules/kubernetes
%global docdir %{_datadir}/doc/icingakubernetes

Name: icinga-kubernetes-web
Version: 0.1.0
Release: 1%{?dist}
Summary: Icinga Kubernetes Web
Group: Applications/System
License: AGPLv3
URL: https://icinga.com
#Source0: https://github.com/Icinga/icinga-notifications-web/archive/v%{version}.tar.gz
BuildArch: noarch
Requires: icingaweb2 >= 2.9
Requires: icinga-kubernetes
Requires: icinga-php-library >= 0.13.0
Requires: icinga-php-thirdparty >= 0.120


%description
Icinga for Kubernetes is a set of components for monitoring and visualizing Kubernetes resources.
This package installs Icinga for Kubernetes Web, which visualizes Kubernetes resources and their status
that are synchronized to a database by the Icinga for Kubernetes daemon.


%prep
%setup -q -T -c %{name}-%{version}
git clone https://github.com/Icinga/icinga-kubernetes-web .
git checkout v%{version}


%install
mkdir -vp %{buildroot}%{basedir}
mkdir -vp %{buildroot}%{docdir}
cp -vr application %{buildroot}%{basedir}
cp -vr library %{buildroot}%{basedir}
cp -vr public %{buildroot}%{basedir}
cp -vr configuration.php %{buildroot}%{basedir}
cp -vr module.info %{buildroot}%{basedir}


%clean
rm -rf %{buildroot}


%preun
set -e
# Only for removal
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 LICENSE
%defattr(-,root,root)
%{basedir}
%{docdir}


%changelog

2
SPECS/icinga-notifications-web.spec

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
%global docdir %{_datadir}/doc/icinganotifications

Name: icinga-notifications-web
Version: 0.0.5
Version: 0.1.0
Release: 1%{?dist}
Summary: Icinga Notifications Web — Manage incidents and who gets notified about them how and when
Group: Applications/System

6
SPECS/icinga-notifications.spec

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
%define service %{name}.service

Name: icinga-notifications
Version: 0.0.5
Version: 0.1.1
Release: 1%{?dist}
Summary: Icinga Notifications
Group: System Environment/Daemons
@ -48,7 +48,7 @@ install -d -m 0755 %{buildroot}%{_libexecdir}/%{name} @@ -48,7 +48,7 @@ install -d -m 0755 %{buildroot}%{_libexecdir}/%{name}
install -m 0755 icinga-notifications %{buildroot}%{_sbindir}/
%{__cp} -r channels %{buildroot}%{_libexecdir}/%{name}/
install -m 0644 config.example.yml %{buildroot}%{configdir}/config.yml
install -m 0644 icinga2.conf %{buildroot}%{configdir}/icinga2-notifications.conf
#install -m 0644 icinga2.conf %{buildroot}%{configdir}/icinga2-notifications.conf
install -m 0644 %{S:1} %{buildroot}%{_unitdir}/
install -d -m 0755 %{buildroot}%{_datadir}/%{name}
(umask 0022 && cp -rv schema %{buildroot}%{_datadir}/%{name}/)
@ -80,7 +80,7 @@ rm -rf %{buildroot} @@ -80,7 +80,7 @@ rm -rf %{buildroot}
%defattr(0644,icinganotifications,icinganotifications,0755)
%dir %{configdir}
%config(noreplace) %{configdir}/config.yml
%config(noreplace) %{configdir}/icinga2-notifications.conf
#%config(noreplace) %{configdir}/icinga2-notifications.conf


%changelog

2
SPECS/icinga-php-library.spec

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
%global basedir %{_datadir}/icinga-php/ipl

Name: icinga-php-library
Version: 0.14.0
Version: 0.14.1
Release: 1%{?dist}
Summary: Icinga PHP Library for Icinga Web 2
Group: Applications/System

2
SPECS/icingadb-web.spec

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
%global docdir %{_datadir}/doc/icingadb-web

Name: icingadb-web
Version: 1.1.2
Version: 1.1.3
Release: 1%{?dist}
Summary: Icinga DB Web for Icinga Web 2
Group: Applications/System

Loading…
Cancel
Save