/[smecontribs]/rpms/smeserver-php-fpm/contribs9/smeserver-php-fpm.spec
ViewVC logotype

Diff of /rpms/smeserver-php-fpm/contribs9/smeserver-php-fpm.spec

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

Revision 1.1 by jpp, Mon Dec 16 18:38:47 2019 UTC Revision 1.2 by jpp, Mon Dec 16 18:56:19 2019 UTC
# Line 1  Line 1 
1  %define version 0.1.1  %define version 0.1.1
2  %define release 1  %define release 2
3  %define name smeserver-php-fpm  %define name smeserver-php-fpm
4    
5    
# Line 10  Release: %{release}%{?dist} Line 10  Release: %{release}%{?dist}
10  License: MIT  License: MIT
11  Group: Applications/System  Group: Applications/System
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13    Patch0: smeserver-php-fpm-0.1.1.bz10851-php72php73.patch
14    
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArch: x86_64  BuildArch: x86_64
# Line 105  Requires: php71-php-pear Line 106  Requires: php71-php-pear
106  Requires: php71-php-process  Requires: php71-php-process
107  Requires: php71-php-snmp  Requires: php71-php-snmp
108    
109    # PHP 7.2
110    Requires: php72-php-cli
111    Requires: php72-php-ldap
112    Requires: php72-php-imap
113    Requires: php72-php-gd
114    Requires: php72-php-xml
115    Requires: php72-php-xmlrpc
116    Requires: php72-php-soap
117    Requires: php72-php-opcache
118    Requires: php72-php-fpm
119    Requires: php72-php-mbstring
120    Requires: php72-php-mysql
121    Requires: php72-php-json
122    Requires: php72-php-bcmath
123    Requires: php72-php-intl
124    Requires: php72-php-mcrypt
125    Requires: php72-php-pear
126    Requires: php72-php-process
127    Requires: php72-php-snmp
128    
129    # PHP 7.3
130    Requires: php73-php-cli
131    Requires: php73-php-ldap
132    Requires: php73-php-imap
133    Requires: php73-php-gd
134    Requires: php73-php-xml
135    Requires: php73-php-xmlrpc
136    Requires: php73-php-soap
137    Requires: php73-php-opcache
138    Requires: php73-php-fpm
139    Requires: php73-php-mbstring
140    Requires: php73-php-mysql
141    Requires: php73-php-json
142    Requires: php73-php-bcmath
143    Requires: php73-php-intl
144    Requires: php73-php-mcrypt
145    Requires: php73-php-pear
146    Requires: php73-php-process
147    Requires: php73-php-snmp
148  %description  %description
149  Manage PHP FPM pools, and switch between PHP versions easily  Manage PHP FPM pools, and switch between PHP versions easily
150    
151  %prep  %prep
152  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
153    %patch0 -p1
154    
155  %build  %build
156  perl createlinks  perl createlinks
# Line 122  perl createlinks Line 163  perl createlinks
163  %{__mkdir_p} root/var/lib/php/php70/{session,tmp,opcache,wsdlcache}  %{__mkdir_p} root/var/lib/php/php70/{session,tmp,opcache,wsdlcache}
164  %{__mkdir_p} root/var/log/php/php71/  %{__mkdir_p} root/var/log/php/php71/
165  %{__mkdir_p} root/var/lib/php/php71/{session,tmp,opcache,wsdlcache}  %{__mkdir_p} root/var/lib/php/php71/{session,tmp,opcache,wsdlcache}
166    %{__mkdir_p} root/var/log/php/php72/
167    %{__mkdir_p} root/var/lib/php/php72/{session,tmp,opcache,wsdlcache}
168    %{__mkdir_p} root/var/log/php/php73/
169    %{__mkdir_p} root/var/lib/php/php73/{session,tmp,opcache,wsdlcache}
170    
171  %install  %install
172  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
# Line 148  perl createlinks Line 193  perl createlinks
193    --dir /var/lib/php/php71/tmp 'attr(0770,root,www)' \    --dir /var/lib/php/php71/tmp 'attr(0770,root,www)' \
194    --dir /var/lib/php/php71/opcache 'attr(0770,root,www)' \    --dir /var/lib/php/php71/opcache 'attr(0770,root,www)' \
195    --dir /var/lib/php/php71/wsdlcache 'attr(0770,root,www)' \    --dir /var/lib/php/php71/wsdlcache 'attr(0770,root,www)' \
196      --dir /var/log/php/php72/ 'attr(0770,root,www)' \
197      --dir /var/lib/php/php72/session 'attr(0770,root,www)' \
198      --dir /var/lib/php/php72/tmp 'attr(0770,root,www)' \
199      --dir /var/lib/php/php72/opcache 'attr(0770,root,www)' \
200      --dir /var/lib/php/php72/wsdlcache 'attr(0770,root,www)' \
201      --dir /var/log/php/php73/ 'attr(0770,root,www)' \
202      --dir /var/lib/php/php73/session 'attr(0770,root,www)' \
203      --dir /var/lib/php/php73/tmp 'attr(0770,root,www)' \
204      --dir /var/lib/php/php73/opcache 'attr(0770,root,www)' \
205      --dir /var/lib/php/php73/wsdlcache 'attr(0770,root,www)' \
206    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist
207    
208  %clean  %clean
# Line 163  rm -rf $RPM_BUILD_ROOT Line 218  rm -rf $RPM_BUILD_ROOT
218  %preun  %preun
219    
220  %changelog  %changelog
221    * Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.1-2.sme
222    - import to mecontribs
223    - add php72 and php73 fix [SME: 10851]
224    
225  * Thu Jul 27 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1.sme  * Thu Jul 27 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1.sme
226  - Fix closing parenthesis on prop method in httpd template  - Fix closing parenthesis on prop method in httpd template
227    


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