diff options
| -rw-r--r-- | composer.json | 124 | ||||
| -rw-r--r-- | php-tecnickcom-tc-lib-pdf-graph.spec | 24 |
2 files changed, 77 insertions, 71 deletions
diff --git a/composer.json b/composer.json index 3000180..809b11d 100644 --- a/composer.json +++ b/composer.json @@ -1,65 +1,65 @@ { - "name": "tecnickcom/tc-lib-pdf-graph", - "description": "PHP library containing PDF graphic and geometric methods", - "type": "library", - "homepage": "https://tcpdf.org", - "license": "LGPL-3.0-or-later", - "keywords": [ - "tc-lib-pdf-graph", - "PDF", - "graphic", - "geometry", - "transformation" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" + "name": "tecnickcom/tc-lib-pdf-graph", + "description": "PHP library containing PDF graphic and geometric methods", + "type": "library", + "homepage": "https://tcpdf.org", + "license": "LGPL-3.0-or-later", + "keywords": [ + "tc-lib-pdf-graph", + "PDF", + "graphic", + "geometry", + "transformation" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/tecnickcom" + } + ], + "require": { + "php": ">=8.2", + "ext-zlib": "*", + "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\\Graph\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Test\\": "test" + } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-pdf-graph/issues", + "source": "https://github.com/tecnickcom/tc-lib-pdf-graph" + }, + "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-zlib": "*", - "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\\Graph\\": "src" - } - }, - "autoload-dev": { - "psr-4": { "Test\\": "test" } - }, - "support": { - "issues": "https://github.com/tecnickcom/tc-lib-pdf-graph/issues", - "source": "https://github.com/tecnickcom/tc-lib-pdf-graph" - }, - "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-graph.spec b/php-tecnickcom-tc-lib-pdf-graph.spec index 42a1760..ef6cba2 100644 --- a/php-tecnickcom-tc-lib-pdf-graph.spec +++ b/php-tecnickcom-tc-lib-pdf-graph.spec @@ -19,7 +19,7 @@ Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing PDF graphic and geometric methods License: LGPL-3.0-or-later -Version: 2.4.24 +Version: 2.5.0 Release: 1%{?dist} %forgemeta @@ -32,20 +32,20 @@ BuildArch: noarch %global phpunit %{_bindir}/phpunit11 BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 -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-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-zlib": "*", -# "tecnickcom/tc-lib-color": "^2.5", -# "tecnickcom/tc-lib-pdf-encrypt": "^2.2" -Requires: php(language) >= 8.1 +# "tecnickcom/tc-lib-color": "^2.6", +# "tecnickcom/tc-lib-pdf-encrypt": "^2.3" +Requires: php(language) >= 8.2 Requires: php-zlib -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-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 1.4.2 # none Requires: php-composer(fedora/autoloader) @@ -116,6 +116,12 @@ exit $ret %changelog +* Wed May 13 2026 Remi Collet <remi@remirepo.net> - 2.5.0-1 +- update to 2.5.0 +- raise dependency on PHP 8.2 +- raise dependency on tc-lib-color 2.6 +- raise dependency on tc-lib-pdf-encrypt 2.3 + * Wed May 6 2026 Remi Collet <remi@remirepo.net> - 2.4.24-1 - update to 2.4.24 |
