152 lines
4.9 KiB
RPMSpec
152 lines
4.9 KiB
RPMSpec
# $Id: smeserver-phpsysinfo.spec,v 1.4 2022/08/01 03:32:28 jpp Exp $
|
|
# Authority: darrellmay
|
|
# Name: Darrell May
|
|
|
|
Summary: phpSysInfo for SME Server
|
|
%define name smeserver-phpsysinfo
|
|
Name: %{name}
|
|
%define version 3.2.3
|
|
%define release 8
|
|
Version: %{version}
|
|
Release: %{release}%{?dist}
|
|
License: GPL
|
|
Group: SME/addon
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
URL: http://phpsysinfo.sourceforge.net
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
|
BuildArchitectures: noarch
|
|
Requires: smeserver-release >= 10.0
|
|
Requires: smeserver-apache >= 2.6.0-19
|
|
Requires: hddtemp lm_sensors
|
|
BuildRequires: smeserver-devtools
|
|
AutoReqProv: no
|
|
|
|
%description
|
|
%name is an implementation of phpSysInfo on SME Server.
|
|
Access with admin login credentials via https://yourdomain/phpsysinfo
|
|
|
|
%changelog
|
|
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 3.2.3-8.sme
|
|
- Fix e-smith references in smeserver-phpsysinfo [SME: 12732]
|
|
|
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 3.2.3-7.sme
|
|
- Roll up patches and move to git repo [SME: 12338]
|
|
|
|
* Sat Sep 07 2024 BogusDateBot
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
|
by assuming the date is correct and changing the weekday.
|
|
|
|
* Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.2.3-6.sme
|
|
- update to httpd 2.4 access syntax [SME: 12057]
|
|
removed compatibnility, added Requires e-smith-apache >= 2.6.0-19
|
|
|
|
* Sun Jul 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.2.3-5.sme
|
|
- update to httpd 2.4 access syntax [SME: 12057]
|
|
|
|
* Wed Apr 07 2021 Brian Read <brianr@bjsystems.co.uk> 3.2.3-4.sme
|
|
- Add Update event to createlinks [SME: 11054]
|
|
|
|
* Wed Apr 07 2021 BogusDateBot
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
|
by assuming the date is correct and changing the weekday.
|
|
Thu May 30 2001 --> Thu May 24 2001 or Wed May 30 2001 or Thu May 31 2001 or ....
|
|
Wed Sep 22 2015 --> Wed Sep 16 2015 or Tue Sep 22 2015 or Wed Sep 23 2015 or ....
|
|
|
|
* Sun Jan 20 2019 Jean-Philipe Pialasse <tests@pialasse.com> 3.2.3-3.sme
|
|
- Add Update event to createlinks process formating [SME: 10329]
|
|
|
|
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.2.3-1.sme
|
|
Wed Sep 22 2015 --> Wed Sep 16 2015 or Tue Sep 22 2015 or Wed Sep 23 2015 or ....
|
|
- Upgrade to upstream 3.2.3
|
|
- Require hddtemp lm_sensors
|
|
|
|
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 3.1.13-1.sme
|
|
- Initial release to sme9
|
|
- upgrade of phpsysinfo to 3.1.13 https://github.com/phpsysinfo/phpsysinfo/releases/tag/v3.1.13
|
|
- added a menu in the administration panel of server-manager
|
|
|
|
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com>
|
|
- Prep for import into buildsys
|
|
- Clean up spec
|
|
|
|
* Fri Oct 19 2007 Darrell May <dmay@myezserver.com>
|
|
- accounts and configuration db phpsysinfo defaults added
|
|
- default access restricted to private (private|public)
|
|
- phpsysinfo-2.5.4
|
|
- [2.5.4-0dmay]
|
|
* Mon Apr 09 2007 Darrell May <dmay@myezserver.com>
|
|
- [2.5.3-1dmay]
|
|
* Sun Apr 01 2007 Darrell May <dmay@myezserver.com>
|
|
- phpsysinfo-2.5.3
|
|
- [2.5.3-0dmay]
|
|
* Tue Jan 02 2007 Darrell May <dmay@myezserver.com>
|
|
- phpsysinfo-2.5.2
|
|
- [2.5.2-0]
|
|
* Fri Aug 04 2006 Darrell May <dmay@myezserver.com>
|
|
- phpsysinfo-2.5.2-rc3
|
|
- [2.5.2-rc3]
|
|
* Wed Dec 14 2005 Darrell May <dmay@myezserver.com>
|
|
- phpsysinfo-2.5
|
|
- [2.5-0]
|
|
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com>
|
|
- added support for SME Server 7.x
|
|
- [2.3-2]
|
|
* Mon Nov 15 2004 Darrell May <dmay@myezserver.com>
|
|
- updated to release 2.3
|
|
- renamed smeserver-phpsysinfo
|
|
- updated includes/os/class.Linux.inc.php to recognize SME Server
|
|
- [2.3-1]
|
|
* Sat Jun 29 2002 Darrell May <dmay@netsourced.com>
|
|
- updated to release 2.1
|
|
- [2.1-1]
|
|
* Sun Mar 10 2002 Darrell May <dmay@netsourced.com>
|
|
- updated to release 2.0
|
|
- [2.0-1]
|
|
* Sun Mar 10 2002 Darrell May <dmay@netsourced.com>
|
|
- changed rights/ownership to tighten security
|
|
- [1.9-2]
|
|
* Tue Mar 05 2002 Darrell May <dmay@netsourced.com>
|
|
- changed %post/postun to graceful
|
|
- [1.9-1]
|
|
* Mon Jan 21 2002 Darrell May <dmay@netsourced.com>
|
|
- updated to version 1.9
|
|
- [1.9-0]
|
|
* Wed Oct 31 2001 Darrell May <dmay@netsourced.com>
|
|
- updated to version 1.8
|
|
- [1.8-0]
|
|
* Sun Sep 23 2001 Darrell May <dmay@netsourced.com>
|
|
- name change
|
|
* Wed May 30 2001 Darrell May <dmay@netsourced.com>
|
|
Thu May 30 2001 --> Thu May 24 2001 or Wed May 30 2001 or Thu May 31 2001 or ....
|
|
- 2.1.0-1
|
|
- Original version
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
perl createlinks
|
|
|
|
|
|
%install
|
|
/bin/rm -rf $RPM_BUILD_ROOT
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
|
|
/bin/rm -f %{name}-%{version}-filelist
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
|
|
|
|
%clean
|
|
/bin/rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}-%{version}-filelist
|
|
%defattr(-,root,root)
|
|
|
|
%pre
|
|
if [[ -f /opt/phpsysinfo/phpsysinfo.ini ]]; then
|
|
/bin/cp /opt/phpsysinfo/phpsysinfo.ini /opt/phpsysinfo/phpsysinfo.ini-$(date +"%H:%M-%b-%d-%Y")
|
|
fi
|
|
%post
|
|
if ! [[ -f /opt/phpsysinfo/phpsysinfo.ini ]]; then
|
|
cp /opt/phpsysinfo/phpsysinfo.ini.new /opt/phpsysinfo/phpsysinfo.ini
|
|
fi
|