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

Contents of /rpms/smeserver-php-scl/contribs9/smeserver-php-scl.spec

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


Revision 1.24 - (show annotations) (download)
Sun Jul 21 03:26:14 2019 UTC (4 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-scl-0_4-25_el6_sme, HEAD
Changes since 1.23: +3 -3 lines
* Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-25.sme
- default all php options to main php version values [SME: 10774]
  for all versions. Idea and code from Michael McCarn.

1 Summary: SME server php REMI scl
2 %define name smeserver-php-scl
3 Name: %{name}
4 %define version 0.4
5 %define release 25
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: noarch
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 , php54-php-mcrypt
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 , php55-php-mcrypt
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, 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
32 Requires: php72 , php72-php , php72-php-bcmath , php72-php-gd , php72-php-imap , php72-php-ldap , php72-php-enchant
33 Requires: php72-php-mbstring , php72-php-pdo , php72-php-tidy , php72-php-mysqlnd , php72-php-xml , php72-php-soap
34 Requires: php72-php-pecl-zip, php72-php-pecl-mcrypt, php72-php-pear, php72-php-pecl-mysql
35
36 Requires: php73 , php73-php , php73-php-bcmath , php73-php-gd , php73-php-imap , php73-php-ldap , php73-php-enchant
37 Requires: php73-php-mbstring , php73-php-pdo , php73-php-tidy , php73-php-mysqlnd , php73-php-xml , php73-php-soap
38 Requires: php73-php-pecl-zip, php73-php-pear, php73-php-pecl-mysql
39 # Requires: php73-php-pecl-mcrypt
40 # removed from php73 : mcrypt not supported, only in remi not remi safe
41
42 AutoReqProv: no
43 Patch0: smeserver-php-scl-0.4.bz9021.addlocales.patch
44 Patch1: smeserver-php-scl-0.4-locale-2016-03-09.patch
45 Patch2: smeserver-php-scl-0.4.bz9558_PearPath.patch
46 Patch3: smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch
47 Patch4: smeserver-php-scl-0.4.bz10093-addphp7support.patch
48 Patch5: smeserver-php-scl-0.4.bz10343.php7inipath.patch
49 Patch6: smeserver-php-scl-0.4.bz10355.php7lib.patch
50 Patch7: smeserver-php-scl-0.4.bz10365.php7session.patch
51 Patch8: smeserver-php-scl-0.4-locale-2017-12-02.patch
52 Patch9: smeserver-php-scl-0.4.bz10618-soaptemplate.patch
53 Patch10: smeserver-php-scl-0.4.bz10508-addphp72support.patch
54 Patch11: smeserver-php-scl-0.4.bz10508-addphp73support.patch
55 Patch12: smeserver-php-scl-0.4.bz10508-translation.patch
56 Patch13: smeserver-php-scl-0.4-locale-2018-12-14.patch
57 Patch14: smeserver-php-scl-0.4-locale-2018-12-23.patch
58 Patch15: smeserver-php-scl-0.4.bz10665-horde3-vs-php7.patch
59 Patch16: smeserver-php-scl-0.4-bz10774-default-to-global.patch
60
61 %changelog
62 * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-25.sme
63 - default all php options to main php version values [SME: 10774]
64 for all versions. Idea and code from Michael McCarn.
65
66 * Sat Dec 29 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-23.sme
67 - Fix previous incorrect changelog bug number
68
69 * Sat Dec 22 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-22.sme
70 - apply locale 2018-12-14 patch
71 - fix horde 3 not running with php7 or higher set as php module for httpd [SME: 10667]
72
73 * Fri Dec 14 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-21.sme
74 - apply locale 2018-12-14 patch
75
76 * Tue Dec 11 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-20.sme
77 - fix spec file permissions [SME: 10662]
78
79 * Wed Aug 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-19.sme
80 - add php73 support [SME: 10508]
81 - fixed translation for php7* versions
82
83 * Wed Aug 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-18.sme
84 - add php72 support [SME: 10508]
85
86 * Tue Aug 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-17.sme
87 - Fix typo in Soap template
88
89 * Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.4-16.sme
90 - apply locale 2017-12-02 patch
91
92 * Tue Jul 04 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-15.sme
93 - fix path to php session for php7 [SME: 10365]
94
95 * Mon Jun 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-14.sme
96 - fix wrong path to 7.0 and 7.1 lib [SME: 10355]
97
98 * Fri Jun 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-12.sme
99 - fix wrong path for php7* php.ini template [SME: 10343]
100
101 * Fri Apr 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-11.sme
102 - added php70 and php71 support [SME: 10093]
103
104 * Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-8.sme
105 - Added Require php5{4,5,6}-php-mcrypt [SME: 9701]
106
107 * Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-7.sme
108 - Added path to /usr/share/pear : smeserver-php-scl-0.4.bz9558_PearPath.patch
109 - Added specific path for soap cache and save session : smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch
110
111 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.4-6.sme
112 - apply locale 2016-03-09 patch
113 - changing arc from x86_64 to noarch [SME: 9021]
114
115 * Wed Sep 2 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-5.sme
116 - added smeserver-php-scl-0.4.bz9021.addlocales.patch
117
118 * Wed Jun 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-4.sme
119 - Initial release to sme9contribs
120
121 * Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-3
122 - Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini
123
124 * Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-2
125 - Added a Panel to select the php version in PHP-mod
126
127 * Sat Feb 07 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-1
128 - Switch to remi repository {php54,php55,php56}
129 - Added a Panel for ibay php version
130
131 * Sun Nov 9 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-3
132 - Added a db to load the php54-mod in apache
133 - New php settings in php.ini
134 - Added default db values
135
136 * Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-1
137 - Added php55
138
139 * Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-1
140 - Initial release to sme9
141
142 %description
143 Allow to use different versions of php whith a cgi script.
144
145 %prep
146 %setup
147 %patch0 -p1
148 %patch1 -p1
149 %patch2 -p1
150 %patch3 -p1
151 %patch4 -p1
152 %patch5 -p1
153 %patch6 -p1
154 %patch7 -p1
155 %patch8 -p1
156 %patch9 -p1
157 %patch10 -p1
158 %patch11 -p1
159 %patch12 -p1
160 %patch13 -p1
161 %patch14 -p1
162 %patch15 -p1
163 %patch16 -p1
164
165 %build
166 perl createlinks
167
168 %install
169 rm -rf $RPM_BUILD_ROOT
170 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
171 rm -f %{name}-%{version}-filelist
172 /sbin/e-smith/genfilelist \
173 --file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \
174 --file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \
175 --file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \
176 --file /usr/bin/phpscl/php70_REMI 'attr(0770,root,www)' \
177 --file /usr/bin/phpscl/php71_REMI 'attr(0770,root,www)' \
178 --file /usr/bin/phpscl/php72_REMI 'attr(0770,root,www)' \
179 --file /usr/bin/phpscl/php73_REMI 'attr(0770,root,www)' \
180 $RPM_BUILD_ROOT > %{name}-%{version}-filelist
181
182
183 %clean
184 rm -rf $RPM_BUILD_ROOT
185
186 %pre
187
188 %preun
189
190 %post
191
192 %postun
193
194 %files -f %{name}-%{version}-filelist
195 %defattr(-,root,root)
196

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed