diff options
Diffstat (limited to 'php-tcpdf.spec')
-rw-r--r-- | php-tcpdf.spec | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/php-tcpdf.spec b/php-tcpdf.spec index df7feb3..42c1118 100644 --- a/php-tcpdf.spec +++ b/php-tcpdf.spec @@ -1,13 +1,14 @@ # remirepo/Fedora spec file for php-tcpdf # -# Copyright (c) 2013-2021 Remi Collet, Johan Cwiklinski +# Copyright (c) 2013-2022 Remi Collet +# Copyright (c) 2013 Remi Collet, Johan Cwiklinski # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # # see https://github.com/tecnickcom/TCPDF/releases -%global gh_commit 172540dcbfdf8dc983bc2fe78feff48ff7ec1c76 +%global gh_commit 42cd0f9786af7e5db4fcedaa66f717b0d0032320 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner tecnickcom #global gh_date 20201209 @@ -16,7 +17,7 @@ Name: php-tcpdf Summary: PHP class for generating PDF documents and barcodes -Version: 6.4.2 +Version: 6.4.4 Release: 1%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist} URL: http://www.tcpdf.org @@ -248,19 +249,16 @@ install -m 0755 tools/%{real_name}_addfont.php \ %{buildroot}%{_bindir}/%{real_name}_addfont # Fonts -list="" for ttf in \ /usr/share/fonts/dejav*/*ttf \ /usr/share/fonts/gnu-free/*ttf \ -; do - list=$ttf${list:+,${list}} -done -php -d memory_limit=1G tools/tcpdf_addfont.php \ +; do php -d memory_limit=1G tools/tcpdf_addfont.php \ --addcbbox \ --flags 32 \ - --fonts $list \ + --fonts $ttf \ --link \ --outpath %{buildroot}%{_datadir}/php/%{real_name}/fonts/ +done ls %{buildroot}%{_datadir}/php/%{real_name}/fonts/dejavuserif* | sed -e 's:^%{buildroot}::' | tee dejavu-serif.lst @@ -324,6 +322,9 @@ php -r 'require "%{buildroot}%{_datadir}/php/%{real_name}/autoload.php"; %changelog +* Mon Jan 3 2022 Remi Collet <remi@remirepo.net> - 6.4.4-1 +- update to 6.4.4 + * Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 6.4.2-1 - update to 6.4.2 |