--- rpms/smeserver-php-scl/contribs9/smeserver-php-scl.spec 2015/08/22 20:06:46 1.2 +++ rpms/smeserver-php-scl/contribs9/smeserver-php-scl.spec 2019/07/21 03:26:14 1.24 @@ -2,7 +2,7 @@ Summary: SME server php REMI scl %define name smeserver-php-scl Name: %{name} %define version 0.4 -%define release 4 +%define release 25 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -10,21 +10,114 @@ Group: Administration Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/e-smith-buildroot BuildRequires: e-smith-devtools -BuildArchitectures: x86_64 +BuildArchitectures: noarch Requires: e-smith-release >= 9.0 Requires: scl-utils Requires: php54 , php54-php , php54-php-bcmath , php54-php-gd , php54-php-imap , php54-php-ldap , php54-php-enchant Requires: php54-php-mbstring , php54-php-pdo , php54-php-tidy , php54-php-mysqlnd php54-php-pecl-zip , php54-php-xml -Requires: php54-php-soap , +Requires: php54-php-soap , php54-php-mcrypt Requires: php55 , php55-php , php55-php-bcmath , php55-php-gd , php55-php-imap , php55-php-ldap , php55-php-enchant Requires: php55-php-mbstring , php55-php-pdo , php55-php-tidy , php55-php-mysqlnd , php55-php-xml , php55-php-soap -Requires: php55-php-pecl-zip +Requires: php55-php-pecl-zip , php55-php-mcrypt Requires: php56 , php56-php , php56-php-bcmath , php56-php-gd , php56-php-imap , php56-php-ldap , php56-php-enchant Requires: php56-php-mbstring , php56-php-pdo , php56-php-tidy , php56-php-mysqlnd , php56-php-xml , php56-php-soap -Requires: php56-php-pecl-zip +Requires: php56-php-pecl-zip, php56-php-mcrypt +Requires: php70 , php70-php , php70-php-bcmath , php70-php-gd , php70-php-imap , php70-php-ldap , php70-php-enchant +Requires: php70-php-mbstring , php70-php-pdo , php70-php-tidy , php70-php-mysqlnd , php70-php-xml , php70-php-soap +Requires: php70-php-pecl-zip, php70-php-mcrypt, php70-php-pear, php70-php-pecl-mysql +Requires: php71 , php71-php , php71-php-bcmath , php71-php-gd , php71-php-imap , php71-php-ldap , php71-php-enchant +Requires: php71-php-mbstring , php71-php-pdo , php71-php-tidy , php71-php-mysqlnd , php71-php-xml , php71-php-soap +Requires: php71-php-pecl-zip, php71-php-mcrypt, php71-php-pear, php71-php-pecl-mysql + +Requires: php72 , php72-php , php72-php-bcmath , php72-php-gd , php72-php-imap , php72-php-ldap , php72-php-enchant +Requires: php72-php-mbstring , php72-php-pdo , php72-php-tidy , php72-php-mysqlnd , php72-php-xml , php72-php-soap +Requires: php72-php-pecl-zip, php72-php-pecl-mcrypt, php72-php-pear, php72-php-pecl-mysql + +Requires: php73 , php73-php , php73-php-bcmath , php73-php-gd , php73-php-imap , php73-php-ldap , php73-php-enchant +Requires: php73-php-mbstring , php73-php-pdo , php73-php-tidy , php73-php-mysqlnd , php73-php-xml , php73-php-soap +Requires: php73-php-pecl-zip, php73-php-pear, php73-php-pecl-mysql +# Requires: php73-php-pecl-mcrypt +# removed from php73 : mcrypt not supported, only in remi not remi safe + AutoReqProv: no +Patch0: smeserver-php-scl-0.4.bz9021.addlocales.patch +Patch1: smeserver-php-scl-0.4-locale-2016-03-09.patch +Patch2: smeserver-php-scl-0.4.bz9558_PearPath.patch +Patch3: smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch +Patch4: smeserver-php-scl-0.4.bz10093-addphp7support.patch +Patch5: smeserver-php-scl-0.4.bz10343.php7inipath.patch +Patch6: smeserver-php-scl-0.4.bz10355.php7lib.patch +Patch7: smeserver-php-scl-0.4.bz10365.php7session.patch +Patch8: smeserver-php-scl-0.4-locale-2017-12-02.patch +Patch9: smeserver-php-scl-0.4.bz10618-soaptemplate.patch +Patch10: smeserver-php-scl-0.4.bz10508-addphp72support.patch +Patch11: smeserver-php-scl-0.4.bz10508-addphp73support.patch +Patch12: smeserver-php-scl-0.4.bz10508-translation.patch +Patch13: smeserver-php-scl-0.4-locale-2018-12-14.patch +Patch14: smeserver-php-scl-0.4-locale-2018-12-23.patch +Patch15: smeserver-php-scl-0.4.bz10665-horde3-vs-php7.patch +Patch16: smeserver-php-scl-0.4-bz10774-default-to-global.patch %changelog +* Sun Jul 21 2019 Jean-Philipe Pialasse 0.4-25.sme +- default all php options to main php version values [SME: 10774] + for all versions. Idea and code from Michael McCarn. + +* Sat Dec 29 2018 John Crisp 0.4-23.sme +- Fix previous incorrect changelog bug number + +* Sat Dec 22 2018 Jean-Philipe Pialasse 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: 10667] + +* Fri Dec 14 2018 John Crisp 0.4-21.sme +- apply locale 2018-12-14 patch + +* Tue Dec 11 2018 John Crisp 0.4-20.sme +- fix spec file permissions [SME: 10662] + +* Wed Aug 15 2018 Jean-Philipe Pialasse 0.4-19.sme +- add php73 support [SME: 10508] +- fixed translation for php7* versions + +* Wed Aug 15 2018 Jean-Philipe Pialasse 0.4-18.sme +- add php72 support [SME: 10508] + +* Tue Aug 14 2018 John Crisp 0.4-17.sme +- Fix typo in Soap template + +* Sat Dec 02 2017 SME Translation Server 0.4-16.sme +- apply locale 2017-12-02 patch + +* Tue Jul 04 2017 Jean-Philipe Pialasse 0.4-15.sme +- fix path to php session for php7 [SME: 10365] + +* Mon Jun 26 2017 Jean-Philipe Pialasse 0.4-14.sme +- fix wrong path to 7.0 and 7.1 lib [SME: 10355] + +* Fri Jun 09 2017 Jean-Philipe Pialasse 0.4-12.sme +- fix wrong path for php7* php.ini template [SME: 10343] + +* Fri Apr 28 2017 Jean-Philipe Pialasse 0.4-11.sme +- added php70 and php71 support [SME: 10093] + +* Sun Jun 5 2016 stephane de Labrusse 0.4-8.sme +- Added Require php5{4,5,6}-php-mcrypt [SME: 9701] + +* Sun Jun 5 2016 stephane de Labrusse 0.4-7.sme +- Added path to /usr/share/pear : smeserver-php-scl-0.4.bz9558_PearPath.patch +- Added specific path for soap cache and save session : smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch + +* Wed Mar 09 2016 JP Pialasse 0.4-6.sme +- apply locale 2016-03-09 patch +- changing arc from x86_64 to noarch [SME: 9021] + +* Wed Sep 2 2015 stephane de Labrusse 0.4-5.sme +- added smeserver-php-scl-0.4.bz9021.addlocales.patch + +* Wed Jun 17 2015 stephane de Labrusse 0.4-4.sme +- Initial release to sme9contribs + * Fri Feb 20 2015 Stephane de Labrusse 0.4-3 - Corrected a typo '~' in /opt/remi/php55/root/etc/php.ini @@ -51,6 +144,23 @@ Allow to use different versions of php w %prep %setup +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 %build perl createlinks @@ -63,6 +173,10 @@ rm -f %{name}-%{version}-filelist --file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \ --file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \ --file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \ + --file /usr/bin/phpscl/php70_REMI 'attr(0770,root,www)' \ + --file /usr/bin/phpscl/php71_REMI 'attr(0770,root,www)' \ + --file /usr/bin/phpscl/php72_REMI 'attr(0770,root,www)' \ + --file /usr/bin/phpscl/php73_REMI 'attr(0770,root,www)' \ $RPM_BUILD_ROOT > %{name}-%{version}-filelist