1 |
# $Id: smeserver-zabbix-server.spec,v 1.2 2020/12/07 15:26:43 brianr Exp $ |
# $Id: smeserver-zabbix-server.spec,v 1.4 2020/12/08 16:29:28 brianr Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
%define name smeserver-zabbix-server |
%define name smeserver-zabbix-server |
6 |
%define version 0.1 |
%define version 0.1 |
7 |
%define release 21 |
%define release 23 |
8 |
Summary: sme server integration of zabbix server and web front-end |
Summary: sme server integration of zabbix server and web front-end |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
34 |
Patch17: smeserver-zabbix-server-0.1-zabbix4.4.6.patch |
Patch17: smeserver-zabbix-server-0.1-zabbix4.4.6.patch |
35 |
Patch18: smeserver-zabbix-server-0.1-Update-httpd-createlinks-and-adduser.ini.patch |
Patch18: smeserver-zabbix-server-0.1-Update-httpd-createlinks-and-adduser.ini.patch |
36 |
Patch19: smeserver-zabbix-server-0.1-Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file.patch |
Patch19: smeserver-zabbix-server-0.1-Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file.patch |
37 |
|
Patch20: smeserver-zabbix-server-0.1-Add-in-zabbix-conf-expansion-to-createlinks.patch |
38 |
|
|
39 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
40 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
57 |
solution |
solution |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Thu Dec 10 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-23.sme |
61 |
|
- Add in post instructions to spec for SQL db creation [SME: 11232] |
62 |
|
|
63 |
|
* Tue Dec 08 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme |
64 |
|
- Add expand zabbix-server.conf and .user.ini to creatlinks update event [SME:11232] |
65 |
|
|
66 |
* Tue Dec 08 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-21.sme |
* Tue Dec 08 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-21.sme |
67 |
- Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file [SME: 11232] |
- Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file [SME: 11232] |
68 |
|
|
160 |
%patch17 -p1 |
%patch17 -p1 |
161 |
%patch18 -p1 |
%patch18 -p1 |
162 |
%patch19 -p1 |
%patch19 -p1 |
163 |
|
%patch20 -p1 |
164 |
|
|
165 |
%build |
%build |
166 |
perl ./createlinks |
perl ./createlinks |
182 |
%clean |
%clean |
183 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
184 |
|
|
185 |
|
%post |
186 |
|
/sbin/e-smith/expand-template /etc/e-smith/sql/init/80zabbix-server |
187 |
|
/etc/rc.d/init.d/mysql.init start |
188 |
|
|
189 |
%postun |
%postun |
190 |
#uninstall |
#uninstall |