/[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.21 - (show annotations) (download)
Sun Dec 23 03:22:29 2018 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-scl-0_4-22_el6_sme
Changes since 1.20: +9 -1 lines
* Sat Dec 22 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-22.sme
- apply locale 2018-12-14 patch
- fix horde 3 not running with php7 or higher set as php module for httpd [SME: 10665]

1 Summary: SME server php REMI scl
2 %define name smeserver-php-scl
3 Name: %{name}
4 %define version 0.4
5 %define release 22
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
60 %changelog
61 * Sat Dec 22 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-22.sme
62 - apply locale 2018-12-14 patch
63 - fix horde 3 not running with php7 or higher set as php module for httpd [SME: 10665]
64
65 * Fri Dec 14 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-21.sme
66 - apply locale 2018-12-14 patch
67
68 * Tue Dec 11 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-20.sme
69 - fix spec file permissions [SME: 10662]
70
71 * Wed Aug 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-19.sme
72 - add php73 support [SME: 10508]
73 - fixed translation for php7* versions
74
75 * Wed Aug 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-18.sme
76 - add php72 support [SME: 10508]
77
78 * Tue Aug 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-17.sme
79 - Fix typo in Soap template
80
81 * Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.4-16.sme
82 - apply locale 2017-12-02 patch
83
84 * Tue Jul 04 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-15.sme
85 - fix path to php session for php7 [SME: 10365]
86
87 * Mon Jun 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-14.sme
88 - fix wrong path to 7.0 and 7.1 lib [SME: 10355]
89
90 * Fri Jun 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-12.sme
91 - fix wrong path for php7* php.ini template [SME: 10343]
92
93 * Fri Apr 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-11.sme
94 - added php70 and php71 support [SME: 10093]
95
96 * Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-8.sme
97 - Added Require php5{4,5,6}-php-mcrypt [SME: 9701]
98
99 * Sun Jun 5 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-7.sme
100 - Added path to /usr/share/pear : smeserver-php-scl-0.4.bz9558_PearPath.patch
101 - Added specific path for soap cache and save session : smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch
102
103 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.4-6.sme
104 - apply locale 2016-03-09 patch
105 - changing arc from x86_64 to noarch [SME: 9021]
106
107 * Wed Sep 2 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-5.sme
108 - added smeserver-php-scl-0.4.bz9021.addlocales.patch
109
110 * Wed Jun 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-4.sme
111 - Initial release to sme9contribs
112
113 * Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-3
114 - Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini
115
116 * Fri Feb 20 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-2
117 - Added a Panel to select the php version in PHP-mod
118
119 * Sat Feb 07 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.4-1
120 - Switch to remi repository {php54,php55,php56}
121 - Added a Panel for ibay php version
122
123 * Sun Nov 9 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-3
124 - Added a db to load the php54-mod in apache
125 - New php settings in php.ini
126 - Added default db values
127
128 * Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-1
129 - Added php55
130
131 * Fri Nov 7 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-1
132 - Initial release to sme9
133
134 %description
135 Allow to use different versions of php whith a cgi script.
136
137 %prep
138 %setup
139 %patch0 -p1
140 %patch1 -p1
141 %patch2 -p1
142 %patch3 -p1
143 %patch4 -p1
144 %patch5 -p1
145 %patch6 -p1
146 %patch7 -p1
147 %patch8 -p1
148 %patch9 -p1
149 %patch10 -p1
150 %patch11 -p1
151 %patch12 -p1
152 %patch13 -p1
153 %patch14 -p1
154 %patch15 -p1
155
156 %build
157 perl createlinks
158
159 %install
160 rm -rf $RPM_BUILD_ROOT
161 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
162 rm -f %{name}-%{version}-filelist
163 /sbin/e-smith/genfilelist \
164 --file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \
165 --file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \
166 --file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \
167 --file /usr/bin/phpscl/php70_REMI 'attr(0770,root,www)' \
168 --file /usr/bin/phpscl/php71_REMI 'attr(0770,root,www)' \
169 --file /usr/bin/phpscl/php72_REMI 'attr(0770,root,www)' \
170 --file /usr/bin/phpscl/php73_REMI 'attr(0770,root,www)' \
171 $RPM_BUILD_ROOT > %{name}-%{version}-filelist
172
173
174 %clean
175 rm -rf $RPM_BUILD_ROOT
176
177 %pre
178
179 %preun
180
181 %post
182
183 %postun
184
185 %files -f %{name}-%{version}-filelist
186 %defattr(-,root,root)
187

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