update icinga-notifications

Signed-off-by: monitorbuilder_pel7ppc64lebuilder0 <monitorbuilder@powerel.org>
master
monitorbuilder_pel7ppc64lebuilder0 2024-05-30 11:28:33 +02:00
parent 9998784d90
commit 1b5edfd086
2 changed files with 7 additions and 3 deletions

View File

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

Name: icinga-notifications-web
Version: 0.0.1
Version: 0.0.4
Release: 1%{?dist}
Summary: Icinga Notifications Web — Manage incidents and who gets notified about them how and when
Group: Applications/System
@ -18,7 +18,7 @@ Requires: icinga-php-thirdparty


%description
Icinga DB Web offers a modern and streamlined design to provide a clear
Icinga Notification Web offers a modern and streamlined design to provide a clear
and concise overview of your monitoring environment.



View File

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

Name: icinga-notifications
Version: 0.0.1
Version: 0.0.4
Release: 1%{?dist}
Summary: Icinga Notifications
Group: System Environment/Daemons
@ -34,13 +34,16 @@ git clone https://%{provider_prefix} .

%build
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath ./cmd/icinga-notifications-daemon
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath -o channel/ ./cmd/channel/...


%install
install -d -m 0755 %{buildroot}%{_sbindir}
install -d -m 0755 %{buildroot}%{configdir}
install -d -m 0755 %{buildroot}%{_unitdir}
install -d -m 0755 %{buildroot}%{_libexecdir}/%{name}
install -m 0755 icinga-notifications-daemon %{buildroot}%{_sbindir}/
%{__cp} -r channel %{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 %{S:1} %{buildroot}%{_unitdir}/
@ -67,6 +70,7 @@ rm -rf %{buildroot}
%defattr(-,root,root)
%doc LICENSE README.md
%{_sbindir}/icinga-notifications-daemon
%{_libexecdir}/%{name}/channel/
%{_unitdir}/%{service}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/schema