1 |
stephdl |
1.1 |
Summary: SME server php REMI scl |
2 |
|
|
%define name smeserver-php-scl |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 0.4 |
5 |
stephdl |
1.6 |
%define release 8 |
6 |
stephdl |
1.1 |
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
|
|
Group: Administration |
10 |
|
|
Source: %{name}-%{version}.tar.gz |
11 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
12 |
|
|
BuildRequires: e-smith-devtools |
13 |
unnilennium |
1.4 |
BuildArchitectures: noarch |
14 |
stephdl |
1.1 |
Requires: e-smith-release >= 9.0 |
15 |
|
|
Requires: scl-utils |
16 |
|
|
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 |
18 |
stephdl |
1.6 |
Requires: php54-php-soap , php54-php-mcrypt |
19 |
stephdl |
1.1 |
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 |
21 |
stephdl |
1.6 |
Requires: php55-php-pecl-zip , php55-php-mcrypt |
22 |
stephdl |
1.1 |
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 |
24 |
stephdl |
1.6 |
Requires: php56-php-pecl-zip, php56-php-mcrypt |
25 |
stephdl |
1.1 |
AutoReqProv: no |
26 |
stephdl |
1.3 |
Patch0: smeserver-php-scl-0.4.bz9021.addlocales.patch |
27 |
unnilennium |
1.4 |
Patch1: smeserver-php-scl-0.4-locale-2016-03-09.patch |
28 |
stephdl |
1.5 |
Patch2: smeserver-php-scl-0.4.bz9558_PearPath.patch |
29 |
|
|
Patch3: smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch |
30 |
unnilennium |
1.4 |
|
31 |
stephdl |
1.5 |
%changelog |
32 |
stephdl |
1.6 |
* Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-8.sme |
33 |
|
|
- Added Require php5{4,5,6}-php-mcrypt [SME: 9701] |
34 |
|
|
|
35 |
stephdl |
1.5 |
* Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-7.sme |
36 |
|
|
- Added path to /usr/share/pear : smeserver-php-scl-0.4.bz9558_PearPath.patch |
37 |
|
|
- Added specific path for soap cache and save session : smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch |
38 |
stephdl |
1.1 |
|
39 |
unnilennium |
1.4 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.4-6.sme |
40 |
|
|
- apply locale 2016-03-09 patch |
41 |
|
|
- changing arc from x86_64 to noarch [SME: 9021] |
42 |
|
|
|
43 |
stephdl |
1.3 |
* Wed Sep 2 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-5.sme |
44 |
|
|
- added smeserver-php-scl-0.4.bz9021.addlocales.patch |
45 |
|
|
|
46 |
|
|
* Wed Jun 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-4.sme |
47 |
|
|
- Initial release to sme9contribs |
48 |
|
|
|
49 |
stephdl |
1.1 |
* Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-3 |
50 |
|
|
- Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini |
51 |
|
|
|
52 |
|
|
* Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-2 |
53 |
|
|
- Added a Panel to select the php version in PHP-mod |
54 |
|
|
|
55 |
|
|
* Sat Feb 07 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-1 |
56 |
|
|
- Switch to remi repository {php54,php55,php56} |
57 |
|
|
- Added a Panel for ibay php version |
58 |
|
|
|
59 |
|
|
* Sun Nov 9 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-3 |
60 |
|
|
- Added a db to load the php54-mod in apache |
61 |
|
|
- New php settings in php.ini |
62 |
|
|
- Added default db values |
63 |
|
|
|
64 |
|
|
* Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-1 |
65 |
|
|
- Added php55 |
66 |
|
|
|
67 |
|
|
* Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-1 |
68 |
|
|
- Initial release to sme9 |
69 |
|
|
|
70 |
|
|
%description |
71 |
|
|
Allow to use different versions of php whith a cgi script. |
72 |
|
|
|
73 |
|
|
%prep |
74 |
|
|
%setup |
75 |
stephdl |
1.3 |
%patch0 -p1 |
76 |
unnilennium |
1.4 |
%patch1 -p1 |
77 |
stephdl |
1.5 |
%patch2 -p1 |
78 |
|
|
%patch3 -p1 |
79 |
unnilennium |
1.4 |
|
80 |
stephdl |
1.1 |
|
81 |
|
|
%build |
82 |
|
|
perl createlinks |
83 |
|
|
|
84 |
|
|
%install |
85 |
|
|
rm -rf $RPM_BUILD_ROOT |
86 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
87 |
|
|
rm -f %{name}-%{version}-filelist |
88 |
|
|
/sbin/e-smith/genfilelist \ |
89 |
|
|
--file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \ |
90 |
|
|
--file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \ |
91 |
|
|
--file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \ |
92 |
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
93 |
|
|
|
94 |
|
|
|
95 |
|
|
%clean |
96 |
|
|
rm -rf $RPM_BUILD_ROOT |
97 |
|
|
|
98 |
|
|
%pre |
99 |
|
|
|
100 |
|
|
%preun |
101 |
|
|
|
102 |
|
|
%post |
103 |
|
|
|
104 |
|
|
%postun |
105 |
|
|
|
106 |
|
|
%files -f %{name}-%{version}-filelist |
107 |
|
|
%defattr(-,root,root) |
108 |
|
|
|