/[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.2 by jpp, Mon Apr 13 11:28:16 2020 UTC Revision 1.14 by jpp, Sun Feb 28 14:18:21 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-phpmyadmin.spec,v 1.1 2020/04/13 11:23:29 jpp Exp $  # $Id: smeserver-phpmyadmin.spec,v 1.13 2021/02/28 08:25:09 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 4  %define release 11
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 17  BuildRoot: /var/tmp/%{name}-%{version}-% Line 17  BuildRoot: /var/tmp/%{name}-%{version}-%
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    Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch
31    
32  %description  %description
33  Implementation of phpMyAdmin for SME Server.  Implementation of phpMyAdmin for SME Server.
34  Access with admin username/password via: https://yourdomain/phpmyadmin.  Access with admin username/password via: https://yourdomain/phpmyadmin.
35    
36  %changelog  %changelog
37    * Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-11.sme
38    - finish php74 pool integration [SME: 11043]
39      fixed dir perms
40    
41    * Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme
42    - add php pool template and remove disable unit.ini
43    
44    * Thu Dec 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-7.sme
45    - fix BlowfishSecret [SME: 11043]
46    - Update minimum e-smith release version
47    
48    * Wed Dec 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-6.sme
49    - fix patch file typo [SME: 11043]
50    
51    * Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 4.0.10.2-5.sme
52    - Change httpd frament to php-fpw and add in .user.ini to set php vars  [SME: 11043]
53    
54  * 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
55  - first import for contribs10  - first import for contribs10
56    
# Line 113  Access with admin username/password via: Line 135  Access with admin username/password via:
135    
136  %prep  %prep
137  %setup  %setup
138    %patch0 -p1
139    %patch1 -p1
140    %patch2 -p1
141    %patch3 -p1
142    
143  %build  %build
144  %{__mkdir_p} root/var/lib/phpMyAdmin/tmp  %{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache}
145    %{__mkdir_p} root/var/log/php/phpmyadmin
146  perl createlinks  perl createlinks
147    
148  %install  %install
# Line 124  rm -f %{name}-%{version}-filelist Line 151  rm -f %{name}-%{version}-filelist
151  (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)
152  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
153  /sbin/e-smith/genfilelist  \  /sbin/e-smith/genfilelist  \
154      --dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \      --dir /var/lib/php/phpmyadmin/ 'attr(0755,root,www)' \
155        --dir /var/lib/php/phpmyadmin/tmp 'attr(0770,www,www)' \
156        --dir /var/lib/php/phpmyadmin/opcache 'attr(0770,www,www)' \
157        --dir /var/lib/php/phpmyadmin/session 'attr(0770,www,www)' \
158        --dir /var/lib/php/phpmyadmin/wsdlcache 'attr(0770,www,www)' \
159        --dir /var/log/php/phpmyadmin  'attr(0770,root,www)' \
160      $RPM_BUILD_ROOT > %{name}-%{version}-filelist      $RPM_BUILD_ROOT > %{name}-%{version}-filelist
161  echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist  echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist
162  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