1 |
# $Id: smeserver-phpmyadmin.spec,v 1.5 2020/12/16 12:16:02 jcrisp Exp $ |
# $Id: smeserver-phpmyadmin.spec,v 1.6 2020/12/17 12:53:08 jcrisp Exp $ |
2 |
# Authority: darrellmay |
# Authority: darrellmay |
3 |
# Name: Darrell May |
# Name: Darrell May |
4 |
|
|
6 |
%define name smeserver-phpmyadmin |
%define name smeserver-phpmyadmin |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 4.0.10.2 |
%define version 4.0.10.2 |
9 |
%define release 7 |
%define release 8 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
26 |
|
|
27 |
Patch0: smeserver-phpmyadmin-4.0.10.2-Update-httpd-for-php-fpw-and-add-unit-file.patch |
Patch0: smeserver-phpmyadmin-4.0.10.2-Update-httpd-for-php-fpw-and-add-unit-file.patch |
28 |
Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch |
Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch |
29 |
|
Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch |
30 |
|
|
31 |
%description |
%description |
32 |
Implementation of phpMyAdmin for SME Server. |
Implementation of phpMyAdmin for SME Server. |
33 |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme |
37 |
|
- add php pool template and remove disable unit.ini |
38 |
|
- Fix version to PHP73 - any higher needs a newer version of phpMyAdmin |
39 |
|
|
40 |
* Thu Dec 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-7.sme |
* Thu Dec 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-7.sme |
41 |
- fix BlowfishSecret [SME: 11043] |
- fix BlowfishSecret [SME: 11043] |
42 |
- Update minimum e-smith release version |
- Update minimum e-smith release version |
133 |
%setup |
%setup |
134 |
%patch0 -p1 |
%patch0 -p1 |
135 |
%patch1 -p1 |
%patch1 -p1 |
136 |
|
%patch2 -p1 |
137 |
|
|
138 |
%build |
%build |
139 |
%{__mkdir_p} root/var/lib/phpMyAdmin/tmp |
%{__mkdir_p} root/var/lib/phpMyAdmin/tmp |
146 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
147 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
148 |
--dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ |
--dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ |
149 |
|
--dir /var/log/php/phpmyadmin 'attr(0755,www,www)' \ |
150 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
151 |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
152 |
echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist |
echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist |