Initial commit

This commit is contained in:
2026-08-20 11:41:17 +00:00
commit 6949695eac
2334 changed files with 646393 additions and 0 deletions
@@ -0,0 +1,45 @@
# SPEC file
%global c_vendor %{_vendor}
%global gh_owner %{_owner}
%global gh_project %{_project}
Name: %{_package}
Version: %{_version}
Release: %{_release}%{?dist}
Summary: PHP library to parse PDF documents
License: LGPLv3+
URL: https://github.com/%{gh_owner}/%{gh_project}
BuildArch: noarch
Requires: php(language) >= 8.2.0
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) < 2.0.0
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.10.3
Requires: php-pcre
Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}
Provides: php-%{gh_project} = %{version}
%description
PHP library to parse PDF documents.
%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
* Thu Jul 02 2026 Nicola Asuni <info@tecnick.com> 2.1.0-1
- Changed package name, add provides section
* Tue May 05 2026 Nicola Asuni <info@tecnick.com> 2.0.0-1
- Initial Commit