public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-extras] eln: re-add imap/aspell (still in 8.3, dropped in 8.4)
Date: Wed, 28 Oct 2026 15:08:52 GMT [thread overview]
Message-ID: <179320013295.1.670347069650141761.rpms-php-extras-05ece23930df@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php-extras
Branch : eln
Commit : 05ece23930dfde06a2cf2e0a818e9f4dab5637ed
Author : Remi Collet <remi@fedoraproject.org>
Date : 2024-10-16T13:43:03+02:00
Stats : +73/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php-extras/c/05ece23930dfde06a2cf2e0a818e9f4dab5637ed?branch=eln
Log:
re-add imap/aspell (still in 8.3, dropped in 8.4)
---
diff --git a/php-extras.spec b/php-extras.spec
index bcfb0c2..0eb2b62 100644
--- a/php-extras.spec
+++ b/php-extras.spec
@@ -4,7 +4,9 @@
%bcond_without sodium
%bcond_without tidy
-# Disabled as dependencies not ready
+# Disabled as dependencies not available
+%bcond_with aspell
+%bcond_with imap
# https://bugzilla.redhat.com/2319127 - Please branch and build freetds for EPEL 10
%bcond_with freetds
# https://bugzilla.redhat.com/2319128 - Please branch and build firebird for EPEL 10
@@ -30,6 +32,23 @@ This package contains various additional extension for PHP, which
have not been included in the basic PHP package for RHEL.
+%if %{with imap}
+%package -n php-imap
+Summary: A module for PHP applications that use IMAP
+
+BuildRequires: krb5-devel, openssl-devel, libc-client-devel
+
+Requires: php(zend-abi) = %{php_zend_api}
+Requires: php(api) = %{php_core_api}
+
+%description -n php-imap
+The php-imap package module will add IMAP (Internet Message Access Protocol)
+support to PHP. IMAP is a protocol for retrieving and uploading e-mail messages
+on mail servers. PHP is an HTML-embedded scripting language. If you need IMAP
+support for PHP applications, you will need to install this package.
+%endif
+
+
%if %{with tidy}
%package -n php-tidy
Summary: Standard PHP module provides tidy library support
@@ -83,6 +102,21 @@ Interbase/Firebird databases.
%endif
+%if %{with aspell}
+%package -n php-pspell
+Summary: A module for PHP applications for using pspell interfaces
+
+BuildRequires: aspell-devel >= 0.50.0
+
+Requires: php(zend-abi) = %{php_zend_api}
+Requires: php(api) = %{php_core_api}
+
+%description -n php-pspell
+The php-pspell package contains a dynamic shared object that will add
+support for using the pspell library to PHP.
+%endif
+
+
%if %{with sodium}
%package -n php-sodium
Summary: Wrapper for the Sodium cryptographic library
@@ -108,12 +142,18 @@ low-level PHP extension for the libsodium cryptographic library.
%build
for mod in \
+%if %{with imap}
+ imap \
+%endif
%if %{with freetds}
pdo_dblib \
%endif
%if %{with firebird}
pdo_firebird \
%endif
+%if %{with aspell}
+ pspell \
+%endif
%if %{with sodium}
sodium \
%endif
@@ -126,12 +166,18 @@ for mod in \
%{__phpize}
%configure \
--with-libdir=%{_lib} \
+%if %{with imap}
+ --with-imap=shared --with-kerberos --with-imap-ssl \
+%endif
%if %{with freetds}
--with-pdo-dblib=shared,%{_prefix} \
%endif
%if %{with firebird}
--with-pdo-firebird=shared \
%endif
+%if %{with aspell}
+ --with-pspell=shared \
+%endif
%if %{with sodium}
--with-sodium=shared \
%endif
@@ -148,12 +194,18 @@ done
%check
for mod in \
+%if %{with imap}
+ imap \
+%endif
%if %{with freetds}
pdo_dblib \
%endif
%if %{with firebird}
pdo_firebird \
%endif
+%if %{with aspell}
+ pspell \
+%endif
%if %{with sodium}
sodium \
%endif
@@ -171,6 +223,12 @@ rm ext/tidy/tests/020.phpt
: upstream test suite for extension without Database
fail=0
for mod in \
+%if %{with imap}
+ imap \
+%endif
+%if %{with aspell}
+ pspell \
+%endif
%if %{with sodium}
sodium \
%endif
@@ -191,12 +249,18 @@ install -d %{buildroot}%{php_extdir}
install -d %{buildroot}%{php_inidir}
for mod in \
+%if %{with imap}
+ imap \
+%endif
%if %{with freetds}
pdo_dblib \
%endif
%if %{with firebird}
pdo_firebird \
%endif
+%if %{with aspell}
+ pspell \
+%endif
%if %{with sodium}
sodium \
%endif
@@ -219,6 +283,10 @@ done
# Notice: PHP License in php-common pulled by each package
+%if %{with imap}
+%files -n php-imap -f files.imap
+%endif
+
%if %{with firebird}
%files -n php-pdo-firebird -f files.pdo_firebird
%endif
@@ -227,6 +295,10 @@ done
%files -n php-pdo-dblib -f files.pdo_dblib
%endif
+%if %{with aspell}
+%files -n php-pspell -f files.pspell
+%endif
+
%if %{with sodium}
%files -n php-sodium -f files.sodium
%endif
reply other threads:[~2026-10-28 15:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179320013295.1.670347069650141761.rpms-php-extras-05ece23930df@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox