/[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.2 - (hide annotations) (download)
Thu Jun 9 18:07:16 2016 UTC (8 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-cacti-0_8_8b1-2_el6_sme
Changes since 1.1: +5 -2 lines
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.8.8b1-2.sme
- update version Required

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

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