1 |
# $Id: smeserver-cacti.spec,v 1.8 2013/11/10 16:06:41 unnilennium Exp $ |
# $Id: smeserver-cacti.spec,v 1.11 2013/11/21 22:31:24 unnilennium Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
|
|
5 |
Summary: Cacti for smeserver |
Summary: Cacti for smeserver |
6 |
%define name smeserver-cacti |
%define name smeserver-cacti |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.8.8b |
%define version 0.8.8b1 |
9 |
%define release 10 |
%define release 1 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: Freely distributable |
License: Freely distributable |
13 |
Group: Apache |
Group: Apache |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-cacti-0.8.8b-patch0.patch |
#REM contribs9 Patch0: smeserver-cacti-0.8.8b1-patch0.patch |
16 |
Patch1: smeserver-cacti-0.8.8b-patch1.patch |
#REM contribs9 Patch1: smeserver-cacti-0.8.8b1-patch1.patch |
17 |
Patch2: smeserver-cacti-0.8.8b-patch2.patch |
#REM contribs9 Patch2: smeserver-cacti-0.8.8b1-patch2.patch |
18 |
Patch3: smeserver-cacti-0.8.8b-patch3.patch |
#REM contribs9 Patch3: smeserver-cacti-0.8.8b1-patch3.patch |
19 |
Patch4: smeserver-cacti-0.8.8b-patch4.patch |
#REM contribs9 Patch4: smeserver-cacti-0.8.8b1-patch4.patch |
20 |
Patch5: smeserver-cacti-0.8.8b-patch5.patch |
#REM contribs9 Patch5: smeserver-cacti-0.8.8b1-patch5.patch |
21 |
Patch6: smeserver-cacti-0.8.8b-patch6.patch |
#REM contribs9 Patch6: smeserver-cacti-0.8.8b1-patch6.patch |
22 |
Patch7: smeserver-cacti-0.8.8b-patch7.patch |
#REM contribs9 Patch7: smeserver-cacti-0.8.8b1-patch7.patch |
23 |
|
#REM contribs9 Patch8: smeserver-cacti-0.8.8b1-poller.patch |
24 |
|
#REM contribs9 Patch9: smeserver-cacti-0.8.8b1-disenabled.patch |
25 |
#Patch:%{name}-%{version}.patch.yyyymmddnn |
#Patch:%{name}-%{version}.patch.yyyymmddnn |
26 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
27 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.8.8b1-1.sme |
35 |
|
- initial import to SME9 contribs |
36 |
|
|
37 |
|
* Thu Nov 21 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-12.sme |
38 |
|
- fixed poller not running in cron , added to crontab |
39 |
|
- fixed wrong ownership for db.php, now cacti:www |
40 |
|
- added status enabled by default |
41 |
|
- user cacti to run in cron |
42 |
|
|
43 |
* Tue Nov 14 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-10.sme |
* Tue Nov 14 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-10.sme |
44 |
- typo fix in last patch (7) |
- typo fix in last patch (7) |
45 |
|
|
76 |
|
|
77 |
%prep |
%prep |
78 |
%setup |
%setup |
79 |
%patch0 -p1 |
#REM contribs9 %patch0 -p1 |
80 |
%patch1 -p1 |
#REM contribs9 %patch1 -p1 |
81 |
%patch2 -p1 |
#REM contribs9 %patch2 -p1 |
82 |
%patch3 -p1 |
#REM contribs9 %patch3 -p1 |
83 |
%patch4 -p1 |
#REM contribs9 %patch4 -p1 |
84 |
%patch5 -p1 |
#REM contribs9 %patch5 -p1 |
85 |
%patch6 -p1 |
#REM contribs9 %patch6 -p1 |
86 |
%patch7 -p1 |
#REM contribs9 %patch7 -p1 |
87 |
|
#REM contribs9 %patch8 -p1 |
88 |
|
#REM contribs9 %patch9 -p1 |
89 |
|
|
90 |
%build |
%build |
91 |
perl createlinks |
perl createlinks |