diff options
| -rw-r--r-- | composer.json | 124 | ||||
| -rw-r--r-- | php-tecnickcom-tc-lib-pdf-page.spec | 24 |
2 files changed, 77 insertions, 71 deletions
diff --git a/composer.json b/composer.json index 5125f10..fd11f18 100644 --- a/composer.json +++ b/composer.json @@ -1,65 +1,65 @@ { - "name": "tecnickcom/tc-lib-pdf-page", - "description": "PHP library containing PDF page formats and definitions", - "type": "library", - "homepage": "https://tcpdf.org", - "license": "LGPL-3.0-or-later", - "keywords": [ - "tc-lib-pdf-page", - "PDF", - "page", - "format" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" + "name": "tecnickcom/tc-lib-pdf-page", + "description": "PHP library containing PDF page formats and definitions", + "type": "library", + "homepage": "https://tcpdf.org", + "license": "LGPL-3.0-or-later", + "keywords": [ + "tc-lib-pdf-page", + "PDF", + "page", + "format" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/tecnickcom" + } + ], + "require": { + "php": ">=8.2", + "ext-date": "*", + "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\\Page\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Test\\": "test" + } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-pdf-page/issues", + "source": "https://github.com/tecnickcom/tc-lib-pdf-page" + }, + "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-date": "*", - "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\\Page\\": "src" - } - }, - "autoload-dev": { - "psr-4": { "Test\\": "test" } - }, - "support": { - "issues": "https://github.com/tecnickcom/tc-lib-pdf-page/issues", - "source": "https://github.com/tecnickcom/tc-lib-pdf-page" - }, - "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-page.spec b/php-tecnickcom-tc-lib-pdf-page.spec index 99b6611..009c0e5 100644 --- a/php-tecnickcom-tc-lib-pdf-page.spec +++ b/php-tecnickcom-tc-lib-pdf-page.spec @@ -19,7 +19,7 @@ Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing PDF page formats and definitions License: LGPL-3.0-or-later -Version: 4.3.23 +Version: 4.4.0 Release: 1%{?dist} %forgemeta @@ -32,24 +32,24 @@ 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) BuildRequires: php-date BuildRequires: php-zlib %endif BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=8.1" +# "php": ">=8.2" # "ext-date": "*", # "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-date 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 2.0.1 # None Requires: php-composer(fedora/autoloader) @@ -120,6 +120,12 @@ exit $ret %changelog +* Wed May 13 2026 Remi Collet <remi@remirepo.net> - 4.4.0-1 +- update to 4.4.0 +- raise dependency on PHP 8.2 +- 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> - 4.3.23-1 - update to 4.3.23 (no change) - raise dependency on tc-lib-color 2.5 |
