2 |
%define name smeserver-php-scl |
%define name smeserver-php-scl |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.4 |
%define version 0.4 |
5 |
%define release 4 |
%define release 15 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
12 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
13 |
BuildArchitectures: x86_64 |
BuildArchitectures: noarch |
14 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
15 |
Requires: scl-utils |
Requires: scl-utils |
16 |
Requires: php54 , php54-php , php54-php-bcmath , php54-php-gd , php54-php-imap , php54-php-ldap , php54-php-enchant |
Requires: php54 , php54-php , php54-php-bcmath , php54-php-gd , php54-php-imap , php54-php-ldap , php54-php-enchant |
17 |
Requires: php54-php-mbstring , php54-php-pdo , php54-php-tidy , php54-php-mysqlnd php54-php-pecl-zip , php54-php-xml |
Requires: php54-php-mbstring , php54-php-pdo , php54-php-tidy , php54-php-mysqlnd php54-php-pecl-zip , php54-php-xml |
18 |
Requires: php54-php-soap , |
Requires: php54-php-soap , php54-php-mcrypt |
19 |
Requires: php55 , php55-php , php55-php-bcmath , php55-php-gd , php55-php-imap , php55-php-ldap , php55-php-enchant |
Requires: php55 , php55-php , php55-php-bcmath , php55-php-gd , php55-php-imap , php55-php-ldap , php55-php-enchant |
20 |
Requires: php55-php-mbstring , php55-php-pdo , php55-php-tidy , php55-php-mysqlnd , php55-php-xml , php55-php-soap |
Requires: php55-php-mbstring , php55-php-pdo , php55-php-tidy , php55-php-mysqlnd , php55-php-xml , php55-php-soap |
21 |
Requires: php55-php-pecl-zip |
Requires: php55-php-pecl-zip , php55-php-mcrypt |
22 |
Requires: php56 , php56-php , php56-php-bcmath , php56-php-gd , php56-php-imap , php56-php-ldap , php56-php-enchant |
Requires: php56 , php56-php , php56-php-bcmath , php56-php-gd , php56-php-imap , php56-php-ldap , php56-php-enchant |
23 |
Requires: php56-php-mbstring , php56-php-pdo , php56-php-tidy , php56-php-mysqlnd , php56-php-xml , php56-php-soap |
Requires: php56-php-mbstring , php56-php-pdo , php56-php-tidy , php56-php-mysqlnd , php56-php-xml , php56-php-soap |
24 |
Requires: php56-php-pecl-zip |
Requires: php56-php-pecl-zip, php56-php-mcrypt |
25 |
|
Requires: php70 , php70-php , php70-php-bcmath , php70-php-gd , php70-php-imap , php70-php-ldap , php70-php-enchant |
26 |
|
Requires: php70-php-mbstring , php70-php-pdo , php70-php-tidy , php70-php-mysqlnd , php70-php-xml , php70-php-soap |
27 |
|
Requires: php70-php-pecl-zip, php70-php-mcrypt, php70-php-pear, php70-php-pecl-mysql |
28 |
|
Requires: php71 , php71-php , php71-php-bcmath , php71-php-gd , php71-php-imap , php71-php-ldap , php71-php-enchant |
29 |
|
Requires: php71-php-mbstring , php71-php-pdo , php71-php-tidy , php71-php-mysqlnd , php71-php-xml , php71-php-soap |
30 |
|
Requires: php71-php-pecl-zip, php71-php-mcrypt, php71-php-pear, php71-php-pecl-mysql |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
Patch0: smeserver-php-scl-0.4.bz9021.addlocales.patch |
33 |
|
Patch1: smeserver-php-scl-0.4-locale-2016-03-09.patch |
34 |
|
Patch2: smeserver-php-scl-0.4.bz9558_PearPath.patch |
35 |
|
Patch3: smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch |
36 |
|
Patch4: smeserver-php-scl-0.4.bz10093-addphp7support.patch |
37 |
|
Patch5: smeserver-php-scl-0.4.bz10343.php7inipath.patch |
38 |
|
Patch6: smeserver-php-scl-0.4.bz10355.php7lib.patch |
39 |
|
Patch7: smeserver-php-scl-0.4.bz10365.php7session.patch |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Tue Jul 04 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-15.sme |
43 |
|
- fix path to php session for php7 [SME: 10365] |
44 |
|
|
45 |
|
* Mon Jun 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-14.sme |
46 |
|
- fix wrong path to 7.0 and 7.1 lib [SME: 10355] |
47 |
|
|
48 |
|
* Fri Jun 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-12.sme |
49 |
|
- fix wrong path for php7* php.ini template [SME: 10343] |
50 |
|
|
51 |
|
* Fri Apr 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-11.sme |
52 |
|
- added php70 and php71 support [SME: 10093] |
53 |
|
|
54 |
|
* Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-8.sme |
55 |
|
- Added Require php5{4,5,6}-php-mcrypt [SME: 9701] |
56 |
|
|
57 |
|
* Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-7.sme |
58 |
|
- Added path to /usr/share/pear : smeserver-php-scl-0.4.bz9558_PearPath.patch |
59 |
|
- Added specific path for soap cache and save session : smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch |
60 |
|
|
61 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.4-6.sme |
62 |
|
- apply locale 2016-03-09 patch |
63 |
|
- changing arc from x86_64 to noarch [SME: 9021] |
64 |
|
|
65 |
|
* Wed Sep 2 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-5.sme |
66 |
|
- added smeserver-php-scl-0.4.bz9021.addlocales.patch |
67 |
|
|
68 |
|
* Wed Jun 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-4.sme |
69 |
|
- Initial release to sme9contribs |
70 |
|
|
71 |
* Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-3 |
* Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-3 |
72 |
- Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini |
- Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini |
73 |
|
|
94 |
|
|
95 |
%prep |
%prep |
96 |
%setup |
%setup |
97 |
|
%patch0 -p1 |
98 |
|
%patch1 -p1 |
99 |
|
%patch2 -p1 |
100 |
|
%patch3 -p1 |
101 |
|
%patch4 -p1 |
102 |
|
%patch5 -p1 |
103 |
|
%patch6 -p1 |
104 |
|
%patch7 -p1 |
105 |
|
|
106 |
%build |
%build |
107 |
perl createlinks |
perl createlinks |
114 |
--file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \ |
--file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \ |
115 |
--file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \ |
--file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \ |
116 |
--file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \ |
--file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \ |
117 |
|
--file /usr/bin/phpscl/php70_REMI 'attr(0770,root,www)' \ |
118 |
|
--file /usr/bin/phpscl/php71_REMI 'attr(0770,root,www)' \ |
119 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
120 |
|
|
121 |
|
|