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}
11 %define any_database %{with pgsql}%{with mysql}%{with sqlite3}
13 %define php_min_version 5.4.0
14 Summary: Zabbix - network monitoring software
15 Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
20 Group: Networking/Utilities
21 Source0: http://downloads.sourceforge.net/zabbix/%{name}-%{version}.tar.gz
22 # Source0-md5: e2491b482868059f251902d5f636eacb
23 Source1: %{name}-apache.conf
24 Source2: %{name}_server.service
25 Source3: %{name}_agentd.service
26 Source4: %{name}_proxy.service
27 Source5: %{name}_java.service
28 Source6: %{name}.tmpfiles
30 Patch1: sqlite3_dbname.patch
31 Patch2: tag_conditions.patch
32 URL: http://zabbix.sourceforge.net/
33 BuildRequires: OpenIPMI-devel
34 BuildRequires: curl-devel
35 BuildRequires: iksemel-devel
36 %{?with_java:BuildRequires: jdk}
37 BuildRequires: libssh2-devel
38 BuildRequires: libxml2-devel
39 %{?with_mysql:BuildRequires: mysql-devel}
40 BuildRequires: net-snmp-devel
41 BuildRequires: openldap-devel >= 2.4.6
42 BuildRequires: openssl-devel >= 0.9.7d
43 %{?with_pgsql:BuildRequires: postgresql-devel}
44 BuildRequires: rpmbuild(macros) >= 1.671
45 %{?with_sqlite3:BuildRequires: sqlite3-devel}
46 BuildRequires: unixODBC-devel
47 Requires: %{name}-agentd = %{version}-%{release}
48 Requires: %{name}-frontend-php = %{version}-%{release}
49 Requires: %{name}-server = %{version}-%{release}
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 %define _sysconfdir /etc/%{name}
53 %define _appdir %{_datadir}/%{name}
54 %define _webapps /etc/webapps
55 %define _webapp %{name}
58 Zabbix is software that monitors numerous parameters of a network and
59 the servers on that network. It is a useful tool for monitoring the
60 health and integrity of servers. Zabbix uses a flexible notification
61 mechanism that allows users to configure email based alerts for
62 virtually any event. All monitored parameters are stored in a
63 database. Zabbix offers excellent reporting and data visualisation
64 features based on the stored data. Zabbix supports both polling and
65 trapping. All Zabbix reports and statistics, as well as configuration
66 parameters, are accessed through a web-based front end.
68 %description -l pl.UTF-8
69 Zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
70 serwerów sieciowych. Jest przydatny przy monitorowaniu działania
71 serwerów. Jorzysta z elastycznego mechanizmu powiadamiania, który
72 pozwala użytkownikom konfigurować powiadamianie pocztą elektroniczną
73 dla praktycznie wszelkich zdarzeń. Monitorowane parametry są
74 przechowywane w bazie danych. W oparciu o przechowywane dane Zabbix
75 oferuje świetne raportowanie i funkcje wizualizacji. Wspiera zarówno
76 odpytywanie jak i pułapkowanie. Dostęp do wszystkich raportów i
77 statystyk Zabbiksa jest możliwy poprzez interfejs oparty o WWW.
80 Summary: Common files for Zabbix monitoring software
81 Summary(pl.UTF-8): Wspólne pliki dla oprogramowania monitorującego Zabbix
82 Group: Networking/Utilities
83 Requires(postun): /usr/sbin/groupdel
84 Requires(postun): /usr/sbin/userdel
85 Requires(pre): /bin/id
86 Requires(pre): /usr/bin/getgid
87 Requires(pre): /usr/sbin/groupadd
88 Requires(pre): /usr/sbin/useradd
89 Provides: group(zabbix)
90 Provides: user(zabbix)
93 Common files for Zabbix monitoring software.
95 %description common -l pl.UTF-8
96 Wspólne pliki dla oprogramowania monitorującego Zabbix.
100 Summary(pl.UTF-8): Agenta Zabbiksa
101 Group: Networking/Utilities
102 Requires: %{name}-common = %{version}-%{release}
103 Requires: systemd-units >= 38
104 Obsoletes: zabbix-agent-inetd
105 Obsoletes: zabbix-agent-standalone
108 Zabbix agent collects data from the local system for a Zabbix server.
110 %description agentd -l pl.UTF-8
111 Agent zbiera dane z lokalnej maszyny dla serwera Zabbix.
113 %package frontend-php
114 Summary: PHP frontend for Zabbix
115 Summary(pl.UTF-8): Interfejs PHP dla Zabbiksa
116 Group: Applications/WWW
117 Requires: php(bcmath)
118 Requires: php(core) >= %{php_min_version}
121 Requires: php(gettext)
123 Requires: php(mbstring)
125 Requires: php(session)
126 Requires: php(sockets)
128 Requires: php(xmlreader)
129 Requires: php(xmlwriter)
131 Requires: webserver(alias)
132 Requires: webserver(php)
135 Suggests: php(sqlite3)
137 %description frontend-php
138 This package provides web based (PHP) frontend for Zabbix.
140 %description frontend-php -l pl.UTF-8
141 Ten pakiet dostarcza napisany w PHP frontend dla Zabbiksa.
144 Summary: Program retrieving data from Zabbix agent
145 Summary(pl.UTF-8): Program odpytujÄcy agenta Zabbiksa
146 Group: Networking/Utilities
149 This package provides a program retrieving data from Zabbix agent.
151 %description get -l pl.UTF-8
152 Ten pakiet zawiera program odpytujÄcy agenta Zabbiksa.
155 Summary: Zabbix proxy
156 Summary(pl.UTF-8): Proxy do Zabbiksa
157 Group: Networking/Utilities
158 Requires: %{name}-common = %{version}-%{release}
159 Requires: zabbix-proxy(db) = %{version}-%{release}
160 Requires: systemd-units >= 38
163 This package provides the Zabbix proxy.
165 %description proxy -l pl.UTF-8
166 Ten pakiet zawiera proxy Zabbix.
169 Summary: MySQL support for Zabbix proxy
170 Summary(pl.UTF-8): Obsługa MySQL dla proxy do Zabbiksa
171 Group: Networking/Utilities
172 Provides: %{name}-proxy(db) = %{version}-%{release}
173 Obsoletes: %{name}-proxy-postgresql
174 Obsoletes: %{name}-proxy-sqlite3
176 %description proxy-mysql
177 This package provides the Zabbix proxy binary with MySQL support.
179 %description proxy-mysql -l pl.UTF-8
180 Ten pakiet zawiera proxy Zabbix z obsługą MySQL.
182 %package proxy-postgresql
183 Summary: PostgreSQL support for Zabbix proxy
184 Summary(pl.UTF-8): Obsługa PostgreSQL dla proxy do Zabbiksa
185 Group: Networking/Utilities
186 Provides: %{name}-proxy(db) = %{version}-%{release}
187 Obsoletes: %{name}-proxy-mysql
188 Obsoletes: %{name}-proxy-sqlite3
190 %description proxy-postgresql
191 This package provides the Zabbix proxy binary with PostgreSQL support.
193 %description proxy-postgresql -l pl.UTF-8
194 Ten pakiet zawiera proxy Zabbix z obsługą PostgreSQL.
196 %package proxy-sqlite3
197 Summary: SQLite 3 support for Zabbix proxy
198 Summary(pl.UTF-8): Obsługa SQLite 3 dla proxy do Zabbiksa
199 Group: Networking/Utilities
200 Provides: %{name}-proxy(db) = %{version}-%{release}
201 Obsoletes: %{name}-proxy-mysql
202 Obsoletes: %{name}-proxy-postgresql
204 %description proxy-sqlite3
205 This package provides the Zabbix proxy binary with SQLite 3 support.
207 %description proxy-sqlite3 -l pl.UTF-8
208 Ten pakiet zawiera proxy Zabbix z obsługą SQLite 3.
211 Summary: Zabbix sender
212 Summary(pl.UTF-8): Program zawiadamiający Zabbiksa
213 Group: Networking/Utilities
216 This package provides the Zabbix sender.
218 %description sender -l pl.UTF-8
219 Ten pakiet zawiera program zawiadamiający Zabbiksa.
222 Summary: Zabbix server
223 Summary(pl.UTF-8): Serwer Zabbiksa
224 Group: Networking/Utilities
225 Requires: %{name}-common = %{version}-%{release}
226 Requires: %{name}-server(db) = %{version}-%{release}
227 Requires: systemd-units >= 38
228 Obsoletes: zabbix-suckerd
229 Obsoletes: zabbix-trapper-inetd
230 Obsoletes: zabbix-trapper-standalone
233 This package provides the Zabbix server.
235 %description server -l pl.UTF-8
236 Ten pakiet zawiera serwer Zabbiksa.
238 %package server-mysql
239 Summary: MySQL support for Zabbix server
240 Summary(pl.UTF-8): Obsługa MySQL sla serwera Zabbiksa
241 Group: Networking/Utilities
242 Provides: %{name}-server(db) = %{version}-%{release}
243 Obsoletes: %{name}-server-postgresql
244 Obsoletes: %{name}-server-sqlite3
246 %description server-mysql
247 This package provides the Zabbix server binary for use with MySQL database.
249 %description server-mysql -l pl.UTF-8
250 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych MySQL.
252 %package server-postgresql
253 Summary: PostgreSQL support for Zabbix server
254 Summary(pl.UTF-8): Obsługa PostgreSQL sla serwera Zabbiksa
255 Group: Networking/Utilities
256 Provides: %{name}-server(db) = %{version}-%{release}
257 Obsoletes: %{name}-server-mysql
258 Obsoletes: %{name}-server-sqlite3
260 %description server-postgresql
261 This package provides the Zabbix server binary for use with PostgreSQL database.
263 %description server-postgresql -l pl.UTF-8
264 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych PostgreSQL.
266 %package server-sqlite3
267 Summary: SQLite 3 support for Zabbix server
268 Summary(pl.UTF-8): Obsługa SQLite 3 sla serwera Zabbiksa
269 Group: Networking/Utilities
270 Requires(post): /bin/zcat
271 Provides: %{name}-server(db) = %{version}-%{release}
272 Obsoletes: %{name}-server-mysql
273 Obsoletes: %{name}-server-postgresql
275 %description server-sqlite3
276 This package provides the Zabbix server binary for use with SQLite 3 database.
278 %description server-sqlite3 -l pl.UTF-8
279 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych SQLite 3.
282 Summary: Zabbix Java Gateway
283 Group: Networking/Utilities
284 Requires: %{name}-common = %{version}-%{release}
285 Requires: systemd-units >= 38
288 This package provides the Zabbix Java Gateway.
303 %{__enable_disable java} \
322 # keep timestamps to prevent unneccessary rebuilds
323 cp -a include/config.h include/config.h.old
324 cp -a include/stamp-h1 include/stamp-h1.old
326 for database in %{databases} ; do
333 touch --reference=include/config.h.old include/config.h
334 touch --reference=include/stamp-h1.old include/stamp-h1
336 # clean what needs rebuilding
337 for dir in src/libs/zbxdb* src/libs/zbxserver ; do
338 %{__make} -C $dir clean
341 touch include/zbxdb.h
346 -C src/zabbix_server \
347 DESTDIR=$PWD/install-${database}
349 -C src/zabbix_proxy \
350 DESTDIR=$PWD/install-${database}
352 # prepare dirs for %%doc
353 for dir in upgrades/dbpatches/* ; do
354 [ -d $dir/${database} ] || continue
355 mkdir -p install-${database}/upgrade/$(basename $dir)
356 cp -a $dir/${databases}/* install-${database}/upgrade/$(basename $dir)
361 rm -rf $RPM_BUILD_ROOT
362 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/webapps/%{_webapp},%{_appdir}} \
363 $RPM_BUILD_ROOT{/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
366 DESTDIR=$RPM_BUILD_ROOT \
367 ZJG_DEST=$RPM_BUILD_ROOT%{_datadir}/zabbix_java
369 for database in %{databases} ; do
370 cp -p install-$database/%{_sbindir}/zabbix_server \
371 $RPM_BUILD_ROOT%{_sbindir}/zabbix_server-$database
372 cp -p install-$database/%{_sbindir}/zabbix_proxy \
373 $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy-$database
376 if [ -n "$database" ] ; then
377 ln -sf %{_sbindir}/zabbix_server-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
378 ln -sf %{_sbindir}/zabbix_proxy-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
382 install -d $RPM_BUILD_ROOT/var/lib/zabbix
383 touch $RPM_BUILD_ROOT/var/lib/zabbix/zabbix.db
386 cp -r frontends $RPM_BUILD_ROOT%{_appdir}
388 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
389 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
391 install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_server.service
392 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_agentd.service
393 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_proxy.service
394 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_java.service
396 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/zabbix.conf
398 mv $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf $RPM_BUILD_ROOT%{_sysconfdir}/frontend
399 ln -s %{_sysconfdir}/frontend $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf
400 touch $RPM_BUILD_ROOT%{_sysconfdir}/frontend/zabbix.conf.php
403 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix_java.conf
404 ln -s %{_sysconfdir}/zabbix_java.conf $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh
405 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback.xml
406 ln -s %{_sysconfdir}/java-logback.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml
407 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback-console.xml
408 ln -s %{_sysconfdir}/java-logback-console.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml
410 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-start <<'EOF'
413 exec %{_datadir}/zabbix_java/startup.sh "$@"
416 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-stop <<'EOF'
419 exec %{_datadir}/zabbix_java/shutdown.sh "$@"
424 rm -rf $RPM_BUILD_ROOT
426 %triggerin frontend-php -- apache1 < 1.3.37-3, apache1-base
427 %webapp_register apache %{_webapp}
429 %triggerun frontend-php -- apache1 < 1.3.37-3, apache1-base
430 %webapp_unregister apache %{_webapp}
432 %triggerin frontend-php -- apache < 2.2.0, apache-base
433 %webapp_register httpd %{_webapp}
435 %triggerun frontend-php -- apache < 2.2.0, apache-base
436 %webapp_unregister httpd %{_webapp}
439 %groupadd -g 111 zabbix
440 %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
443 if [ "$1" = "0" ]; then
449 if [ "$1" = 1 ]; then
450 %banner -e %{name}-server <<-EOF
451 You should create database for Zabbix.
453 Running these should be fine in most cases:
454 mysqladmin create zabbix
455 zcat %{_docdir}/%{name}-server-mysql-%{version}/schema.sql.gz | mysql zabbix
456 zcat %{_docdir}/%{name}-server-mysql-%{version}/images.sql.gz | mysql zabbix
457 zcat %{_docdir}/%{name}-server-mysql-%{version}/data.sql.gz | mysql zabbix
460 ln -sf %{_sbindir}/zabbix_server-mysql %{_sbindir}/zabbix_server || :
462 %post server-postgresql
463 if [ "$1" = 1 ]; then
464 %banner -e %{name}-server <<-EOF
465 You should create database for Zabbix.
467 Running these should be fine in most cases:
470 createdb -O zabbix zabbix
471 zcat %{_docdir}/%{name}-server-postgresql-%{version}/schema.sql.gz | psql -u zabbix zabbix
472 zcat %{_docdir}/%{name}-server-postgresql-%{version}/images.sql.gz | psql -u zabbix zabbix
473 zcat %{_docdir}/%{name}-server-postgresql-%{version}/data.sql.gz | psql -u zabbix zabbix
476 ln -sf %{_sbindir}/zabbix_server-postgresql %{_sbindir}/zabbix_server || :
479 if [ "$1" = 1 ]; then
480 if [ ! -f /var/lib/zabbix/zabbix.db ] ; then
481 %banner -e %{name}-server <<-EOF
482 Creating sqlite3 database for Zabbix in /var/lib/zabbix/zabbix.db
484 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/schema.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
485 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/images.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
486 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/data.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
487 chown zabbix:zabbix /var/lib/zabbix/zabbix.db && \
488 chmod 644 /var/lib/zabbix/zabbix.db || :
491 ln -sf %{_sbindir}/zabbix_server-sqlite3 %{_sbindir}/zabbix_server || :
494 %systemd_post zabbix_server.service
497 %systemd_preun zabbix_server.service
500 if [ "$1" = "0" ]; then
501 if [ -L %{_sbindir}/zabbix_server ] ; then
502 rm -f %{_sbindir}/zabbix_server || :
508 %systemd_post zabbix_agentd.service
511 %systemd_preun zabbix_agentd.service
517 ln -sf %{_sbindir}/zabbix_proxy-mysql %{_sbindir}/zabbix_proxy || :
519 %post proxy-postgresql
520 ln -sf %{_sbindir}/zabbix_proxy-postgresql %{_sbindir}/zabbix_proxy || :
523 ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
526 %systemd_post zabbix_proxy.service
529 %systemd_preun zabbix_proxy.service
535 %systemd_post zabbix_java.service
538 %systemd_preun zabbix_java.service
544 %defattr(644,root,root,755)
545 %doc AUTHORS ChangeLog README
548 %defattr(644,root,root,755)
549 %doc AUTHORS ChangeLog README
550 %attr(751,root,zabbix) %dir %{_sysconfdir}
551 %attr(751,root,http) %dir %{_sysconfdir}/frontend
553 %dir %{_appdir}/frontends
554 %dir %attr(770,root,zabbix) /run/zabbix
555 %dir %attr(775,root,zabbix) /var/log/zabbix
556 %{systemdtmpfilesdir}/zabbix.conf
559 %defattr(644,root,root,755)
560 %doc conf/zabbix_agentd/*.conf
561 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agentd.conf
562 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_agentd.conf.d
563 %attr(755,root,root) %{_sbindir}/zabbix_agentd
564 %{_mandir}/man8/zabbix_agentd*
565 %{systemdunitdir}/zabbix_agentd.service
568 %defattr(644,root,root,755)
569 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
570 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*
571 %{_appdir}/frontends/php
572 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
573 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
574 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
575 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
578 %defattr(644,root,root,755)
579 %attr(755,root,root) %{_bindir}/zabbix_get
580 %{_mandir}/man1/zabbix_get*
584 %defattr(644,root,root,755)
585 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_proxy.conf
586 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_proxy.conf.d
587 %ghost %attr(755,root,root) %{_sbindir}/zabbix_proxy
588 %{_mandir}/man8/zabbix_proxy*
589 %{systemdunitdir}/zabbix_proxy.service
594 %defattr(644,root,root,755)
595 %attr(755,root,root) %{_sbindir}/zabbix_proxy-mysql
599 %files proxy-postgresql
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_sbindir}/zabbix_proxy-postgresql
606 %defattr(644,root,root,755)
607 %attr(755,root,root) %{_sbindir}/zabbix_proxy-sqlite3
611 %defattr(644,root,root,755)
612 %attr(755,root,root) %{_bindir}/zabbix_sender
613 %{_mandir}/man1/zabbix_sender*
617 %defattr(644,root,root,755)
618 %doc upgrades/dbpatches
619 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf
620 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_server.conf.d
621 %ghost %attr(755,root,root) %{_sbindir}/zabbix_server
622 %{_mandir}/man8/zabbix_server*
623 %{systemdunitdir}/zabbix_server.service
628 %defattr(644,root,root,755)
629 %doc database/mysql/*.sql install-mysql/upgrade
630 %attr(755,root,root) %{_sbindir}/zabbix_server-mysql
634 %files server-postgresql
635 %defattr(644,root,root,755)
636 %doc database/postgresql/*.sql install-postgresql/upgrade
637 %attr(755,root,root) %{_sbindir}/zabbix_server-postgresql
641 %files server-sqlite3
642 %defattr(644,root,root,755)
643 %doc database/sqlite3/*.sql
644 %attr(755,root,root) %{_sbindir}/zabbix_server-sqlite3
645 %dir %attr(771,root,zabbix) /var/lib/zabbix
646 %ghost %attr(644,zabbix,zabbix) /var/lib/zabbix/zabbix.db
651 %defattr(644,root,root,755)
652 %attr(755,root,root) %{_sbindir}/zabbix_java-start
653 %attr(755,root,root) %{_sbindir}/zabbix_java-stop
654 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_java.conf
655 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback.xml
656 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback-console.xml
657 %dir %{_datadir}/zabbix_java
658 %{_datadir}/zabbix_java/bin
659 %{_datadir}/zabbix_java/lib
660 %{_datadir}/zabbix_java/settings.sh
661 %attr(755,root,root) %{_datadir}/zabbix_java/shutdown.sh
662 %attr(755,root,root) %{_datadir}/zabbix_java/startup.sh
663 %{systemdunitdir}/zabbix_java.service