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

Annotation of /rpms/smeserver-phpsysinfo/contribs10/smeserver-phpsysinfo.spec

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


Revision 1.1 - (hide annotations) (download)
Sat Oct 24 08:32:49 2020 UTC (4 years ago) by brianr
Branch: MAIN
Initial import

1 brianr 1.1 # $Id: smeserver-phpsysinfo.spec,v 1.1 2013/03/03 21:49:49 unnilennium Exp $
2     # Authority: darrellmay
3     # Name: Darrell May
4    
5     Summary: phpSysInfo for SME Server
6     %define name smeserver-phpsysinfo
7     Name: %{name}
8     %define version 3.2.3
9     %define release 3
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: SME/addon
14     Source: %{name}-%{version}.tar.gz
15     Patch0: smeserver-phpsysinfo-3.2.3-bz10329-process-formating.patch
16     URL: http://phpsysinfo.sourceforge.net
17     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18     BuildArchitectures: noarch
19     Requires: smeserver-release >= 9.0
20     Requires: hddtemp lm_sensors
21     BuildRequires: e-smith-devtools
22     AutoReqProv: no
23    
24     %description
25     %name is an implementation of phpSysInfo on SME Server.
26     Access with admin login credentials via https://yourdomain/phpsysinfo
27    
28     %changelog
29     * Sun Jan 20 2019 Jean-Philipe Pialasse <tests@pialasse.com> 3.2.3-3.sme
30     - fix process formating [SME: 10329]
31    
32     * Wed Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.2.3-1.sme
33     - Upgrade to upstream 3.2.3
34     - Require hddtemp lm_sensors
35    
36     * Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 3.1.13-1.sme
37     - Initial release to sme9
38     - upgrade of phpsysinfo to 3.1.13 https://github.com/phpsysinfo/phpsysinfo/releases/tag/v3.1.13
39     - added a menu in the administration panel of server-manager
40    
41     * Mon Apr 21 2008 Shad L. Lords <slords@mail.com>
42     - Prep for import into buildsys
43     - Clean up spec
44    
45     * Fri Oct 19 2007 Darrell May <dmay@myezserver.com>
46     - accounts and configuration db phpsysinfo defaults added
47     - default access restricted to private (private|public)
48     - phpsysinfo-2.5.4
49     - [2.5.4-0dmay]
50     * Mon Apr 09 2007 Darrell May <dmay@myezserver.com>
51     - [2.5.3-1dmay]
52     * Sun Apr 01 2007 Darrell May <dmay@myezserver.com>
53     - phpsysinfo-2.5.3
54     - [2.5.3-0dmay]
55     * Tue Jan 02 2007 Darrell May <dmay@myezserver.com>
56     - phpsysinfo-2.5.2
57     - [2.5.2-0]
58     * Fri Aug 04 2006 Darrell May <dmay@myezserver.com>
59     - phpsysinfo-2.5.2-rc3
60     - [2.5.2-rc3]
61     * Wed Dec 14 2005 Darrell May <dmay@myezserver.com>
62     - phpsysinfo-2.5
63     - [2.5-0]
64     * Fri Apr 22 2005 Darrell May <dmay@myezserver.com>
65     - added support for SME Server 7.x
66     - [2.3-2]
67     * Mon Nov 15 2004 Darrell May <dmay@myezserver.com>
68     - updated to release 2.3
69     - renamed smeserver-phpsysinfo
70     - updated includes/os/class.Linux.inc.php to recognize SME Server
71     - [2.3-1]
72     * Sat Jun 29 2002 Darrell May <dmay@netsourced.com>
73     - updated to release 2.1
74     - [2.1-1]
75     * Sun Mar 10 2002 Darrell May <dmay@netsourced.com>
76     - updated to release 2.0
77     - [2.0-1]
78     * Sun Mar 10 2002 Darrell May <dmay@netsourced.com>
79     - changed rights/ownership to tighten security
80     - [1.9-2]
81     * Tue Mar 05 2002 Darrell May <dmay@netsourced.com>
82     - changed %post/postun to graceful
83     - [1.9-1]
84     * Mon Jan 21 2002 Darrell May <dmay@netsourced.com>
85     - updated to version 1.9
86     - [1.9-0]
87     * Wed Oct 31 2001 Darrell May <dmay@netsourced.com>
88     - updated to version 1.8
89     - [1.8-0]
90     * Sun Sep 23 2001 Darrell May <dmay@netsourced.com>
91     - name change
92     * Thu May 30 2001 Darrell May <dmay@netsourced.com>
93     - 2.1.0-1
94     - Original version
95    
96     %prep
97     %setup
98     %patch0 -p1
99    
100     %build
101     perl createlinks
102    
103    
104     %install
105     /bin/rm -rf $RPM_BUILD_ROOT
106     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
107     /bin/rm -f %{name}-%{version}-filelist
108     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
109    
110     %clean
111     /bin/rm -rf $RPM_BUILD_ROOT
112    
113     %files -f %{name}-%{version}-filelist
114     %defattr(-,root,root)
115    
116     %pre
117     if [[ -f /opt/phpsysinfo/phpsysinfo.ini ]]; then
118     /bin/cp /opt/phpsysinfo/phpsysinfo.ini /opt/phpsysinfo/phpsysinfo.ini-$(date +"%H:%M-%b-%d-%Y")
119     fi
120     %post
121     if ! [[ -f /opt/phpsysinfo/phpsysinfo.ini ]]; then
122     cp /opt/phpsysinfo/phpsysinfo.ini.new /opt/phpsysinfo/phpsysinfo.ini
123     fi

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