/[smecontribs]/rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin.spec
ViewVC logotype

Diff of /rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin.spec

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

Revision 1.9 by jcrisp, Wed Dec 23 12:02:57 2020 UTC Revision 1.15 by jpp, Sun Jul 24 03:59:04 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-phpmyadmin.spec,v 1.8 2020/12/22 13:51:37 jcrisp Exp $  # $Id: smeserver-phpmyadmin.spec,v 1.14 2021/02/28 14:18:21 jpp Exp $
2  # Authority: darrellmay  # Authority: darrellmay
3  # Name: Darrell May  # Name: Darrell May
4    
# Line 6  Summary: phpMyAdmin for SME Server Line 6  Summary: phpMyAdmin for SME Server
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 9  %define release 12
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 27  Obsoletes: smeserver-phpmyadmin-multiuse Line 27  Obsoletes: smeserver-phpmyadmin-multiuse
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  Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch
30    Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch
31    Patch4: smeserver-phpmyadmin-4.0.10.2-bz11408-httpport.patch
32    
33  %description  %description
34  Implementation of phpMyAdmin for SME Server.  Implementation of phpMyAdmin for SME Server.
35  Access with admin username/password via: https://yourdomain/phpmyadmin.  Access with admin username/password via: https://yourdomain/phpmyadmin.
36    
37  %changelog  %changelog
38  * Wed Dec 23 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-9.sme  * Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-12.sme
39  - Bump the the version to fix the tags and apply last patch  - use $httpPort in place of hardcoded port 80 [SME: 11408]
40    
41  * Tue Dec 22 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme  * Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-11.sme
42  - add php pool template, disable unit.ini, restore httpauth [SME: 11043]  - finish php74 pool integration [SME: 11043]
43  - Fix version to PHP73 - any higher needs a newer version of phpMyAdmin    fixed dir perms
44    
45    * Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme
46    - add php pool template and remove disable unit.ini
47    
48  * 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
49  - fix BlowfishSecret [SME: 11043]  - fix BlowfishSecret [SME: 11043]
# Line 137  Access with admin username/password via: Line 142  Access with admin username/password via:
142  %patch0 -p1  %patch0 -p1
143  %patch1 -p1  %patch1 -p1
144  %patch2 -p1  %patch2 -p1
145    %patch3 -p1
146    %patch4 -p1
147    
148  %build  %build
149  %{__mkdir_p} root/var/lib/phpMyAdmin/tmp  %{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache}
150    %{__mkdir_p} root/var/log/php/phpmyadmin
151  perl createlinks  perl createlinks
152    
153  %install  %install
# Line 148  rm -f %{name}-%{version}-filelist Line 156  rm -f %{name}-%{version}-filelist
156  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
157  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
158  /sbin/e-smith/genfilelist  \  /sbin/e-smith/genfilelist  \
159      --dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \      --dir /var/lib/php/phpmyadmin/ 'attr(0755,root,www)' \
160      --dir /var/log/php/phpmyadmin  'attr(0755,www,www)' \      --dir /var/lib/php/phpmyadmin/tmp 'attr(0770,www,www)' \
161        --dir /var/lib/php/phpmyadmin/opcache 'attr(0770,www,www)' \
162        --dir /var/lib/php/phpmyadmin/session 'attr(0770,www,www)' \
163        --dir /var/lib/php/phpmyadmin/wsdlcache 'attr(0770,www,www)' \
164        --dir /var/log/php/phpmyadmin  'attr(0770,root,www)' \
165      $RPM_BUILD_ROOT > %{name}-%{version}-filelist      $RPM_BUILD_ROOT > %{name}-%{version}-filelist
166  echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist  echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist
167  echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist  echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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