/[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.3 - (hide annotations) (download)
Sun Jul 24 04:38:12 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-phpsysinfo-3_2_3-5_el7_sme
Changes since 1.2: +8 -2 lines
* Sun Jul 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.2.3-5.sme
- update to httpd 2.4 access syntax [SME: 12057]

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

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