Initial commit

This commit is contained in:
2026-08-30 22:02:02 +00:00
commit b6bd2277f5
2334 changed files with 646393 additions and 0 deletions
@@ -0,0 +1,42 @@
# SPEC file
%global c_vendor %{_vendor}
%global gh_owner %{_owner}
%global gh_project %{_project}
Name: %{_package}
Version: %{_version}
Release: %{_release}%{?dist}
Summary: %{_fontdir} fonts data for tc-lib-pdf-font
Group: Development/Libraries
License: %{_license}
URL: https://github.com/%{gh_owner}/%{gh_project}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildArch: noarch
Provides: php-%{gh_project} = %{version}
%description
This package contains data extracted from the %{_fontdir} fonts for the tc-lib-pdf-font library.
%build
#(cd %{_current_directory} && make build)
%install
rm -rf "$RPM_BUILD_ROOT"
(cd "%{_current_directory}" && make install DESTDIR="$RPM_BUILD_ROOT" PKGFONTDIR="%{_fontdir}")
%clean
rm -rf "$RPM_BUILD_ROOT"
#(cd %{_current_directory} && make clean)
%files
%attr(-,root,root) %{_fontpath}
%attr(-,root,root) %{_docpath}
%docdir %{_docpath}
%changelog
* Tue Dec 01 2026 Nicola Asuni <info@tecnick.com> 1.0.0-1
- Initial Commit
@@ -0,0 +1,55 @@
# SPEC file
%global c_vendor %{_vendor}
%global gh_owner %{_owner}
%global gh_project %{_project}
Name: %{_package}
Version: %{_version}
Release: %{_release}%{?dist}
Summary: PHP PDF Fonts Library
License: LGPL-3.0+
URL: https://github.com/%{gh_owner}/%{gh_project}
BuildArch: noarch
Requires: php(language) >= 8.2.0
Requires: php-hash
Requires: php-json
Requires: php-pcre
Requires: php-zlib
Requires: php-composer(%{c_vendor}/tc-lib-file) < 3.0.0
Requires: php-composer(%{c_vendor}/tc-lib-file) >= 3.7.3
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 3.0.0
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 3.0.2
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3.0.0
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.9.3
Requires: php-composer(%{c_vendor}/tc-lib-pdf-font-data-core) < 2.0.0
Requires: php-composer(%{c_vendor}/tc-lib-pdf-font-data-core) >= 1.8.7
Recommends: php-iconv
Recommends: php-mbstring
Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}
Provides: php-%{gh_project} = %{version}
%description
PHP library containing PDF font methods and utilities
%build
#(cd %{_current_directory} && make build)
%install
rm -rf "%{buildroot}"
(cd "%{_current_directory}" && make install DESTDIR="%{buildroot}")
%files
%attr(-,root,root) %{_libpath}
%attr(-,root,root) %{_docpath}
%docdir %{_docpath}
# Optional config files can be listed here when used by a project.
%changelog
* Mon Aug 10 2026 Nicola Asuni <info@tecnick.com> 1.0.0-1
- Initial Commit