From 563034df77e4dc6145741c05b038cd2df0c0e057 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 Apr 2026 09:45:42 +0200 Subject: update to 6.11.3 --- composer.json | 37 +++++++++++++++++++++++++++++++++---- php-tcpdf.spec | 22 +++++++++++----------- 2 files changed, 44 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 8164468..cc5904d 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "tecnickcom/tcpdf", "type": "library", - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "description": "Deprecated legacy PDF engine for PHP. For new projects use tecnickcom/tc-lib-pdf.", "keywords": [ "PDF", "tcpdf", @@ -11,8 +11,7 @@ "pdf417", "barcodes" ], - "homepage": "http://www.tcpdf.org/", - "version": "6.11.1", + "homepage": "https://tcpdf.org", "license": "LGPL-3.0-or-later", "authors": [ { @@ -25,6 +24,17 @@ "php": ">=7.1.0", "ext-curl": "*" }, + "suggest": { + "tecnickcom/tc-lib-pdf": "Modern replacement for TCPDF for new projects.", + "ext-gd": "Enables additional image handling in some workflows.", + "ext-imagick": "Enables additional image format support when available.", + "ext-zlib": "Recommended for compressed streams and related features." + }, + "minimum-stability": "dev", + "prefer-stable": true, + "config": { + "sort-packages": true + }, "autoload": { "classmap": [ "config", @@ -42,5 +52,24 @@ "include/barcodes/pdf417.php", "include/barcodes/qrcode.php" ] - } + }, + "archive": { + "exclude": [ + "/.github", + "/.phpdoc", + "/examples", + "/scripts", + "/tests" + ] + }, + "support": { + "issues": "https://github.com/tecnickcom/TCPDF/issues", + "source": "https://github.com/tecnickcom/TCPDF" + }, + "funding": [ + { + "type": "paypal", + "url": "https://www.paypal.com/donate/?hosted_button_id=NZUEC5XS8MFBJ" + } + ] } diff --git a/php-tcpdf.spec b/php-tcpdf.spec index 95a1f49..0744ccd 100644 --- a/php-tcpdf.spec +++ b/php-tcpdf.spec @@ -6,23 +6,20 @@ # # Please, preserve the changelog entries # -# see https://github.com/tecnickcom/TCPDF/releases -%global gh_commit e1e2ade18e574e963473f53271591edd8c0033ec -%global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner tecnickcom -%global gh_date 2026-03-03 %global gh_project TCPDF %global real_name tcpdf +%global forgeurl https://github.com/%{gh_owner}/%{gh_project} +%global tag %{version} Name: php-tcpdf Summary: PHP class for generating PDF documents and barcodes -Version: 6.11.2 -Release: 1%{?dist} - -URL: http://www.tcpdf.org License: LGPL-3.0-or-later - -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{?gh_short}.tar.gz +Version: 6.11.3 +Release: 1%{?dist} +%forgemeta +URL: https://tcpdf.org/ +Source0: %{forgesource} # Disable opcache cahing for font metadata which may consume up to 90MB Source1: %{name}.blacklist # See https://github.com/tecnickcom/TCPDF/commit/744c9ffa3be021782476c39cf97e242dbe504f7a#commitcomment-151792556 @@ -207,7 +204,7 @@ This package allow to use system GNU FreeFont serif font faces in TCPDF. %prep -%setup -q -n %{gh_project}-%{gh_commit} +%forgesetup #: Fix version #sed -e '/tcpdf_version/s/6.6.0/%{version}/' -i include/tcpdf_static.php @@ -331,6 +328,9 @@ php -r 'require "%{buildroot}%{_datadir}/php/%{real_name}/autoload.php"; %changelog +* Wed Apr 22 2026 Remi Collet - 6.11.3-1 +- update to 6.11.3 + * Tue Mar 3 2026 Remi Collet - 6.11.2-1 - update to 6.11.2 -- cgit