* Added Multi-Stage Dockerfile and Github action for release Docker images to ghcr.io and Docker Hub. [#16752] * Added `Phalcon\Mvc\Router::setUriSource()` to allow URI processing from `$_GET['url']` or `$_SERVER['REQUEST_URI']` as it was in v3 [#16741] * Fixed `Phalcon\Mvc\Router` to correctly handle numeric URI parts as it was in v3 [#16741] * Fixed `Phalcon\Mvc\Model\Binder` to use ReflectionParameter::getType() instead of deprecated method, PHP 8.0 or higher issue. [#16742] * Fixed `Phalcon\Mvc\Model\Query` to check if cache entry exists. [#16747] * Fixed `Phalcon\Mvc\Router` to correctly match route when using query string URIs. [#16749] * Fixed `Phalcon\Mvc\Model::cloneResultset` to properly parse fields that do not accept `null` values [#16736] - update to 5.9.2 * Fixed `Phalcon\Translate\Adapter\Csv` the `escape` argument is explicitly required in PHP 8.4 [#16733] * Fixed `Phalcon\Mvc\Model\Query` to use the cacheOptions lifetime over the "cache" service lifetime - update to 5.9.1 * Changed `Phalcon\Storage\Adapter\AbstractAdapter` and dropped `has()` check before receiving the value. [#16705] * Added `Phalcon\Html\Helper\Breadcrumbs` component to replace the old `Phalcon\Html\Breadcrumbs` component. [#16727] * Fixed `Phalcon\Mvc\Micro\LazyLoader::callMethod` to prevent `Unknown named parameter` error [#16724] OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-phalcon?expand=0&rev=43
81 lines
2.4 KiB
RPMSpec
81 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package php-phalcon
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define pkg_name phalcon
|
|
|
|
%define flavor @BUILD_FLAVOR@%{nil}
|
|
%if "%{flavor}" == "" || "%{flavor}" == "php7"
|
|
%define php_name php
|
|
ExclusiveArch: do-not-build
|
|
%else
|
|
%define php_name %{flavor}
|
|
%endif
|
|
%if 0%{?suse_version} <= 1500
|
|
%define php_extdir %(%{__php_config} --extension-dir)
|
|
%define php_cfgdir %{_sysconfdir}/%{php_name}/conf.d
|
|
%endif
|
|
|
|
Name: %{php_name}-%{pkg_name}
|
|
Version: 5.9.3
|
|
Release: 0
|
|
Summary: PHP Extension Module
|
|
License: BSD-3-Clause
|
|
Group: Development/Libraries/PHP
|
|
URL: https://pecl.php.net/package/%{pkg_name}
|
|
Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz
|
|
Source1: php-%{pkg_name}-rpmlintrc
|
|
BuildRequires: %{php_name}-ctype
|
|
BuildRequires: %{php_name}-devel
|
|
BuildRequires: %{php_name}-pdo
|
|
BuildRequires: %{php_name}-psr >= 0.7.0
|
|
BuildRequires: gcc
|
|
BuildRequires: %{php_name} < 8.5
|
|
Requires: %{php_name}-mysql
|
|
|
|
%description
|
|
Phalcon is a framework for PHP8 written as a C extension.
|
|
Zephir is a high-level language, something between C and PHP. It is
|
|
both dynamic and static typed and it supports the features we need to
|
|
create and maintain a project like Phalcon.
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
%build
|
|
export CFLAGS="%{optflags} -fvisibility=hidden -fpermissive"
|
|
%{__phpize}
|
|
%configure --enable-%{pkg_name}
|
|
%make_build
|
|
|
|
%install
|
|
make INSTALL_ROOT=%{buildroot} install-modules
|
|
mkdir -p %{buildroot}%{php_cfgdir}
|
|
cat >> %{buildroot}%{php_cfgdir}/%{pkg_name}.ini << EOF
|
|
; comment out next line to disable %{pkg_name} extension in php
|
|
extension=%{pkg_name}.so
|
|
EOF
|
|
|
|
%files
|
|
%defattr(644,root,root,755)
|
|
%license LICENSE.txt
|
|
%doc CODE_OF_CONDUCT.md CODE_OWNERS.TXT
|
|
%config(noreplace) %{php_cfgdir}/%{pkg_name}.ini
|
|
%{php_extdir}/%{pkg_name}.so
|
|
|
|
%changelog
|