Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
php5-extensions
>
php5-pdflib
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Difference Between Revision 5 and
internetx:php5:extensions
/
php5-pdflib
[-]
[+]
Changed
php5-pdflib.spec
@@ -1,24 +1,24 @@ # norootforbuild -%define pkg_name pdflib -%define pkg_version 3.0.4 -%define php_version %(php-config --version 2>/dev/null) +%define pkg_name pdflib +%define pkg_version 2.1.7 +%define php_version %(php-config --version 2>/dev/null) # -Name: php5-pdflib -Version: %{pkg_version} -Release: 1 +Name: php-pdflib +Version: %{pkg_version} +Release: 0 # -License: PHP -Group: Productivity/Networking/Web/Servers +License: PHP +Group: Productivity/Networking/Web/Servers # -BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build -BuildRequires: php5-devel libpdf6-devel gcc gcc-c++ -Requires: php5 = %{php_version} +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +BuildRequires: php-devel PDFlib-Lite-devel gcc gcc-c++ +Requires: php = %{php_version} # -URL: http://pecl.php.net/ -Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz +URL: http://pecl.php.net/ +Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz #make sure the extension understands lib64, most dont. -##Patch0: php5-pdflib-lib64.patch -Summary: Creating PDF on the fly with the PDFlib library +Patch0: php5-pdflib-lib64.patch +Summary: Creating PDF on the fly with the PDFlib library %description @@ -33,7 +33,7 @@ %prep %setup -n %{pkg_name}-%{version} -# % patch0 +%patch0 %{__mkdir} %{name} @@ -58,9 +58,9 @@ %install %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} -%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d -echo "; comment out next line to disable pdf extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/pdf.ini -echo "extension = pdf.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/pdf.ini +%{__mkdir} -p %{buildroot}%{_sysconfdir}/php.d +echo "; comment out next line to disable pdf extension in php" > %{buildroot}%{_sysconfdir}/php.d/pdf.ini +echo "extension = pdf.so" >> %{buildroot}%{_sysconfdir}/php.d/pdf.ini %clean @@ -68,26 +68,12 @@ %files %defattr(-,root,root,-) -%{_libdir}/php5/extensions/pdf.so -%config(noreplace) %{_sysconfdir}/php5/conf.d/pdf.ini +%{_libdir}/php/modules/pdf.so +%config(noreplace) %{_sysconfdir}/php.d/pdf.ini %doc CREDITS %changelog -* Fri Apr 12 2013 Carsten Schoene <cs@linux-administrator.com> - 2.1.10-1 -- update to release 2.1.10 - - fix startup crash on PHP 5.4 - -- changes in release 2.1.9 - - added support for PHP 5.4 - -* Wed May 05 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.8-1 -- new release 2.1.8 - - PDFlib 7.0.5 - - support PHP 5.3 (don't use deprecated functions) - - added php_check_open_basedir - - added missing functions to oo php wrapper - * Sun Mar 22 2009 Carsten Schoene <cs@linux-administrator.com> - new release 2.1.7 - fixed [PECL-BUG] Bug #16066 [NEW]: Missing php_pdflib.h in archive