diff options
| author | Remi Collet <remi@remirepo.net> | 2026-05-13 08:39:40 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-05-13 08:39:40 +0200 |
| commit | 0ed8dfae74e55f6c335fd4e90275d92405bfc05d (patch) | |
| tree | f2320add95084e8a7f65ba65f94f8a2dc7c2bc1d | |
| parent | c9131bdbf396a021fb1f2ae4884f44915963c4ad (diff) | |
raise dependency on PHP 8.2
raise dependency on tc-lib-file 2.6
raise dependency on tc-lib-color 2.6
raise dependency on tc-lib-pdf-encrypt 2.3
| -rw-r--r-- | composer.json | 130 | ||||
| -rw-r--r-- | php-tecnickcom-tc-lib-pdf-image.spec | 31 |
2 files changed, 84 insertions, 77 deletions
diff --git a/composer.json b/composer.json index 274acc4..3051a57 100644 --- a/composer.json +++ b/composer.json @@ -1,68 +1,68 @@ { - "name": "tecnickcom/tc-lib-pdf-image", - "description": "PHP library containing PDF Image methods", - "type": "library", - "homepage": "https://tcpdf.org", - "license": "LGPL-3.0-or-later", - "keywords": [ - "tc-lib-pdf-image", - "PDF", - "image", - "PNG", - "JPEG", - "JPG" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" + "name": "tecnickcom/tc-lib-pdf-image", + "description": "PHP library containing PDF Image methods", + "type": "library", + "homepage": "https://tcpdf.org", + "license": "LGPL-3.0-or-later", + "keywords": [ + "tc-lib-pdf-image", + "PDF", + "image", + "PNG", + "JPEG", + "JPG" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/tecnickcom" + } + ], + "require": { + "php": ">=8.2", + "ext-gd": "*", + "ext-zlib": "*", + "tecnickcom/tc-lib-file": "^2.6", + "tecnickcom/tc-lib-color": "^2.6", + "tecnickcom/tc-lib-pdf-encrypt": "^2.3" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "require-dev": { + "pdepend/pdepend": "^2.16", + "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5", + "phpcompatibility/php-compatibility": "^10.0.0@dev" + }, + "autoload": { + "psr-4": { + "Com\\Tecnick\\Pdf\\Image\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Test\\": "test" + } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-pdf-image/issues", + "source": "https://github.com/tecnickcom/tc-lib-pdf-image" + }, + "scripts": { + "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test", + "cs-check": "./vendor/bin/mago --config ./mago.src.toml lint src && ./vendor/bin/mago --config ./mago.test.toml lint test", + "cs-fix": "./vendor/bin/mago fmt src test", + "analyse": "./vendor/bin/mago --config ./mago.src.toml analyze src && ./vendor/bin/mago --config ./mago.test.toml analyze test" } - ], - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/tecnickcom" - } - ], - "require": { - "php": ">=8.1", - "ext-gd": "*", - "ext-zlib": "*", - "tecnickcom/tc-lib-file": "^2.5", - "tecnickcom/tc-lib-color": "^2.5", - "tecnickcom/tc-lib-pdf-encrypt": "^2.2" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - }, - "require-dev": { - "pdepend/pdepend": "^2.16", - "phpmd/phpmd": "^2.15", - "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5 || ^10.5", - "squizlabs/php_codesniffer": "^4.0", - "phpcompatibility/php-compatibility": "^10.0.0@dev" - }, - "autoload": { - "psr-4": { - "Com\\Tecnick\\Pdf\\Image\\": "src" - } - }, - "autoload-dev": { - "psr-4": { "Test\\": "test" } - }, - "support": { - "issues": "https://github.com/tecnickcom/tc-lib-pdf-image/issues", - "source": "https://github.com/tecnickcom/tc-lib-pdf-image" - }, - "scripts": { - "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test", - "cs-check": "./vendor/bin/phpcs --standard=phpcs.xml", - "cs-fix": "./vendor/bin/phpcbf --ignore=\"./vendor/\" --standard=psr12 src test", - "analyse": "./vendor/phpstan.phar analyse" - } } diff --git a/php-tecnickcom-tc-lib-pdf-image.spec b/php-tecnickcom-tc-lib-pdf-image.spec index 85e0dfa..8e49e76 100644 --- a/php-tecnickcom-tc-lib-pdf-image.spec +++ b/php-tecnickcom-tc-lib-pdf-image.spec @@ -19,7 +19,7 @@ Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing PDF Image methods License: LGPL-3.0-or-later -Version: 2.2.2 +Version: 2.3.0 Release: 1%{?dist} %forgemeta @@ -34,25 +34,25 @@ BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 BuildRequires: php-gd BuildRequires: php-zlib -BuildRequires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.5 with php-composer(%{c_vendor}/tc-lib-file) < 3) -BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.5 with php-composer(%{c_vendor}/tc-lib-color) < 3) -BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.2 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) +BuildRequires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.6 with php-composer(%{c_vendor}/tc-lib-file) < 3) +BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.6 with php-composer(%{c_vendor}/tc-lib-color) < 3) +BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.3 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) %endif BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=8.1", +# "php": ">=8.2", # "ext-gd": "*", # "ext-zlib": "*", -# "tecnickcom/tc-lib-file": "^2.5", -# "tecnickcom/tc-lib-color": "^2.5", -# "tecnickcom/tc-lib-pdf-encrypt": "^2.2" -Requires: php(language) >= 8.1 +# "tecnickcom/tc-lib-file": "^2.6", +# "tecnickcom/tc-lib-color": "^2.6", +# "tecnickcom/tc-lib-pdf-encrypt": "^2.3" +Requires: php(language) >= 8.2 Requires: php-gd Requires: php-zlib -Requires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.5 with php-composer(%{c_vendor}/tc-lib-file) < 3) -Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.5 with php-composer(%{c_vendor}/tc-lib-color) < 3) -Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.2 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) +Requires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.6 with php-composer(%{c_vendor}/tc-lib-file) < 3) +Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.6 with php-composer(%{c_vendor}/tc-lib-color) < 3) +Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.3 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) # From phpcompatinfo report for version 2.0.8 # none Requires: php-composer(fedora/autoloader) @@ -125,6 +125,13 @@ exit $ret %changelog +* Wed May 13 2026 Remi Collet <remi@remirepo.net> - 2.3.0-1 +- update to 2.3.0 +- raise dependency on PHP 8.2 +- raise dependency on tc-lib-file 2.6 +- raise dependency on tc-lib-color 2.6 +- raise dependency on tc-lib-pdf-encrypt 2.3 + * Sun May 3 2026 Remi Collet <remi@remirepo.net> - 2.2.2-1 - update to 2.2.2 - raise dependency on tc-lib-file 2.5 |
