# remirepo spec file for Requires: %{?scl_prefix} SCL metapackage # # Copyright (c) 2013-2023 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %global _scl_prefix /opt/remi %global _scl_vendor remi %global scl_vendor remi %global scl_name_base php %global scl_name_version 56 %global scl %{scl_name_base}%{scl_name_version} %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_root_sysconfdir}/rpm; echo $d) %global install_scl 1 %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 %global rh_layout 1 %endif %if 0%{?fedora} >= 20 && 0%{?fedora} < 27 # Requires scl-utils v2 for SCL integration, dropeed in F29 %global with_modules 1 %else # Works with file installed in /usr/share/Modules/modulefiles/ %global with_modules 0 %endif %scl_package %scl # do not produce empty debuginfo package %global debug_package %{nil} Summary: Package that installs PHP 5.6 Name: %scl_name Version: 5.6 Release: 6%{?dist} Group: Development/Languages License: GPL-2.0-or-later Source0: https://raw.githubusercontent.com/rpmsoftwarecollection/php56/refs/heads/master/macros-build Source1: https://raw.githubusercontent.com/rpmsoftwarecollection/php56/refs/heads/master/README Source2: https://raw.githubusercontent.com/rpmsoftwarecollection/php56/refs/heads/master/LICENSE Source3: https://raw.githubusercontent.com/rpmsoftwarecollection/php56/refs/heads/master/php56build.repo BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: scl-utils-build BuildRequires: help2man # Temporary work-around BuildRequires: iso-codes BuildRequires: environment-modules Requires: %{?scl_prefix}php-common%{?_isa} >= 5.6.31 Requires: %{?scl_prefix}php-cli%{?_isa} Requires: %{?scl_prefix}php-pear >= 1:1.10.5 Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} Requires: %{?scl_prefix}-php-pecl-dom-varimport-devel Requires: %{?scl_prefix}-php-pecl-judy-devel Requires: %{?scl_prefix}-php-pecl-pcsc-devel Requires: %{?scl_prefix}-php-pecl-propro-devel Requires: %{?scl_prefix}-php-pecl-psr-devel Requires: %{?scl_prefix}-php-pecl-raphf-devel Requires: %{?scl_prefix}-php-pecl-xmldiff-devel Requires: %{?scl_prefix}-php-zephir-parser-devel Requires: %{?scl_prefix}-php-zstd-devel Requires: %{?scl_prefix}-scldevel Requires: %{?scl_prefix}-syspaths Requires: %{?scl_prefix}-build Requires: %{?scl_prefix}-libzip Requires: %{?scl_prefix}-php Requires: %{?scl_prefix}-php-bcmath Requires: %{?scl_prefix}-php-brotli Requires: %{?scl_prefix}-php-channel-horde Requires: %{?scl_prefix}-php-dba Requires: %{?scl_prefix}-php-dbg Requires: %{?scl_prefix}-php-devel Requires: %{?scl_prefix}-php-embedded Requires: %{?scl_prefix}-php-enchant Requires: %{?scl_prefix}-php-fpm Requires: %{?scl_prefix}-php-gd Requires: %{?scl_prefix}-php-geos Requires: %{?scl_prefix}-php-gmp Requires: %{?scl_prefix}-php-horde-horde-lz4 Requires: %{?scl_prefix}-php-imap Requires: %{?scl_prefix}-php-interbase Requires: %{?scl_prefix}-php-intl Requires: %{?scl_prefix}-php-ioncube-loader Requires: %{?scl_prefix}-php-ldap Requires: %{?scl_prefix}-php-libvirt Requires: %{?scl_prefix}-php-libvirt-doc Requires: %{?scl_prefix}-php-litespeed Requires: %{?scl_prefix}-php-lz4 Requires: %{?scl_prefix}-php-maxminddb Requires: %{?scl_prefix}-php-mbstring Requires: %{?scl_prefix}-php-mcrypt Requires: %{?scl_prefix}-php-mssql Requires: %{?scl_prefix}-php-mysqlnd Requires: %{?scl_prefix}-php-odbc Requires: %{?scl_prefix}-php-opcache Requires: %{?scl_prefix}-php-pdo Requires: %{?scl_prefix}-php-pecl-ahocorasick Requires: %{?scl_prefix}-php-pecl-amqp Requires: %{?scl_prefix}-php-pecl-apcu Requires: %{?scl_prefix}-php-pecl-apcu-devel Requires: %{?scl_prefix}-php-pecl-apfd Requires: %{?scl_prefix}-php-pecl-ares Requires: %{?scl_prefix}-php-pecl-awscrt Requires: %{?scl_prefix}-php-pecl-bbcode Requires: %{?scl_prefix}-php-pecl-binpack Requires: %{?scl_prefix}-php-pecl-bitset Requires: %{?scl_prefix}-php-pecl-blenc Requires: %{?scl_prefix}-php-pecl-cairo Requires: %{?scl_prefix}-php-pecl-cairo-devel Requires: %{?scl_prefix}-php-pecl-cassandra Requires: %{?scl_prefix}-php-pecl-chdb Requires: %{?scl_prefix}-php-pecl-couchbase2 Requires: %{?scl_prefix}-php-pecl-crypto Requires: %{?scl_prefix}-php-pecl-datadog-trace Requires: %{?scl_prefix}-php-pecl-dbase Requires: %{?scl_prefix}-php-pecl-dbus Requires: %{?scl_prefix}-php-pecl-dio Requires: %{?scl_prefix}-php-pecl-dom-varimport Requires: %{?scl_prefix}-php-pecl-doublemetaphone Requires: %{?scl_prefix}-php-pecl-druid Requires: %{?scl_prefix}-php-pecl-eio Requires: %{?scl_prefix}-php-pecl-env Requires: %{?scl_prefix}-php-pecl-ev Requires: %{?scl_prefix}-php-pecl-event Requires: %{?scl_prefix}-php-pecl-expect Requires: %{?scl_prefix}-php-pecl-fann Requires: %{?scl_prefix}-php-pecl-gearman Requires: %{?scl_prefix}-php-pecl-gender Requires: %{?scl_prefix}-php-pecl-geoip Requires: %{?scl_prefix}-php-pecl-geospatial Requires: %{?scl_prefix}-php-magickwand Requires: %{?scl_prefix}-php-pecl-gnupg Requires: %{?scl_prefix}-php-pecl-graphdat Requires: %{?scl_prefix}-php-pecl-grpc Requires: %{?scl_prefix}-php-pecl-handlebars Requires: %{?scl_prefix}-php-pecl-haru Requires: %{?scl_prefix}-php-pecl-hdr-histogram Requires: %{?scl_prefix}-php-pecl-hidef Requires: %{?scl_prefix}-php-pecl-hprose Requires: %{?scl_prefix}-php-pecl-hrtime Requires: %{?scl_prefix}-php-pecl-http Requires: %{?scl_prefix}-php-pecl-http-devel Requires: %{?scl_prefix}-php-pecl-igbinary Requires: %{?scl_prefix}-php-pecl-igbinary-devel Requires: %{?scl_prefix}-php-pecl-imagick-im7 Requires: %{?scl_prefix}-php-pecl-imagick-im7-devel Requires: %{?scl_prefix}-php-pecl-inclued Requires: %{?scl_prefix}-php-pecl-inotify Requires: %{?scl_prefix}-php-pecl-ip2location Requires: %{?scl_prefix}-php-pecl-ip2proxy Requires: %{?scl_prefix}-php-pecl-ircclient Requires: %{?scl_prefix}-php-pecl-json-post Requires: %{?scl_prefix}-php-pecl-jsonc Requires: %{?scl_prefix}-php-pecl-jsonc-devel Requires: %{?scl_prefix}-php-pecl-jsond Requires: %{?scl_prefix}-php-pecl-jsond-devel Requires: %{?scl_prefix}-php-pecl-judy Requires: %{?scl_prefix}-php-pecl-krb5 Requires: %{?scl_prefix}-php-pecl-krb5-devel Requires: %{?scl_prefix}-php-pecl-leveldb Requires: %{?scl_prefix}-php-pecl-libsodium Requires: %{?scl_prefix}-php-pecl-lua Requires: %{?scl_prefix}-php-pecl-luasandbox Requires: %{?scl_prefix}-php-pecl-lzf Requires: %{?scl_prefix}-php-pecl-mailparse Requires: %{?scl_prefix}-php-pecl-memcache Requires: %{?scl_prefix}-php-pecl-memcached Requires: %{?scl_prefix}-php-pecl-memprof Requires: %{?scl_prefix}-php-pecl-mogilefs Requires: %{?scl_prefix}-php-pecl-molten Requires: %{?scl_prefix}-php-pecl-mongo Requires: %{?scl_prefix}-php-pecl-mongodb Requires: %{?scl_prefix}-php-pecl-mosquitto Requires: %{?scl_prefix}-php-pecl-msgpack Requires: %{?scl_prefix}-php-pecl-msgpack-devel Requires: %{?scl_prefix}-php-pecl-mustache Requires: %{?scl_prefix}-php-pecl-ncurses Requires: %{?scl_prefix}-php-pecl-newt Requires: %{?scl_prefix}-php-pecl-oauth Requires: %{?scl_prefix}-php-pecl-parsekit Requires: %{?scl_prefix}-php-pecl-pcs Requires: %{?scl_prefix}-php-pecl-pcs-devel Requires: %{?scl_prefix}-php-pecl-pcsc Requires: %{?scl_prefix}-php-pecl-pdflib Requires: %{?scl_prefix}-php-pecl-phk Requires: %{?scl_prefix}-php-pecl-pq Requires: %{?scl_prefix}-php-pecl-propro Requires: %{?scl_prefix}-php-pecl-protobuf Requires: %{?scl_prefix}-php-pecl-protocolbuffers Requires: %{?scl_prefix}-php-pecl-psr Requires: %{?scl_prefix}-php-pecl-quickhash Requires: %{?scl_prefix}-php-pecl-radius Requires: %{?scl_prefix}-php-pecl-raphf Requires: %{?scl_prefix}-php-pecl-rar Requires: %{?scl_prefix}-php-pecl-rdkafka4 Requires: %{?scl_prefix}-php-pecl-redis4 Requires: %{?scl_prefix}-php-pecl-riak Requires: %{?scl_prefix}-php-pecl-rrd Requires: %{?scl_prefix}-php-pecl-runkit Requires: %{?scl_prefix}-php-pecl-scream Requires: %{?scl_prefix}-php-pecl-scrypt Requires: %{?scl_prefix}-php-pecl-seasclick Requires: %{?scl_prefix}-php-pecl-seaslog Requires: %{?scl_prefix}-php-pecl-selinux Requires: %{?scl_prefix}-php-pecl-solr2 Requires: %{?scl_prefix}-php-pecl-sphinx Requires: %{?scl_prefix}-php-pecl-spl-types Requires: %{?scl_prefix}-php-pecl-ssdeep Requires: %{?scl_prefix}-php-pecl-ssh2 Requires: %{?scl_prefix}-php-pecl-stats Requires: %{?scl_prefix}-php-pecl-stomp Requires: %{?scl_prefix}-php-pecl-strict Requires: %{?scl_prefix}-php-pecl-svn Requires: %{?scl_prefix}-php-pecl-sync Requires: %{?scl_prefix}-php-pecl-timecop Requires: %{?scl_prefix}-php-pecl-trace Requires: %{?scl_prefix}-php-pecl-trader Requires: %{?scl_prefix}-php-pecl-translit Requires: %{?scl_prefix}-php-pecl-uopz Requires: %{?scl_prefix}-php-pecl-uploadprogress Requires: %{?scl_prefix}-php-pecl-uri-template Requires: %{?scl_prefix}-php-pecl-uuid Requires: %{?scl_prefix}-php-pecl-varnish Requires: %{?scl_prefix}-php-pecl-vld Requires: %{?scl_prefix}-php-pecl-weakref Requires: %{?scl_prefix}-php-pecl-xattr Requires: %{?scl_prefix}-php-pecl-xdebug Requires: %{?scl_prefix}-php-pecl-xdiff Requires: %{?scl_prefix}-php-pecl-xhprof Requires: %{?scl_prefix}-php-pecl-xmldiff Requires: %{?scl_prefix}-php-pecl-xmp Requires: %{?scl_prefix}-php-pecl-xrange Requires: %{?scl_prefix}-php-pecl-xslcache Requires: %{?scl_prefix}-php-pecl-xxtea Requires: %{?scl_prefix}-php-pecl-yac Requires: %{?scl_prefix}-php-pecl-yaf Requires: %{?scl_prefix}-php-pecl-yaml Requires: %{?scl_prefix}-php-pecl-yar Requires: %{?scl_prefix}-php-pecl-yaz Requires: %{?scl_prefix}-php-pecl-zip Requires: %{?scl_prefix}-php-pecl-zmq Requires: %{?scl_prefix}-php-pgsql Requires: %{?scl_prefix}-php-phalcon3 Requires: %{?scl_prefix}-php-phpiredis Requires: %{?scl_prefix}-php-phurple Requires: %{?scl_prefix}-php-process Requires: %{?scl_prefix}-php-pspell Requires: %{?scl_prefix}-php-realpath-turbo Requires: %{?scl_prefix}-php-recode Requires: %{?scl_prefix}-php-smbclient Requires: %{?scl_prefix}-php-snappy Requires: %{?scl_prefix}-php-snmp Requires: %{?scl_prefix}-php-soap Requires: %{?scl_prefix}-php-tarantool Requires: %{?scl_prefix}-php-tidy Requires: %{?scl_prefix}-php-xcache Requires: %{?scl_prefix}-php-xml Requires: %{?scl_prefix}-php-xmlrpc Requires: %{?scl_prefix}-php-zephir-parser Requires: %{?scl_prefix}-php-zstd Requires: %{?scl_prefix}-unit-php Requires: %{?scl_prefix}-xcache-admin Requires: %{?scl_prefix}-xhprof Requires: %{?scl_prefix}-zephir Requires: %{?scl_prefix}-php-suhosin %description This is the main package for %scl Software Collection, that install PHP 5.6 language. %package runtime Summary: Package that handles %scl Software Collection. Group: Development/Languages Requires: scl-utils Requires: environment-modules Requires(post): %{_root_sbindir}/semanage #Requires(post): %{_root_sbindir}/selinuxenabled Requires(post): libselinux-utils Provides: %{?scl_name}-runtime(%{scl_vendor}) Provides: %{?scl_name}-runtime(%{scl_vendor})%{?_isa} %description runtime Package shipping essential scripts to work with %scl Software Collection. %package build Summary: Package shipping basic build configuration Group: Development/Languages Requires: scl-utils-build, dnf Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} %description build Package shipping essential configuration macros to build %scl Software Collection. %package scldevel Summary: Package shipping development files for %scl Group: Development/Languages Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} %description scldevel Package shipping development files, especially usefull for development of packages depending on %scl Software Collection. %package syspaths Summary: System-wide wrappers for the %{name} package Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} Requires: %{?scl_name}-php-cli%{?_isa} Requires: %{?scl_name}-php-common%{?_isa} Requires: %{?scl_name}-php-devel%{?_isa} Conflicts: php-common Conflicts: php-cli Conflicts: php-devel Conflicts: php54-syspaths Conflicts: php55-syspaths Conflicts: php70-syspaths Conflicts: php71-syspaths Conflicts: php72-syspaths Conflicts: php73-syspaths Conflicts: php74-syspaths Conflicts: php80-syspaths Conflicts: php81-syspaths Conflicts: php82-syspaths Conflicts: php83-syspaths Conflicts: php84-syspaths Conflicts: php85-syspaths Conflicts: php86-syspaths Conflicts: php87-syspaths Conflicts: php88-syspaths Conflicts: php89-syspaths Conflicts: php90-syspaths Conflicts: php91-syspaths Conflicts: php92-syspaths Conflicts: php93-syspaths Conflicts: php94-syspaths Conflicts: php95-syspaths Conflicts: php96-syspaths Conflicts: php97-syspaths Conflicts: php98-syspaths Conflicts: php10-syspaths Conflicts: php101-syspaths Conflicts: php102-syspaths Conflicts: php103-syspaths Conflicts: php104-syspaths Conflicts: php105-syspaths Conflicts: php106-syspaths Conflicts: php107-syspaths Conflicts: php108-syspaths Conflicts: php109-syspaths Conflicts: php110-syspaths Conflicts: php111-syspaths Conflicts: php112-syspaths Conflicts: php113-syspaths Conflicts: php114-syspaths Conflicts: php115-syspaths Conflicts: php116-syspaths Conflicts: php117-syspaths Conflicts: php118-syspaths Conflicts: php119-syspaths Conflicts: php120-syspaths Conflicts: php121-syspaths Conflicts: php122-syspaths Conflicts: php123-syspaths Conflicts: php124-syspaths Conflicts: php125-syspaths Conflicts: php126-syspaths Conflicts: php127-syspaths Conflicts: php128-syspaths Conflicts: php129-syspaths Conflicts: php130-syspaths %description syspaths System-wide wrappers for the %{name}-php-cli package. Using the %{name}-syspaths package does not require running the 'scl enable' or 'module command. This package practically replaces the system default php-cli package. It provides the php, phar and php-cgi commands. Note that the php-cli and %{name}-syspaths packages conflict and cannot be installed on one system. %prep %setup -c -T cat <README <<'EOF' %{expand:%(cat %{SOURCE1})} EOF # copy the license file so %%files section sees it cp %{SOURCE2} . : prefix in %{_prefix} : config in %{_sysconfdir} : data in %{_localstatedir} %build # generate a helper script that will be used by help2man cat >h2m_helper <<'EOF' #!/bin/bash [ "$1" == "--version" ] && echo "%{scl_name} Software Collection (PHP %{version})" || cat README EOF chmod a+x h2m_helper # generate the man page help2man -N --section 7 ./h2m_helper -o %{scl_name}.7 %install install -D -m 644 enable %{buildroot}%{_scl_scripts}/enable %if %{with_modules} install -D -m 644 envmod %{buildroot}%{_scl_scripts}/%{scl_name} %else install -D -m 644 envmod %{buildroot}%{_root_datadir}/Modules/modulefiles/%{scl_name} %endif install -D -m 644 scldev %{buildroot}%{macrosdir}/macros.%{scl_name_base}-scldevel install -D -m 644 %{scl_name}.7 %{buildroot}%{_root_mandir}/man7/%{scl_name}.7 install -d -m 755 %{buildroot}%{_datadir}/licenses install -d -m 755 %{buildroot}%{_datadir}/doc/pecl install -d -m 755 %{buildroot}%{_datadir}/tests/pecl install -d -m 755 %{buildroot}%{_localstatedir}/lib/pear/pkgxml install -d -m 755 %{buildroot}/etc/yum.repos.d/ install -d -m 755 %{buildroot}/opt/remi/php56/root/etc/yum.repos.d/ cp %{SOURCE3} %{buildroot}/etc/yum.repos.d/ cp %{SOURCE3} %{buildroot}/opt/remi/php56/root/etc/yum.repos.d/ %scl_install # Add the scl_package_override macro sed -e 's/@SCL@/%{scl}/g;s:@PREFIX@:/opt/%{scl_vendor}:;s/@VENDOR@/%{scl_vendor}/' %{SOURCE0} | tee -a %{buildroot}%{_root_sysconfdir}/rpm/macros.%{scl}-config # Move in correct location, if needed if [ "%{_root_sysconfdir}/rpm" != "%{macrosdir}" ]; then mv %{buildroot}%{_root_sysconfdir}/rpm/macros.%{scl}-config %{buildroot}%{macrosdir}/macros.%{scl}-config fi %if 0%{?fedora} < 26 && 0%{?rhel} < 8 # Create symlinks mkdir -p %{buildroot}%{_root_sysconfdir}/opt/%{scl_vendor} ln -s %{_sysconfdir} %{buildroot}%{_root_sysconfdir}/opt/%{scl_vendor}/%{scl} mkdir -p %{buildroot}%{_root_localstatedir}/opt/%{scl_vendor} ln -s %{_localstatedir} %{buildroot}%{_root_localstatedir}/opt/%{scl_vendor}/%{scl} %endif # syspaths mkdir -p %{buildroot}%{_root_sysconfdir} ln -s %{_sysconfdir}/php.ini %{buildroot}%{_root_sysconfdir}/php.ini ln -s %{_sysconfdir}/php.d %{buildroot}%{_root_sysconfdir}/php.d mkdir -p %{buildroot}%{_root_bindir} ln -s %{_bindir}/php %{buildroot}%{_root_bindir}/php ln -s %{_bindir}/phar %{buildroot}%{_root_bindir}/phar ln -s %{_bindir}/php-cgi %{buildroot}%{_root_bindir}/php-cgi ln -s %{_bindir}/php-config %{buildroot}%{_root_bindir}/php-config ln -s %{_bindir}/phpize %{buildroot}%{_root_bindir}/phpize mkdir -p %{buildroot}%{_root_mandir}/man1 ln -s %{_mandir}/man1/php.1.gz %{buildroot}%{_root_mandir}/man1/php.1.gz ln -s %{_mandir}/man1/phar.1.gz %{buildroot}%{_root_mandir}/man1/phar.1.gz ln -s %{_mandir}/man1/php-cgi.1.gz %{buildroot}%{_root_mandir}/man1/php-cgi.1.gz %post runtime # Simple copy of context from system root to SCL root. semanage fcontext -a -e / %{?_scl_root} &>/dev/null || : %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 semanage fcontext -a -e %{_root_sysconfdir} %{_sysconfdir} &>/dev/null || : semanage fcontext -a -e %{_root_localstatedir} %{_localstatedir} &>/dev/null || : %endif selinuxenabled && load_policy || : restorecon -R %{?_scl_root} &>/dev/null || : %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 restorecon -R %{_sysconfdir} &>/dev/null || : restorecon -R %{_localstatedir} &>/dev/null || : %endif %post build echo -e "\nThis script may take a long time to execute depending on your system; it can take up to 2 hours." dnf clean all dnf --disablerepo="*" --enablerepo="php56buildbaseos,php56appstream,php56extras,php56plus,php56powertools,php56epel,php56remi,php56remi-modular,php56remi-safe" --installroot=/opt/remi/php56/root/ -y install @core @development @fedora-packager bash bzip2 coreutils cpio diffutils epel-release epel-rpm-macros findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz bzip2-devel curl-devel libdb-devel pam-devel libstdc++-devel openssl-devel sqlite-devel zlib-devel smtpdaemon libedit-devel pcre-devel bzip2 perl autoconf automake make gcc gcc-c++ libtool libtool-ltdl-devel systemtap-sdt-devel libacl-devel krb5-devel libedit-devel libxml2-devel openssl-devel pcre-devel zlib-devel cmake3 libc-client-devel cyrus-sasl-devel openldap-devel postgresql-devel unixODBC-devel firebird-devel libxslt-devel libjpeg-devel libpng-devel freetype-devel libXpm-devel t1lib-devel libicu69-devel gd3php-devel libvpx-devel gmp-devel tokyocabinet-devel libmcrypt-devel libtidy-devel freetds-devel aspell-devel recode-devel enchant-devel dnf clean all %{!?_licensedir:%global license %%doc} %files %if 0%{?fedora} < 19 && 0%{?rhel} < 7 %files runtime %else %files runtime -f filesystem %endif %defattr(-,root,root) %license LICENSE %doc README %scl_files %{_root_mandir}/man7/%{scl_name}.* %{?_licensedir:%{_datadir}/licenses} %{_datadir}/tests %if ! %{with_modules} %{_root_datadir}/Modules/modulefiles/%{scl_name} %endif %if 0%{?fedora} < 26 && 0%{?rhel} < 8 %{_root_sysconfdir}/opt/%{scl_vendor}/%{scl} %{_root_localstatedir}/opt/%{scl_vendor}/%{scl} %endif %files build %defattr(-,root,root) %{macrosdir}/macros.%{scl}-config /etc/yum.repos.d/php56build.repo /opt/remi/php56/root/etc/yum.repos.d/php56build.repo %files scldevel %defattr(-,root,root) %{macrosdir}/macros.%{scl_name_base}-scldevel %changelog %files syspaths %{_root_sysconfdir}/php.ini %{_root_sysconfdir}/php.d %{_root_bindir}/php %{_root_bindir}/phar %{_root_bindir}/php-cgi %{_root_bindir}/php-config %{_root_bindir}/phpize %{_root_mandir}/man1/php.1.gz %{_root_mandir}/man1/phar.1.gz %{_root_mandir}/man1/php-cgi.1.gz %changelog * Wed Jun 21 2023 Remi Collet 5.6-1 - define %%scl_vendor and %%_scl_prefix in macros.Requires: %{?scl_prefix}-config - redefine %%__phpize and %%__phpconfig - move man page out of scl tree - improve the man page * Wed Feb 20 2019 Remi Collet 3.0-1 - add syspaths sub package providing system-wide wrappers * Mon Jan 21 2019 Remi Collet 2.3-3 - cleanup for EL-8 * Fri Aug 24 2018 Remi Collet 2.3-2 - scl-utils 2.0.2 drop modules support * Mon Aug 28 2017 Remi Collet - 2.3-1 - add symlinks for /etc/opt/remi/Requires: %{?scl_prefix} and /var/opt/remi/Requires: %{?scl_prefix} * Fri Mar 17 2017 Remi Collet - 2.2-1 - use rh_layout on F26 * Thu Mar 10 2016 Remi Collet 2.1-5 - add module file for EL * Wed Mar 9 2016 Remi Collet 2.1-4 - fix override for pecl_xmldir (F24) * Tue Jan 5 2016 Remi Collet 2.1-3 - add missing "sbin" in PATH (Fedora) * Fri Nov 13 2015 Remi Collet 2.1-2 - fix selinux context * Wed Mar 25 2015 Remi Collet 2.1-1 - fix licenses location - own directories for pecl packages * Mon Mar 2 2015 Remi Collet 2.0-3 - add environement module file * Wed Nov 26 2014 Remi Collet 2.0-2 - add LD_LIBRARY_PATH in enable script for embedded * Mon Sep 8 2014 Remi Collet 2.0-1 - provides Requires: %{?scl_prefix}-runtime(remi) - add _sclreq macro * Sun Aug 24 2014 Remi Collet 1.0-1 - initial packaging from php55 from rhscl 1.1 - install macro in /usr/lib/rpm/macros.d - each package requires runtime (for license) * Mon Mar 31 2014 Honza Horak - 1.1-7 - Fix path typo in README Related: #1061455 * Mon Mar 24 2014 Remi Collet 1.1-6 - own locale and man directories, #1074337 * Wed Feb 12 2014 Remi Collet 1.1-5 - avoid empty debuginfo subpackage - add LICENSE, README and php55.7 man page #1061455 - add scldevel subpackage #1063357 * Mon Jan 20 2014 Remi Collet 1.1-4 - rebuild with latest scl-utils #1054731 * Tue Nov 19 2013 Remi Collet 1.1-2 - fix scl_package_override * Tue Nov 19 2013 Remi Collet 1.1-1 - build for RHSCL 1.1 * Tue Sep 17 2013 Remi Collet 1-1.5 - add macros.php55-build for scl_package_override * Fri Aug 2 2013 Remi Collet 1-1 - initial packaging