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

Annotation 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 - (hide annotations) (download)
Sun Dec 23 03:22:29 2018 UTC (5 years, 11 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 stephdl 1.1 Summary: SME server php REMI scl
2     %define name smeserver-php-scl
3     Name: %{name}
4     %define version 0.4
5 jpp 1.21 %define release 22
6 stephdl 1.1 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 unnilennium 1.4 BuildArchitectures: noarch
14 stephdl 1.1 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 stephdl 1.6 Requires: php54-php-soap , php54-php-mcrypt
19 stephdl 1.1 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 stephdl 1.6 Requires: php55-php-pecl-zip , php55-php-mcrypt
22 stephdl 1.1 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 stephdl 1.6 Requires: php56-php-pecl-zip, php56-php-mcrypt
25 unnilennium 1.7 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 unnilennium 1.13 Requires: php70-php-pecl-zip, php70-php-mcrypt, php70-php-pear, php70-php-pecl-mysql
28 unnilennium 1.7 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 unnilennium 1.13 Requires: php71-php-pecl-zip, php71-php-mcrypt, php71-php-pear, php71-php-pecl-mysql
31 jpp 1.16
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 stephdl 1.1 AutoReqProv: no
43 stephdl 1.3 Patch0: smeserver-php-scl-0.4.bz9021.addlocales.patch
44 unnilennium 1.4 Patch1: smeserver-php-scl-0.4-locale-2016-03-09.patch
45 stephdl 1.5 Patch2: smeserver-php-scl-0.4.bz9558_PearPath.patch
46     Patch3: smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch
47 unnilennium 1.7 Patch4: smeserver-php-scl-0.4.bz10093-addphp7support.patch
48 unnilennium 1.10 Patch5: smeserver-php-scl-0.4.bz10343.php7inipath.patch
49 unnilennium 1.11 Patch6: smeserver-php-scl-0.4.bz10355.php7lib.patch
50 unnilennium 1.13 Patch7: smeserver-php-scl-0.4.bz10365.php7session.patch
51 cvsuser 1.14 Patch8: smeserver-php-scl-0.4-locale-2017-12-02.patch
52 jcrisp 1.15 Patch9: smeserver-php-scl-0.4.bz10618-soaptemplate.patch
53 jpp 1.16 Patch10: smeserver-php-scl-0.4.bz10508-addphp72support.patch
54 jpp 1.17 Patch11: smeserver-php-scl-0.4.bz10508-addphp73support.patch
55 jpp 1.18 Patch12: smeserver-php-scl-0.4.bz10508-translation.patch
56 jcrisp 1.20 Patch13: smeserver-php-scl-0.4-locale-2018-12-14.patch
57 jpp 1.21 Patch14: smeserver-php-scl-0.4-locale-2018-12-23.patch
58     Patch15: smeserver-php-scl-0.4.bz10665-horde3-vs-php7.patch
59 jpp 1.18
60 jcrisp 1.20 %changelog
61 jpp 1.21 * 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 jcrisp 1.20 * Fri Dec 14 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-21.sme
66     - apply locale 2018-12-14 patch
67 unnilennium 1.4
68 jcrisp 1.20 * Tue Dec 11 2018 John Crisp <jcrisp@safendsoundit.co.uk> 0.4-20.sme
69 jcrisp 1.19 - fix spec file permissions [SME: 10662]
70    
71 jpp 1.17 * Wed Aug 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-19.sme
72     - add php73 support [SME: 10508]
73 jpp 1.18 - fixed translation for php7* versions
74 jpp 1.17
75 jpp 1.16 * Wed Aug 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-18.sme
76     - add php72 support [SME: 10508]
77    
78 jcrisp 1.15 * Tue Aug 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-17.sme
79     - Fix typo in Soap template
80    
81 cvsuser 1.14 * Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.4-16.sme
82     - apply locale 2017-12-02 patch
83    
84 unnilennium 1.13 * 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 unnilennium 1.12 * Mon Jun 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-14.sme
88 unnilennium 1.11 - fix wrong path to 7.0 and 7.1 lib [SME: 10355]
89    
90 unnilennium 1.10 * 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 unnilennium 1.9 * Fri Apr 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-11.sme
94 unnilennium 1.7 - added php70 and php71 support [SME: 10093]
95    
96 stephdl 1.6 * 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 stephdl 1.5 * 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 stephdl 1.1
103 unnilennium 1.4 * 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 stephdl 1.3 * 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 stephdl 1.1 * 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 stephdl 1.3 %patch0 -p1
140 unnilennium 1.4 %patch1 -p1
141 stephdl 1.5 %patch2 -p1
142     %patch3 -p1
143 unnilennium 1.7 %patch4 -p1
144 unnilennium 1.10 %patch5 -p1
145 unnilennium 1.11 %patch6 -p1
146 unnilennium 1.13 %patch7 -p1
147 cvsuser 1.14 %patch8 -p1
148 jcrisp 1.15 %patch9 -p1
149 jpp 1.16 %patch10 -p1
150 jpp 1.17 %patch11 -p1
151 jpp 1.18 %patch12 -p1
152 jcrisp 1.20 %patch13 -p1
153 jpp 1.21 %patch14 -p1
154     %patch15 -p1
155 stephdl 1.1
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 unnilennium 1.8 --file /usr/bin/phpscl/php70_REMI 'attr(0770,root,www)' \
168     --file /usr/bin/phpscl/php71_REMI 'attr(0770,root,www)' \
169 jcrisp 1.19 --file /usr/bin/phpscl/php72_REMI 'attr(0770,root,www)' \
170     --file /usr/bin/phpscl/php73_REMI 'attr(0770,root,www)' \
171 stephdl 1.1 $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