1 |
# $Id: e-smith-php.spec,v 1.1 2016/02/05 22:11:07 stephdl Exp $ |
# $Id: e-smith-php.spec,v 1.5 2016/06/23 04:50:32 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith specific PHP configuration and templates. |
Summary: e-smith specific PHP configuration and templates. |
4 |
%define name e-smith-php |
%define name e-smith-php |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 2 |
%define release 4 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-php-2.6.0-allow_call_time_pass_reference.patch |
Patch0: e-smith-php-2.6.0-allow_call_time_pass_reference.patch |
14 |
|
Patch1: e-smith-php-2.6.0_add_upload_tmp_folder.patch |
15 |
|
Patch2: e-smith-php-2.6.0-add_session_folder.patch |
16 |
|
Patch3: e-smith-php-2.6.0-default_session_folder.patch |
17 |
|
Patch4: e-smith-php-2.6.0-tmpwatch.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-base, php >= 4.0.1 |
Requires: e-smith-base, php >= 4.0.1 |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Sun Jun 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
27 |
|
- clean daily session and tmp folders [SME: 9626] |
28 |
|
- updated path for ibays' session and tmp folders to /var/cache |
29 |
|
|
30 |
|
* Thu Jun 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
31 |
|
- add tmp folder to ibays [SME: 7011] |
32 |
|
- add session folder to ibays [SME: 9620] |
33 |
|
- change global session folder from /tmp to /var/lib/php/session/ [SME: 139] |
34 |
|
|
35 |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
36 |
- remove deprecated allow_call_time_pass_reference from php.ini [SME: 9416] |
- remove deprecated allow_call_time_pass_reference from php.ini [SME: 9416] |
37 |
|
|
374 |
%prep |
%prep |
375 |
%setup |
%setup |
376 |
%patch0 -p1 |
%patch0 -p1 |
377 |
|
%patch1 -p1 |
378 |
|
%patch2 -p1 |
379 |
|
%patch3 -p1 |
380 |
|
%patch4 -p1 |
381 |
|
|
382 |
|
|
383 |
%build |
%build |
384 |
perl createlinks |
perl createlinks |