@@ -1,66 +0,0 @@
---- php5-pdflib.spec.orig
-+++ php5-pdflib.spec
-@@ -1,24 +1,24 @@
- # norootforbuild
--%define pkg_name pdflib
--%define pkg_version 2.1.5
--%define php_version %(php-config --version 2>/dev/null)
-+%define pkg_name pdflib
-+%define pkg_version 2.1.5
-+%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
-
-@@ -58,9 +58,9 @@ popd
-
- %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,8 +68,8 @@ echo "extension = pdf.so" >> %{buildroot
-
- %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
-
|