1 |
# $Id: smeserver-phpmyadmin.spec,v 1.1 2020/04/13 11:23:29 jpp Exp $ |
# $Id: smeserver-phpmyadmin.spec,v 1.8 2020/12/22 13:51:37 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 4 |
%define release 9 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: e-smith-base |
Requires: e-smith-base |
19 |
Requires: phpMyAdmin >= 4.4.15.10 |
Requires: phpMyAdmin >= 4.4.15.10 |
20 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
21 |
Obsoletes: phpmyadmin,phpMyAdmin3 |
Obsoletes: phpmyadmin,phpMyAdmin3 |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
Obsoletes: e-smith-phpmyadmin |
Obsoletes: e-smith-phpmyadmin |
24 |
Obsoletes: smeserver-phpmyadmin <= 3.5.2.2-1 |
Obsoletes: smeserver-phpmyadmin <= 3.5.2.2-1 |
25 |
Obsoletes: smeserver-phpmyadmin-multiuser |
Obsoletes: smeserver-phpmyadmin-multiuser |
26 |
|
|
27 |
|
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 |
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 |
|
* Wed Dec 23 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-9.sme |
37 |
|
- Bump the the version to fix the tags and apply last patch |
38 |
|
|
39 |
|
* Tue Dec 22 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme |
40 |
|
- add php pool template, disable unit.ini, restore httpauth [SME: 11043] |
41 |
|
- Fix version to PHP73 - any higher needs a newer version of phpMyAdmin |
42 |
|
|
43 |
|
* Thu Dec 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-7.sme |
44 |
|
- fix BlowfishSecret [SME: 11043] |
45 |
|
- Update minimum e-smith release version |
46 |
|
|
47 |
|
* Wed Dec 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-6.sme |
48 |
|
- fix patch file typo [SME: 11043] |
49 |
|
|
50 |
|
* Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 4.0.10.2-5.sme |
51 |
|
- Change httpd frament to php-fpw and add in .user.ini to set php vars [SME: 11043] |
52 |
|
|
53 |
* Mon Apr 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-4.sme |
* Mon Apr 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-4.sme |
54 |
- first import for contribs10 |
- first import for contribs10 |
55 |
|
|
134 |
|
|
135 |
%prep |
%prep |
136 |
%setup |
%setup |
137 |
|
%patch0 -p1 |
138 |
|
%patch1 -p1 |
139 |
|
%patch2 -p1 |
140 |
|
|
141 |
%build |
%build |
142 |
%{__mkdir_p} root/var/lib/phpMyAdmin/tmp |
%{__mkdir_p} root/var/lib/phpMyAdmin/tmp |
149 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
150 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
151 |
--dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ |
--dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ |
152 |
|
--dir /var/log/php/phpmyadmin 'attr(0755,www,www)' \ |
153 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
154 |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
155 |
echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist |
echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist |