From cf0f397ffdd672fd98185b1c7fb95647b0632a32 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Jun 2026 15:58:42 +0200 Subject: update to 1.3.0 --- php-iliaal-fastchart.spec | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'php-iliaal-fastchart.spec') diff --git a/php-iliaal-fastchart.spec b/php-iliaal-fastchart.spec index 8f3b4ab..605b114 100644 --- a/php-iliaal-fastchart.spec +++ b/php-iliaal-fastchart.spec @@ -6,13 +6,12 @@ # # Please, preserve the changelog entries # -%if 0%{?scl:1} -%scl_package php-iliaal-fastchart -%else -%global pkg_name %{name} -%endif +%{?scl:%scl_package php-iliaal-fastchart} -%bcond_without tests +%bcond_without tests +# On Fedora >= 44 +# In remirepo for others +%bcond_without pdfio %global gh_owner iliaal %global gh_project fastchart @@ -30,7 +29,7 @@ Summary: Native C PHP extension for fast chart rendering # Extension is BSD-3-Clause # Libraries are MIT License: BSD-3-Clause AND MIT -Version: 1.2.0 +Version: 1.3.0 Release: 1%{?dist} %forgemeta URL: %{forgeurl} @@ -38,8 +37,6 @@ Source0: %{forgesource} # RPM font path first and remove Windows fonts Patch0: %{pie_proj}-rpm.patch -# https://github.com/iliaal/fastchart/pull/9 -Patch1: %{pie_proj}-tests.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -48,6 +45,9 @@ BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libwebp) +%if %{with pdfio} +BuildRequires: pkgconfig(pdfio) +%endif # for tests # See list in tests/_font_candidates.inc.php # /usr/share/fonts/lato-fonts/Lato-Regular.ttf @@ -69,9 +69,6 @@ Provides: bundled(qrcodegen) # Extension Provides: %{?scl_prefix}php-%{ext_name} = %{version} Provides: %{?scl_prefix}php-%{ext_name}%{?_isa} = %{version} -# PECL -Provides: %{?scl_prefix}php-pecl-%{ext_name} = %{version} -Provides: %{?scl_prefix}php-pecl-%{ext_name}%{?_isa} = %{version} # PIE Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} @@ -97,7 +94,6 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %forgesetup %patch -P0 -p1 -b .rpm -%patch -P1 -p1 -b .pr cp vendor/qrcodegen/LICENSE qrcodegen_LICENSE cp vendor/plutovg/LICENSE plutovg_LICENSE @@ -126,6 +122,9 @@ sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global %configure \ --with-php-config=%{__phpconfig} \ --with-libdir=%{_lib} \ +%if %{with pdfio} + --with-pdfio \ +%endif --enable-fastchart %make_build @@ -168,6 +167,9 @@ TEST_PHP_ARGS="-n -d extension=gd -d extension=simplexml -d extension=%{buildroo %changelog +* Tue Jun 16 2026 Remi Collet - 1.3.0-1 +- update to 1.3.0 + * Fri Jun 12 2026 Remi Collet - 1.2.0-1 - update to 1.2.0 - open https://github.com/iliaal/fastchart/pull/9 relax test expectations -- cgit