/[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.19 - (show annotations) (download)
Mon Dec 10 23:55:11 2018 UTC (5 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-scl-0_4-20_el6_sme
Changes since 1.18: +6 -1 lines
* Tue Dec 11 2018 John Crisp <jcrisp@safendsountit.co.uk> 0.4-20.sme
- fix spec file permissions [SME: 10662]

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

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