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

Diff of /rpms/smeserver-cacti/contribs10/smeserver-cacti.spec

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

Revision 1.1 by brianr, Tue Jan 5 09:53:36 2021 UTC Revision 1.2 by jpp, Tue Jul 26 04:09:02 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-cacti.spec,v 1.11 2013/11/21 22:31:24 unnilennium Exp $  # $Id: smeserver-cacti.spec,v 1.1 2021/01/05 09:53:36 brianr Exp $
2  # Authority: nocvs  # Authority: nocvs
3  # Name: Michel Van hees  # Name: Michel Van hees
4    
# Line 6  Summary: Cacti for smeserver Line 6  Summary: Cacti for smeserver
6  %define name smeserver-cacti  %define name smeserver-cacti
7  Name: %{name}  Name: %{name}
8  %define version 1.1.19  %define version 1.1.19
9  %define release 1  %define release 2
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-1.1.19-sme10.patch
16    
17  BuildRoot: /var/tmp/e-smith-buildroot  BuildRoot: /var/tmp/e-smith-buildroot
18  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
19  BuildArchitectures: noarch  BuildArchitectures: noarch
20  Requires: smeserver-release >= 8 , rrdtool >= 1  Requires: smeserver-release >= 10 , rrdtool >= 1
21  Requires: cacti >= 0.8.8h  Requires: cacti >= 1.2.21
22    Requires: e-smith-apache >= 2.6.0-19
23    Requires: smeserver-php >= 3.0.0-43
24  AutoReqProv: no  AutoReqProv: no
25    
26  %changelog  %changelog
27    * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.19-2.sme
28    - update httpd 2.4 to syntax [SME: 12039]
29    - initial import to SME10 [SME: 11307]
30      cacti-1.2.21
31      dedicated php-fpm pool 74
32      update event
33    
34  * Wed Dec 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.19-1.sme  * Wed Dec 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.19-1.sme
35  - update to cacti-1.1.19 [SME: 8434]  - update to cacti-1.1.19 [SME: 8434]
36    
# Line 74  SME server - Cacti Line 85  SME server - Cacti
85    
86  %prep  %prep
87  %setup  %setup
88  #REM contribs9 %patch0 -p1  mkdir -p root/var/lib/php/cacti/{opcache,session,tmp}
89  #REM contribs9 %patch1 -p1  %patch0 -p1
90  #REM contribs9 %patch2 -p1  
 #REM contribs9 %patch3 -p1  
 #REM contribs9 %patch4 -p1  
 #REM contribs9 %patch5 -p1  
 #REM contribs9 %patch6 -p1  
 #REM contribs9 %patch7 -p1  
 #REM contribs9 %patch8 -p1  
 #REM contribs9 %patch9 -p1  
91    
92  %build  %build
93  perl createlinks  perl createlinks
94    # replace __PHP_VERSION__ with required php version eg 74
95    
96    
97  %install  %install
98  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
99  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
100  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
101  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
102     --dir /var/log/php/cacti  'attr(0755,www,www)' \
103     --dir /var/lib/php/cacti  'attr(0755,www,www)' \
104     --dir /var/lib/php/cacti/tmp 'attr(0755,www,www)' \
105     --dir /var/lib/php/cacti/opcache 'attr(0755,www,www)' \
106     --dir /var/lib/php/cacti/session 'attr(0755,www,www)' \
107            > %{name}-%{version}-filelist
108  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
109    
110  %clean  %clean


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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