1 |
Summary: SME server php REMI scl |
2 |
%define name smeserver-php-scl |
3 |
Name: %{name} |
4 |
%define version 0.4 |
5 |
%define release 4 |
6 |
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 |
BuildArchitectures: x86_64 |
14 |
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 |
Requires: php54-php-soap , |
19 |
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 |
Requires: php55-php-pecl-zip |
22 |
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 |
Requires: php56-php-pecl-zip |
25 |
AutoReqProv: no |
26 |
|
27 |
%changelog |
28 |
* Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-3 |
29 |
- Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini |
30 |
|
31 |
* Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-2 |
32 |
- Added a Panel to select the php version in PHP-mod |
33 |
|
34 |
* Sat Feb 07 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-1 |
35 |
- Switch to remi repository {php54,php55,php56} |
36 |
- Added a Panel for ibay php version |
37 |
|
38 |
* Sun Nov 9 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-3 |
39 |
- Added a db to load the php54-mod in apache |
40 |
- New php settings in php.ini |
41 |
- Added default db values |
42 |
|
43 |
* Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-1 |
44 |
- Added php55 |
45 |
|
46 |
* Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-1 |
47 |
- Initial release to sme9 |
48 |
|
49 |
%description |
50 |
Allow to use different versions of php whith a cgi script. |
51 |
|
52 |
%prep |
53 |
%setup |
54 |
|
55 |
%build |
56 |
perl createlinks |
57 |
|
58 |
%install |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
61 |
rm -f %{name}-%{version}-filelist |
62 |
/sbin/e-smith/genfilelist \ |
63 |
--file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \ |
64 |
--file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \ |
65 |
--file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \ |
66 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
67 |
|
68 |
|
69 |
%clean |
70 |
rm -rf $RPM_BUILD_ROOT |
71 |
|
72 |
%pre |
73 |
|
74 |
%preun |
75 |
|
76 |
%post |
77 |
|
78 |
%postun |
79 |
|
80 |
%files -f %{name}-%{version}-filelist |
81 |
%defattr(-,root,root) |
82 |
|