-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphp-pdf.spec
More file actions
38 lines (28 loc) · 917 Bytes
/
php-pdf.spec
File metadata and controls
38 lines (28 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Name: php-pdf
Version: 0.11.25
Release: 1%{?dist}
Summary: PHP PDF Poppler/ PDFWriter Extension
Group: Development/Languages
License: Apache 2.0
URL: https://github.com/NobletSolutions/ext-pdf-writer
Source0: %{name}-%{version}.tar.bz2
BuildRequires: php-devel >= 7.1 php-cpp-devel pdf-writer-devel poppler-cpp-devel fontconfig-devel openssl-devel
BuildRequires: gcc gcc-c++ automake
Requires: php-cpp poppler-cpp pdf-writer = 4.0 openssl
Requires: fontconfig php-pdf-fonts mscorefonts
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
%description
PHP PDF Poppler / PDFWriter extension
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}`/usr/bin/php-config --extension-dir`
mkdir -p %{buildroot}/etc/php.d
%make_install
%files
%{_libdir}/php/modules/pdf.so
%{_sysconfdir}/php.d/60-pdf.ini
%changelog