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

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

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


Revision 1.1 - (hide annotations) (download)
Sun Jan 20 06:30:36 2019 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-phpsysinfo-3_2_3-1_el6_sme
import from stephdl

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

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