File icinga2-notification-telegram.spec of Package icinga2-notification-telegram
#
# spec file for package icinga2-notification-telegram
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: icinga2-notification-telegram
Version: 0.1
Release: 0
Summary: send icinga2 notifications to telegram messenger
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: GPL-3.0+
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: System/Monitoring
Url: https://github.com/NETWAYS/icinga2-notification-telegram
Source: icinga2-notification-telegram.tar.bz2
BuildRequires: icinga2
%description
%prep
%setup -q -n %{name}
%build
%install
install -Dm0755 host-by-telegram.sh %{buildroot}/etc/icinga2/scripts/host-by-telegram.sh
install -Dm0755 service-by-telegram.sh %{buildroot}/etc/icinga2/scripts/service-by-telegram.sh
%files
%doc README.md img contrib
%license LICENSE
/etc/icinga2/scripts/*
%changelog