Logoj0ke.net Open Build Service > Projects > home:jg:php5-extensions > php5-pdflib > Changes
Sign Up | Log In

Difference Between Revision 5 and internetx:php5:extensions / php5-pdflib

[-] Changed php5-pdflib.spec
x
 
1
@@ -1,24 +1,24 @@
2
 # norootforbuild
3
-%define        pkg_name    pdflib
4
-%define        pkg_version 3.0.4
5
-%define        php_version %(php-config --version 2>/dev/null)
6
+%define pkg_name    pdflib
7
+%define pkg_version 2.1.7
8
+%define php_version %(php-config --version 2>/dev/null)
9
 #
10
-Name:      php5-pdflib
11
-Version:   %{pkg_version}
12
-Release:   1
13
+Name: php-pdflib
14
+Version: %{pkg_version}
15
+Release: 0
16
 #
17
-License:   PHP
18
-Group:     Productivity/Networking/Web/Servers
19
+License: PHP
20
+Group: Productivity/Networking/Web/Servers
21
 #
22
-BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build
23
-BuildRequires: php5-devel libpdf6-devel gcc gcc-c++
24
-Requires:  php5 = %{php_version}
25
+BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build
26
+BuildRequires: php-devel PDFlib-Lite-devel gcc gcc-c++
27
+Requires: php = %{php_version}
28
 #
29
-URL:       http://pecl.php.net/
30
-Source:        http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz
31
+URL: http://pecl.php.net/
32
+Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz
33
 #make sure the extension understands lib64, most dont.
34
-##Patch0:      php5-pdflib-lib64.patch
35
-Summary:   Creating PDF on the fly with the PDFlib library
36
+Patch0: php5-pdflib-lib64.patch
37
+Summary: Creating PDF on the fly with the PDFlib library
38
 
39
 %description
40
 
41
@@ -33,7 +33,7 @@
42
 
43
 %prep
44
 %setup -n %{pkg_name}-%{version}
45
-# % patch0
46
+%patch0
47
 
48
 %{__mkdir} %{name}
49
 
50
@@ -58,9 +58,9 @@
51
 
52
 %install
53
 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot}
54
-%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d
55
-echo "; comment out next line to disable pdf extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/pdf.ini
56
-echo "extension = pdf.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/pdf.ini
57
+%{__mkdir} -p %{buildroot}%{_sysconfdir}/php.d
58
+echo "; comment out next line to disable pdf extension in php" > %{buildroot}%{_sysconfdir}/php.d/pdf.ini
59
+echo "extension = pdf.so" >> %{buildroot}%{_sysconfdir}/php.d/pdf.ini
60
 
61
 
62
 %clean
63
@@ -68,26 +68,12 @@
64
 
65
 %files
66
 %defattr(-,root,root,-)
67
-%{_libdir}/php5/extensions/pdf.so
68
-%config(noreplace) %{_sysconfdir}/php5/conf.d/pdf.ini
69
+%{_libdir}/php/modules/pdf.so
70
+%config(noreplace) %{_sysconfdir}/php.d/pdf.ini
71
 
72
 %doc CREDITS
73
 
74
 %changelog
75
-* Fri Apr 12 2013 Carsten Schoene <cs@linux-administrator.com> - 2.1.10-1
76
-- update to release 2.1.10
77
- - fix startup crash on PHP 5.4
78
-
79
-- changes in release 2.1.9
80
- - added support for PHP 5.4
81
-
82
-* Wed May 05 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.8-1
83
-- new release 2.1.8
84
- - PDFlib 7.0.5
85
- - support PHP 5.3 (don't use deprecated functions)
86
- - added php_check_open_basedir
87
- - added missing functions to oo php wrapper
88
-
89
 * Sun Mar 22 2009 Carsten Schoene <cs@linux-administrator.com>
90
 - new release 2.1.7
91
  - fixed [PECL-BUG] Bug #16066 [NEW]: Missing php_pdflib.h in archive
92