/[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.22 - (show annotations) (download)
Sat Dec 29 00:12:07 2018 UTC (5 years, 5 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-scl-0_4-23_el6_sme
Changes since 1.21: +5 -2 lines
* Sat Dec 29 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-23.sme
- Fix previous incorrect changelog bug number

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

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