2 # - initscript for zabbix-agentd, zabbix-server, zabbix-proxy and zabbix-java
5 %bcond_without pgsql # enable PostgreSQL support
6 %bcond_without sqlite3 # enable sqlite3 support
7 %bcond_without mysql # enable MySQL support
8 %bcond_without java # disable java support
10 %define databases %{?with_pgsql:postgresql} %{?with_mysql:mysql} %{?with_sqlite3:sqlite3}
12 %define php_min_version 5.4.0
13 Summary: Zabbix - network monitoring software
14 Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
19 Group: Networking/Utilities
20 Source0: http://downloads.sourceforge.net/zabbix/%{name}-%{version}.tar.gz
21 # Source0-md5: e2491b482868059f251902d5f636eacb
22 Source1: %{name}-apache.conf
23 Source2: %{name}_server.service
24 Source3: %{name}_agentd.service
25 Source4: %{name}_proxy.service
26 Source5: %{name}_java.service
27 Source6: %{name}.tmpfiles
29 Patch1: sqlite3_dbname.patch
30 URL: http://zabbix.sourceforge.net/
31 BuildRequires: OpenIPMI-devel
32 BuildRequires: curl-devel
33 BuildRequires: iksemel-devel
34 %{?with_java:BuildRequires: jdk}
35 BuildRequires: libssh2-devel
36 BuildRequires: libxml2-devel
37 %{?with_mysql:BuildRequires: mysql-devel}
38 BuildRequires: net-snmp-devel
39 BuildRequires: openldap-devel >= 2.4.6
40 BuildRequires: openssl-devel >= 0.9.7d
41 %{?with_pgsql:BuildRequires: postgresql-devel}
42 BuildRequires: rpmbuild(macros) >= 1.671
43 %{?with_sqlite3:BuildRequires: sqlite3-devel}
44 BuildRequires: unixODBC-devel
45 Requires: %{name}-agentd = %{version}-%{release}
46 Requires: %{name}-frontend-php = %{version}-%{release}
47 Requires: %{name}-server = %{version}-%{release}
48 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 %define _sysconfdir /etc/%{name}
51 %define _appdir %{_datadir}/%{name}
52 %define _webapps /etc/webapps
53 %define _webapp %{name}
56 Zabbix is software that monitors numerous parameters of a network and
57 the servers on that network. It is a useful tool for monitoring the
58 health and integrity of servers. Zabbix uses a flexible notification
59 mechanism that allows users to configure email based alerts for
60 virtually any event. All monitored parameters are stored in a
61 database. Zabbix offers excellent reporting and data visualisation
62 features based on the stored data. Zabbix supports both polling and
63 trapping. All Zabbix reports and statistics, as well as configuration
64 parameters, are accessed through a web-based front end.
66 %description -l pl.UTF-8
67 Zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
68 serwerów sieciowych. Jest przydatny przy monitorowaniu działania
69 serwerów. Jorzysta z elastycznego mechanizmu powiadamiania, który
70 pozwala użytkownikom konfigurować powiadamianie pocztą elektroniczną
71 dla praktycznie wszelkich zdarzeń. Monitorowane parametry są
72 przechowywane w bazie danych. W oparciu o przechowywane dane Zabbix
73 oferuje świetne raportowanie i funkcje wizualizacji. Wspiera zarówno
74 odpytywanie jak i pułapkowanie. Dostęp do wszystkich raportów i
75 statystyk Zabbiksa jest możliwy poprzez interfejs oparty o WWW.
78 Summary: Common files for Zabbix monitoring software
79 Summary(pl.UTF-8): Wspólne pliki dla oprogramowania monitorującego Zabbix
80 Group: Networking/Utilities
81 Requires(postun): /usr/sbin/groupdel
82 Requires(postun): /usr/sbin/userdel
83 Requires(pre): /bin/id
84 Requires(pre): /usr/bin/getgid
85 Requires(pre): /usr/sbin/groupadd
86 Requires(pre): /usr/sbin/useradd
87 Provides: group(zabbix)
88 Provides: user(zabbix)
91 Common files for Zabbix monitoring software.
93 %description common -l pl.UTF-8
94 Wspólne pliki dla oprogramowania monitorującego Zabbix.
98 Summary(pl.UTF-8): Agenta Zabbiksa
99 Group: Networking/Utilities
100 Requires: %{name}-common = %{version}-%{release}
101 Requires: systemd-units >= 38
102 Obsoletes: zabbix-agent-inetd
103 Obsoletes: zabbix-agent-standalone
106 Zabbix agent collects data from the local system for a Zabbix server.
108 %description agentd -l pl.UTF-8
109 Agent zbiera dane z lokalnej maszyny dla serwera Zabbix.
111 %package frontend-php
112 Summary: PHP frontend for Zabbix
113 Summary(pl.UTF-8): Interfejs PHP dla Zabbiksa
114 Group: Applications/WWW
115 Requires: php(bcmath)
116 Requires: php(core) >= %{php_min_version}
119 Requires: php(gettext)
121 Requires: php(mbstring)
123 Requires: php(session)
124 Requires: php(sockets)
126 Requires: php(xmlreader)
127 Requires: php(xmlwriter)
129 Requires: webserver(php)
132 Suggests: php(sqlite3)
134 %description frontend-php
135 This package provides web based (PHP) frontend for Zabbix.
137 %description frontend-php -l pl.UTF-8
138 Ten pakiet dostarcza napisany w PHP frontend dla Zabbiksa.
141 Summary: Program retrieving data from Zabbix agent
142 Summary(pl.UTF-8): Program odpytujÄcy agenta Zabbiksa
143 Group: Networking/Utilities
146 This package provides a program retrieving data from Zabbix agent.
148 %description get -l pl.UTF-8
149 Ten pakiet zawiera program odpytujÄcy agenta Zabbiksa.
152 Summary: Zabbix proxy
153 Summary(pl.UTF-8): Proxy do Zabbiksa
154 Group: Networking/Utilities
155 Requires: %{name}-common = %{version}-%{release}
156 Requires: zabbix-proxy(db) = %{version}-%{release}
157 Requires: systemd-units >= 38
160 This package provides the Zabbix proxy.
162 %description proxy -l pl.UTF-8
163 Ten pakiet zawiera proxy Zabbix.
166 Summary: MySQL support for Zabbix proxy
167 Summary(pl.UTF-8): Obsługa MySQL dla proxy do Zabbiksa
168 Group: Networking/Utilities
169 Provides: %{name}-proxy(db) = %{version}-%{release}
170 Obsoletes: %{name}-proxy-postgresql
171 Obsoletes: %{name}-proxy-sqlite3
173 %description proxy-mysql
174 This package provides the Zabbix proxy binary with MySQL support.
176 %description proxy-mysql -l pl.UTF-8
177 Ten pakiet zawiera proxy Zabbix z obsługą MySQL.
179 %package proxy-postgresql
180 Summary: PostgreSQL support for Zabbix proxy
181 Summary(pl.UTF-8): Obsługa PostgreSQL dla proxy do Zabbiksa
182 Group: Networking/Utilities
183 Provides: %{name}-proxy(db) = %{version}-%{release}
184 Obsoletes: %{name}-proxy-mysql
185 Obsoletes: %{name}-proxy-sqlite3
187 %description proxy-postgresql
188 This package provides the Zabbix proxy binary with PostgreSQL support.
190 %description proxy-postgresql -l pl.UTF-8
191 Ten pakiet zawiera proxy Zabbix z obsługą PostgreSQL.
193 %package proxy-sqlite3
194 Summary: SQLite 3 support for Zabbix proxy
195 Summary(pl.UTF-8): Obsługa SQLite 3 dla proxy do Zabbiksa
196 Group: Networking/Utilities
197 Provides: %{name}-proxy(db) = %{version}-%{release}
198 Obsoletes: %{name}-proxy-mysql
199 Obsoletes: %{name}-proxy-postgresql
201 %description proxy-sqlite3
202 This package provides the Zabbix proxy binary with SQLite 3 support.
204 %description proxy-sqlite3 -l pl.UTF-8
205 Ten pakiet zawiera proxy Zabbix z obsługą SQLite 3.
208 Summary: Zabbix sender
209 Summary(pl.UTF-8): Program zawiadamiający Zabbiksa
210 Group: Networking/Utilities
213 This package provides the Zabbix sender.
215 %description sender -l pl.UTF-8
216 Ten pakiet zawiera program zawiadamiający Zabbiksa.
219 Summary: Zabbix server
220 Summary(pl.UTF-8): Serwer Zabbiksa
221 Group: Networking/Utilities
222 Requires: %{name}-common = %{version}-%{release}
223 Requires: %{name}-server(db) = %{version}-%{release}
224 Requires: systemd-units >= 38
225 Obsoletes: zabbix-suckerd
226 Obsoletes: zabbix-trapper-inetd
227 Obsoletes: zabbix-trapper-standalone
230 This package provides the Zabbix server.
232 %description server -l pl.UTF-8
233 Ten pakiet zawiera serwer Zabbiksa.
235 %package server-mysql
236 Summary: MySQL support for Zabbix server
237 Summary(pl.UTF-8): Obsługa MySQL sla serwera Zabbiksa
238 Group: Networking/Utilities
239 Provides: %{name}-server(db) = %{version}-%{release}
240 Obsoletes: %{name}-server-postgresql
241 Obsoletes: %{name}-server-sqlite3
243 %description server-mysql
244 This package provides the Zabbix server binary for use with MySQL database.
246 %description server-mysql -l pl.UTF-8
247 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych MySQL.
249 %package server-postgresql
250 Summary: PostgreSQL support for Zabbix server
251 Summary(pl.UTF-8): Obsługa PostgreSQL sla serwera Zabbiksa
252 Group: Networking/Utilities
253 Provides: %{name}-server(db) = %{version}-%{release}
254 Obsoletes: %{name}-server-mysql
255 Obsoletes: %{name}-server-sqlite3
257 %description server-postgresql
258 This package provides the Zabbix server binary for use with PostgreSQL database.
260 %description server-postgresql -l pl.UTF-8
261 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych PostgreSQL.
263 %package server-sqlite3
264 Summary: SQLite 3 support for Zabbix server
265 Summary(pl.UTF-8): Obsługa SQLite 3 sla serwera Zabbiksa
266 Group: Networking/Utilities
267 Requires(post): /bin/zcat
268 Provides: %{name}-server(db) = %{version}-%{release}
269 Obsoletes: %{name}-server-mysql
270 Obsoletes: %{name}-server-postgresql
272 %description server-sqlite3
273 This package provides the Zabbix server binary for use with SQLite 3 database.
275 %description server-sqlite3 -l pl.UTF-8
276 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych SQLite 3.
279 Summary: Zabbix Java Gateway
280 Group: Networking/Utilities
281 Requires: %{name}-common = %{version}-%{release}
282 Requires: systemd-units >= 38
285 This package provides the Zabbix Java Gateway.
299 %{__enable_disable java} \
318 # keep timestamps to prevent unneccessary rebuilds
319 cp -a include/config.h include/config.h.old
320 cp -a include/stamp-h1 include/stamp-h1.old
322 for database in %{databases} ; do
329 touch --reference=include/config.h.old include/config.h
330 touch --reference=include/stamp-h1.old include/stamp-h1
332 # clean what needs rebuilding
333 for dir in src/libs/zbxdb* src/libs/zbxserver ; do
334 %{__make} -C $dir clean
337 touch include/zbxdb.h
342 -C src/zabbix_server \
343 DESTDIR=$PWD/install-${database}
345 -C src/zabbix_proxy \
346 DESTDIR=$PWD/install-${database}
348 # prepare dirs for %%doc
349 for dir in upgrades/dbpatches/* ; do
350 [ -d $dir/${database} ] || continue
351 mkdir -p install-${database}/upgrade/$(basename $dir)
352 cp -a $dir/${databases}/* install-${database}/upgrade/$(basename $dir)
357 rm -rf $RPM_BUILD_ROOT
358 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/webapps/%{_webapp},%{_appdir}} \
359 $RPM_BUILD_ROOT{/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
362 DESTDIR=$RPM_BUILD_ROOT \
363 ZJG_DEST=$RPM_BUILD_ROOT%{_datadir}/zabbix_java
365 for database in %{databases} ; do
366 cp -p install-$database/%{_sbindir}/zabbix_server \
367 $RPM_BUILD_ROOT%{_sbindir}/zabbix_server-$database
368 cp -p install-$database/%{_sbindir}/zabbix_proxy \
369 $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy-$database
372 if [ -n "$database" ] ; then
373 ln -sf %{_sbindir}/zabbix_server-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
374 ln -sf %{_sbindir}/zabbix_proxy-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
378 install -d $RPM_BUILD_ROOT/var/lib/zabbix
379 touch $RPM_BUILD_ROOT/var/lib/zabbix/zabbix.db
382 cp -r frontends $RPM_BUILD_ROOT%{_appdir}
384 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
385 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
387 install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_server.service
388 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_agentd.service
389 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_proxy.service
390 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_java.service
392 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/zabbix.conf
394 mv $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf $RPM_BUILD_ROOT%{_sysconfdir}/frontend
395 ln -s %{_sysconfdir}/frontend $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf
396 touch $RPM_BUILD_ROOT%{_sysconfdir}/frontend/zabbix.conf.php
399 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix_java.conf
400 ln -s %{_sysconfdir}/zabbix_java.conf $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh
401 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback.xml
402 ln -s %{_sysconfdir}/java-logback.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml
403 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback-console.xml
404 ln -s %{_sysconfdir}/java-logback-console.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml
406 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-start <<'EOF'
409 exec %{_datadir}/zabbix_java/startup.sh "$@"
412 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-stop <<'EOF'
415 exec %{_datadir}/zabbix_java/shutdown.sh "$@"
420 rm -rf $RPM_BUILD_ROOT
422 %triggerin frontend-php -- apache1 < 1.3.37-3, apache1-base
423 %webapp_register apache %{_webapp}
425 %triggerun frontend-php -- apache1 < 1.3.37-3, apache1-base
426 %webapp_unregister apache %{_webapp}
428 %triggerin frontend-php -- apache < 2.2.0, apache-base
429 %webapp_register httpd %{_webapp}
431 %triggerun frontend-php -- apache < 2.2.0, apache-base
432 %webapp_unregister httpd %{_webapp}
435 %groupadd -g 111 zabbix
436 %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
439 if [ "$1" = "0" ]; then
445 if [ "$1" = 1 ]; then
446 %banner -e %{name}-server <<-EOF
447 You should create database for Zabbix.
449 Running these should be fine in most cases:
450 mysqladmin create zabbix
451 zcat %{_docdir}/%{name}-server-mysql-%{version}/schema.sql.gz | mysql zabbix
452 zcat %{_docdir}/%{name}-server-mysql-%{version}/images.sql.gz | mysql zabbix
453 zcat %{_docdir}/%{name}-server-mysql-%{version}/data.sql.gz | mysql zabbix
456 ln -sf %{_sbindir}/zabbix_server-mysql %{_sbindir}/zabbix_server || :
458 %post server-postgresql
459 if [ "$1" = 1 ]; then
460 %banner -e %{name}-server <<-EOF
461 You should create database for Zabbix.
463 Running these should be fine in most cases:
466 createdb -O zabbix zabbix
467 zcat %{_docdir}/%{name}-server-postgresql-%{version}/schema.sql.gz | psql -u zabbix zabbix
468 zcat %{_docdir}/%{name}-server-postgresql-%{version}/images.sql.gz | psql -u zabbix zabbix
469 zcat %{_docdir}/%{name}-server-postgresql-%{version}/data.sql.gz | psql -u zabbix zabbix
472 ln -sf %{_sbindir}/zabbix_server-postgresql %{_sbindir}/zabbix_server || :
475 if [ "$1" = 1 ]; then
476 if [ ! -f /var/lib/zabbix/zabbix.db ] ; then
477 %banner -e %{name}-server <<-EOF
478 Creating sqlite3 database for Zabbix in /var/lib/zabbix/zabbix.db
480 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/schema.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
481 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/images.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
482 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/data.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
483 chown zabbix:zabbix /var/lib/zabbix/zabbix.db && \
484 chmod 644 /var/lib/zabbix/zabbix.db || :
487 ln -sf %{_sbindir}/zabbix_server-sqlite3 %{_sbindir}/zabbix_server || :
490 %systemd_post zabbix_server.service
493 %systemd_preun zabbix_server.service
496 if [ "$1" = "0" ]; then
497 if [ -L %{_sbindir}/zabbix_server ] ; then
498 rm -f %{_sbindir}/zabbix_server || :
504 %systemd_post zabbix_agentd.service
507 %systemd_preun zabbix_agentd.service
513 ln -sf %{_sbindir}/zabbix_proxy-mysql %{_sbindir}/zabbix_proxy || :
515 %post proxy-postgresql
516 ln -sf %{_sbindir}/zabbix_proxy-postgresql %{_sbindir}/zabbix_proxy || :
519 ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
522 %systemd_post zabbix_proxy.service
525 %systemd_preun zabbix_proxy.service
531 %systemd_post zabbix_java.service
534 %systemd_preun zabbix_java.service
540 %defattr(644,root,root,755)
541 %doc AUTHORS ChangeLog README
544 %defattr(644,root,root,755)
545 %doc AUTHORS ChangeLog README
546 %attr(751,root,zabbix) %dir %{_sysconfdir}
547 %attr(751,root,http) %dir %{_sysconfdir}/frontend
549 %dir %{_appdir}/frontends
550 %dir %attr(770,root,zabbix) /run/zabbix
551 %dir %attr(775,root,zabbix) /var/log/zabbix
552 %{systemdtmpfilesdir}/zabbix.conf
555 %defattr(644,root,root,755)
556 %doc conf/zabbix_agentd/*.conf
557 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agentd.conf
558 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_agentd.conf.d
559 %attr(755,root,root) %{_sbindir}/zabbix_agentd
560 %{_mandir}/man8/zabbix_agentd*
561 %{systemdunitdir}/zabbix_agentd.service
564 %defattr(644,root,root,755)
565 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
566 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*
567 %{_appdir}/frontends/php
568 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
569 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
570 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
571 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
574 %defattr(644,root,root,755)
575 %attr(755,root,root) %{_bindir}/zabbix_get
576 %{_mandir}/man1/zabbix_get*
579 %defattr(644,root,root,755)
580 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_proxy.conf
581 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_proxy.conf.d
582 %ghost %attr(755,root,root) %{_sbindir}/zabbix_proxy
583 %{_mandir}/man8/zabbix_proxy*
584 %{systemdunitdir}/zabbix_proxy.service
588 %defattr(644,root,root,755)
589 %attr(755,root,root) %{_sbindir}/zabbix_proxy-mysql
593 %files proxy-postgresql
594 %defattr(644,root,root,755)
595 %attr(755,root,root) %{_sbindir}/zabbix_proxy-postgresql
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_sbindir}/zabbix_proxy-sqlite3
605 %defattr(644,root,root,755)
606 %attr(755,root,root) %{_bindir}/zabbix_sender
607 %{_mandir}/man1/zabbix_sender*
610 %defattr(644,root,root,755)
611 %doc upgrades/dbpatches
612 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf
613 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_server.conf.d
614 %ghost %attr(755,root,root) %{_sbindir}/zabbix_server
615 %{_mandir}/man8/zabbix_server*
616 %{systemdunitdir}/zabbix_server.service
620 %defattr(644,root,root,755)
621 %doc database/mysql/*.sql install-mysql/upgrade
622 %attr(755,root,root) %{_sbindir}/zabbix_server-mysql
626 %files server-postgresql
627 %defattr(644,root,root,755)
628 %doc database/postgresql/*.sql install-postgresql/upgrade
629 %attr(755,root,root) %{_sbindir}/zabbix_server-postgresql
633 %files server-sqlite3
634 %defattr(644,root,root,755)
635 %doc database/sqlite3/*.sql
636 %attr(755,root,root) %{_sbindir}/zabbix_server-sqlite3
637 %dir %attr(771,root,zabbix) /var/lib/zabbix
638 %ghost %attr(644,zabbix,zabbix) /var/lib/zabbix/zabbix.db
643 %defattr(644,root,root,755)
644 %attr(755,root,root) %{_sbindir}/zabbix_java-start
645 %attr(755,root,root) %{_sbindir}/zabbix_java-stop
646 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_java.conf
647 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback.xml
648 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback-console.xml
649 %dir %{_datadir}/zabbix_java
650 %{_datadir}/zabbix_java/bin
651 %{_datadir}/zabbix_java/lib
652 %{_datadir}/zabbix_java/settings.sh
653 %attr(755,root,root) %{_datadir}/zabbix_java/shutdown.sh
654 %attr(755,root,root) %{_datadir}/zabbix_java/startup.sh
655 %{systemdunitdir}/zabbix_java.service