/[smecontribs]/rpms/smeserver-cacti/contribs9/smeserver-cacti.spec
ViewVC logotype

Annotation of /rpms/smeserver-cacti/contribs9/smeserver-cacti.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Fri Jun 10 13:55:24 2016 UTC (8 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-cacti-0_8_8h1-2_el6_sme
Changes since 1.3: +2 -2 lines
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.8.8h1-2.sme
- new version for cacti-0.8.8h-1 [SME: 8434]

1 unnilennium 1.1 # $Id: smeserver-cacti.spec,v 1.11 2013/11/21 22:31:24 unnilennium Exp $
2     # Authority: nocvs
3     # Name: Michel Van hees
4    
5     Summary: Cacti for smeserver
6     %define name smeserver-cacti
7     Name: %{name}
8 unnilennium 1.3 %define version 0.8.8h1
9 unnilennium 1.4 %define release 2
10 unnilennium 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: Freely distributable
13     Group: Apache
14     Source: %{name}-%{version}.tar.gz
15     BuildRoot: /var/tmp/e-smith-buildroot
16     BuildRequires: e-smith-devtools
17     BuildArchitectures: noarch
18     Requires: smeserver-release >= 8 , rrdtool >= 1
19 unnilennium 1.3 Requires: cacti >= 0.8.8h
20 unnilennium 1.1 AutoReqProv: no
21    
22     %changelog
23 unnilennium 1.4 * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.8.8h1-2.sme
24 unnilennium 1.3 - new version for cacti-0.8.8h-1 [SME: 8434]
25    
26 unnilennium 1.2 * Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.8.8b1-2.sme
27     - update version Required
28    
29 unnilennium 1.1 * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.8.8b1-1.sme
30     - initial import to SME9 contribs
31    
32     * Thu Nov 21 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-12.sme
33     - fixed poller not running in cron , added to crontab
34     - fixed wrong ownership for db.php, now cacti:www
35     - added status enabled by default
36     - user cacti to run in cron
37    
38     * Tue Nov 14 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-10.sme
39     - typo fix in last patch (7)
40    
41     * Sun Nov 10 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-9.sme
42     - fix paths in sql dump [SME: 7419]
43    
44     * Mon Oct 21 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-8.sme
45     - fixing last template path error in createlinks
46    
47     * Fri Oct 18 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-7.sme
48     - fix missing type
49     - fix wrong path in Virtualhost template
50     - fix DB not creating
51     - fix extra file in template
52     - updated db mysql default
53    
54     * Tue Oct 15 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-3.sme
55     - initial release for SME 8
56     - use el5 repo cacti
57     - fix dependencies
58    
59     * Tue Dec 4 2007 Michel Van hees <michel@vanhees.cc>
60     - Update contrib to 0.8.7a version
61     - Adding access limitation
62     - Adding automatic redirection to https
63     - Automatic Update process from 0.8.6j
64    
65     * Mon Jan 29 2007 Michel Van hees <michel@vanhees.cc>
66     - Based on cacti 0.8.6j
67     - Initial release
68    
69     %description
70     SME server - Cacti
71    
72     %prep
73     %setup
74     #REM contribs9 %patch0 -p1
75     #REM contribs9 %patch1 -p1
76     #REM contribs9 %patch2 -p1
77     #REM contribs9 %patch3 -p1
78     #REM contribs9 %patch4 -p1
79     #REM contribs9 %patch5 -p1
80     #REM contribs9 %patch6 -p1
81     #REM contribs9 %patch7 -p1
82     #REM contribs9 %patch8 -p1
83     #REM contribs9 %patch9 -p1
84    
85     %build
86     perl createlinks
87    
88     %install
89     rm -rf $RPM_BUILD_ROOT
90     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
91     rm -f %{name}-%{version}-filelist
92     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
93     echo "%doc COPYING" >> %{name}-%{version}-filelist
94    
95     %clean
96     rm -rf $RPM_BUILD_ROOT
97    
98     %pre
99     #/sbin/e-smith/db accounts set cacti reserved
100    
101     %preun
102    
103     %post
104     #/sbin/e-smith/db configuration set cacti service
105     #/sbin/e-smith/db configuration setprop cacti access private
106    
107     #/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
108     #/sbin/e-smith/expand-template /opt/cacti/include/config.php
109     #service httpd-e-smith sigusr1
110    
111    
112     #cactiVersion=`mysql cacti_sme -N -s -e"select * from version"`
113     #case "$cactiVersion" in
114     # 0.8.6j)
115     # echo ""
116     # echo "Upgrade process !!!!!!"
117     # mysql cacti_sme < /opt/cacti/cacti_upg086j.sql
118     # rm -f /opt/cacti/cacti_sme.sql
119     # rm -f /opt/cacti/cacti_upg086j.sql
120     # echo "Upgrade complete ..."
121     # echo ""
122     # ;;
123     # 0.8.7a)
124     # # Shoul not be here for the moment
125     # ;;
126     # *)
127     # # Fresh install
128     # echo ""
129     # echo "fresh install..."
130     # mysqladmin create cacti_sme
131     # mysql cacti_sme < /opt/cacti/cacti_sme.sql
132     # rm -Rf /opt/cacti/install
133     # rm -f /opt/cacti/cacti_sme.sql
134     # rm -f /opt/cacti/cacti_upg086j.sql
135     # echo "Install complete ..."
136     # echo ""
137     #esac
138    
139    
140     %postun
141    
142     %files -f %{name}-%{version}-filelist
143     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed