]> git.pld-linux.org Git - packages/php.git/blob - php.spec
Dodanie loga i opisu PLD w funkcji phpinfo()
[packages/php.git] / php.spec
1 #
2 # Conditional build:
3 # _with_oracle  - with oracle support 
4 # _with_oci8    - with oci8 support
5 # _with_java    - with Java support
6 # _with_openssl - with OpenSSL support
7 # _with_wddx    - with WDDX support
8 # _with_xslt    - with XSLT support
9 # _without_imap   - without IMAP support
10 # _without_ldap   - without LDAP support
11 # _without_odbc   - without ODBC support
12 # _without_snmp   - without SNMP support
13 #
14 Summary:        The PHP HTML-embedded scripting language for use with Apache
15 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
16 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
17 Name:           php
18 Version:        4.0.6
19 Release:        3
20 Epoch:          1
21 Group:          Libraries
22 Group(de):      Libraries
23 Group(es):      Bibliotecas
24 Group(fr):      Librairies
25 Group(pl):      Biblioteki
26 License:        The PHP license (see "LICENSE" file included in distribution)
27 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.gz
28 Source1:        FAQ.php
29 Source2:        %{name}.ini
30 Source3:        zend.gif
31 Source4:        http://www.php.net/distributions/manual.tar.gz
32 Source5:        php-module-install
33 Patch0:         %{name}-imap.patch
34 Patch1:         %{name}-mysql-socket.patch
35 Patch2:         %{name}-mail.patch
36 Patch3:         %{name}-link-libs.patch
37 #Patch4:                %{name}-DESTDIR.patch
38 #Patch5:                %{name}-gd-shared.patch
39 Patch6:         %{name}-session-path.patch
40 #Patch7:                %{name}-libtool_version_check_fix.patch
41 #Patch8:                %{name}-pdflib.patch
42 Patch9:         %{name}-am_ac_lt.patch
43 Patch10:        %{name}-fastcgi.patch
44 Patch11:        %{name}-shared.patch
45 Patch12:        %{name}-ac250.patch
46 Patch13:        %{name}-pearinstall.patch
47 #Patch14:       %{name}-linking.patch
48 Patch15:        %{name}-pldlogo.patch
49 Icon:           php4.gif
50 URL:            http://www.php.net/
51 BuildRequires:  apache(EAPI)-devel
52 BuildRequires:  zip
53 BuildRequires:  bison
54 BuildRequires:  flex
55 BuildRequires:  perl
56 BuildRequires:  db3-devel >= 3.1.17
57 BuildRequires:  freetype-devel >= 2.0
58 BuildRequires:  gd-devel >= 2.0.1
59 BuildRequires:  gdbm-devel
60 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
61 # I think jdk is better for java
62 # BuildRequires:        jdk
63 %{?_with_java:BuildRequires:    kaffe-devel}
64 BuildRequires:  libjpeg-devel
65 BuildRequires:  libltdl-devel >= 1.4
66 BuildRequires:  libpng >= 1.0.8
67 BuildRequires:  libtiff-devel
68 BuildRequires:  libtool >= 1.4
69 BuildRequires:  automake >= 1.4d
70 BuildRequires:  autoconf >= 1.4
71 BuildRequires:  mm-devel >= 1.1.3
72 BuildRequires:  mysql-devel >= 3.23.32
73 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
74 BuildRequires:  pam-devel
75 BuildRequires:  pdflib-devel >= 4.0.0
76 #BuildRequires: libxml-devel >= 2.0.0
77 BuildRequires:  postgresql-devel
78 BuildRequires:  recode-devel >= 3.5d-3
79 BuildRequires:  t1lib-devel
80 %{!?_without_odbc:BuildRequires: unixODBC-devel}
81 BuildRequires:  zlib-devel >= 1.0.9
82 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.1-8}
83 BuildRequires:  libmcrypt-devel >= 2.4.4
84 BuildRequires:  mhash-devel
85 BuildRequires:  bzip2-devel
86 BuildRequires:  gmp-devel
87 BuildRequires:  curl-devel
88 #BuildRequires: fastcgi-devkit
89 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
90 BuildRequires:  openssl-devel >= 0.9.6a
91 %endif
92 %{?_with_xslt:BuildRequires:    sablotron-devel}
93 %{?_with_xslt:BuildRequires:    expat-devel}
94 %{?_with_xslt:BuildRequires:    w3c-libwww-devel}
95 Prereq:         apache(EAPI) >= 1.3.9
96 Prereq:         perl
97 Prereq:         %{_sbindir}/apxs
98 PreReq:         %{name}-common = %{version}
99 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100 Obsoletes:      phpfi
101
102 %define         _sysconfdir     /etc/php
103 %define         extensionsdir %{_libdir}/php
104 %define         peardir         %{_datadir}/pear
105
106 %description
107 PHP is an HTML-embedded scripting language. PHP attempts to make it
108 easy for developers to write dynamically generated web pages. PHP also
109 offers built-in database integration for several commercial and
110 non-commercial database management systems, so writing a
111 database-enabled web page with PHP is fairly simple. The most common
112 use of PHP coding is probably as a replacement for CGI scripts. The
113 mod_php module enables the Apache web server to understand and process
114 the embedded PHP language in web pages. This package contains PHP
115 version %{version}. If you use applications which specifically rely on
116 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
117 module contained in the phpfi package. If you're just starting with
118 PHP, you should install this package. You'll also need to install the
119 Apache web server.
120
121 %description -l fr
122 PHP est un langage de script embarque dans le HTM. PHP essaye de
123 rendre simple aux developpeurs d'ecrire des pages web generees
124 dynamiquement. PHP incorpore egalement une integration avec plusieurs
125 systemes de gestion de bases de donnees commerciaux et
126 non-connerciaux, qui rent facile la creation de pages web liees avec
127 des bases de donnees. L'utilisation la plus commune de PHP est
128 probablement en remplacement de scripts CGI. Le module mod_php permet
129 au serveur web apache de comprendre et de traiter le langage PHP
130 integre dans des pages web. Ce package contient PHP version
131 %{version}. Si vous utilisez des applications qui utilisent
132 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
133 dans le package mod_php. Si vous debutez avec PHP, vous devriez
134 installer ce package. Vous aurez egalement besoin d'installer le
135 serveur web Apache.
136
137 %description -l pl
138 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
139 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
140 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
141 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
142 zosta³a z jêzyków: C, Java i Perl.
143
144 %package cgi
145 Summary:        PHP as CGI program
146 Summary(pl):    PHP jako program CGI
147 Group:          Libraries
148 Group(de):      Libraries
149 Group(es):      Bibliotecas
150 Group(fr):      Librairies
151 Group(pl):      Biblioteki
152 PreReq:         %{name}-common = %{version}
153
154 %description cgi
155 PHP as CGI program.
156
157 %description cgi -l pl
158 PHP jako program CGI.
159
160 %package common
161 Summary:        Common files nneded by both apache module and CGI
162 Summary(pl):    Wspólne pliki dla modu³u apacha i programu CGI
163 Group:          Libraries
164 Group(de):      Libraries
165 Group(es):      Bibliotecas
166 Group(fr):      Librairies
167 Group(pl):      Biblioteki
168
169 %description common
170 Common files needed by both apache module and CGI.
171
172 %description common -l pl
173 Wspólne pliki dla modu³u apacha i programu CGI.
174
175 %package mysql
176 Summary:        MySQL database module for PHP
177 Summary(pl):    Modu³ bazy danych MySQL dla PHP
178 Group:          Libraries
179 Group(de):      Libraries
180 Group(es):      Bibliotecas
181 Group(fr):      Librairies
182 Group(pl):      Biblioteki
183 PreReq:         %{name}-common = %{version}
184
185 %description mysql
186 This is a dynamic shared object (DSO) for Apache that will add MySQL
187 database support to PHP. If you need back-end support for MySQL, you
188 should install this package in addition to the main %{name} package.
189
190 %description mysql -l pl
191 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
192
193 %package pdf
194 Summary:        libPDF module for PHP
195 Summary(pl):    Modu³ do tworzenia plików PDF dla PHP
196 Group:          Libraries
197 Group(de):      Libraries
198 Group(es):      Bibliotecas
199 Group(fr):      Librairies
200 Group(pl):      Biblioteki
201 PreReq:         %{name}-common = %{version}
202 PreReq:         pdflib
203
204 %description pdf
205 This is a dynamic shared object (DSO) for Apache that will add PDF
206 support to PHP.
207
208 %description pdf -l pl
209 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
210 pdflib.
211
212 %package pgsql
213 Summary:        PostgreSQL database module for PHP
214 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
215 Group:          Libraries
216 Group(de):      Libraries
217 Group(es):      Bibliotecas
218 Group(fr):      Librairies
219 Group(pl):      Biblioteki
220 PreReq:         %{name}-common = %{version}
221
222 %description pgsql
223 This is a dynamic shared object (DSO) for Apache that will add
224 PostgreSQL database support to PHP. If you need back-end support for
225 PostgreSQL, you should install this package in addition to the main
226 %{name} package.
227
228 %description pgsql -l pl
229 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
230
231 %package oci8
232 Summary:        Oracle 8 database module for PHP
233 Summary(pl):    Modu³ bazy danych Oracle 8 dla PHP
234 Group:          Libraries
235 Group(de):      Libraries
236 Group(es):      Bibliotecas
237 Group(fr):      Librairies
238 Group(pl):      Biblioteki
239 PreReq:         %{name}-common = %{version}
240 Autoreq:        false
241
242 %description oci8
243 This is a dynamic shared object (DSO) for Apache that will add Oracle
244 8 database support to PHP. If you need back-end support for Oracle 8,
245 you should install this package in addition to the main %{name}
246 package.
247
248 %description oci8 -l pl
249 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 8.
250
251 %package oracle
252 Summary:        Oracle 7 database module for PHP
253 Summary(pl):    Modu³ bazy danych Oracle 7 dla PHP
254 Group:          Libraries
255 Group(de):      Libraries
256 Group(es):      Bibliotecas
257 Group(fr):      Librairies
258 Group(pl):      Biblioteki
259 PreReq:         %{name}-common = %{version}
260 Autoreq:        false
261
262 %description oracle
263 This is a dynamic shared object (DSO) for Apache that will add Oracle
264 7 database support to PHP. If you need back-end support for Oracle 7,
265 you should install this package in addition to the main %{name}
266 package.
267
268 %description oracle -l pl
269 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
270
271 %package gd
272 Summary:        GD extension module for PHP
273 Summary:        Modu³ GD dla PHP
274 Group:          Libraries
275 Group(de):      Libraries
276 Group(es):      Bibliotecas
277 Group(fr):      Librairies
278 Group(pl):      Biblioteki
279 PreReq:         %{name}-common = %{version}
280
281 %description gd
282 This is a dynamic shared object (DSO) for Apache that will add GD
283 support to PHP. You should install this package in addition to the
284 main %{name} package if you want to create and manipulate images with
285 PHP.
286
287 %description gd -l pl
288 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
289 obrazków z poziomu PHP.
290
291 %package java
292 Summary:        Java extension module for PHP
293 Summary(pl):    Modu³ Javy dla PHP
294 Group:          Libraries
295 Group(de):      Libraries
296 Group(es):      Bibliotecas
297 Group(fr):      Librairies
298 Group(pl):      Biblioteki
299 PreReq:         %{name}-common = %{version}
300
301 %description java
302 This is a dynamic shared object (DSO) for Apache that will add JAVA
303 support to PHP. This extension provides a simple and effective means
304 for creating and invoking methods on Java objects from PHP.
305
306 %description java -l pl
307 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
308 obiektów Javy z poziomu PHP.
309
310 %package xml
311 Summary:        XML extension module for PHP
312 Summary(pl):    Modu³ XML dla PHP
313 Group:          Libraries
314 Group(de):      Libraries
315 Group(es):      Bibliotecas
316 Group(fr):      Librairies
317 Group(pl):      Biblioteki
318 PreReq:         %{name}-common = %{version}
319
320 %description xml
321 This is a dynamic shared object (DSO) for Apache that will add XML
322 support to PHP. This extension lets you create XML parsers and then
323 define handlers for different XML events. If you want to be able to
324 parse XML documents you should install this package in addition to the
325 main %{name} package.
326
327 %description xml -l pl
328 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
329 zwi±zanych z tymi plikami.
330
331 %package dba
332 Summary:        DBA extension module for PHP
333 Summary(pl):    Modu³ DBA dla PHP
334 Group:          Libraries
335 Group(de):      Libraries
336 Group(es):      Bibliotecas
337 Group(fr):      Librairies
338 Group(pl):      Biblioteki
339 PreReq:         %{name}-common = %{version}
340
341 %description dba
342 This is a dynamic shared object (DSO) for Apache that will add
343 flat-file databases (DBA) support to PHP.
344
345 #%description dba -l pl
346
347 %package odbc
348 Summary:        ODBC extension module for PHP
349 Summary(pl):    Modu³ ODBC dla PHP
350 Group:          Libraries
351 Group(de):      Libraries
352 Group(es):      Bibliotecas
353 Group(fr):      Librairies
354 Group(pl):      Biblioteki
355 PreReq:         %{name}-common = %{version}
356
357 %description odbc
358 This is a dynamic shared object (DSO) for Apache that will add ODBC
359 support to PHP.
360
361 %description odbc -l pl
362 Modu³ PHP ze wsparciem dla ODBC.
363
364 %package calendar
365 Summary:        Calendar extension module for PHP
366 Summary(pl):    Modu³ funkcji kalendarza dla PHP
367 Group:          Libraries
368 Group(de):      Libraries
369 Group(es):      Bibliotecas
370 Group(fr):      Librairies
371 Group(pl):      Biblioteki
372 PreReq:         %{name}-common = %{version}
373
374 %description calendar
375 This is a dynamic shared object (DSO) for Apache that will add
376 calendar support to PHP.
377
378 #%description calendar -l pl
379
380 %package dbase
381 Summary:        DBase extension module for PHP
382 Summary(pl):    Modu³ DBase dla PHP
383 Group:          Libraries
384 Group(de):      Libraries
385 Group(es):      Bibliotecas
386 Group(fr):      Librairies
387 Group(pl):      Biblioteki
388 PreReq:         %{name}-common = %{version}
389
390 %description dbase
391 This is a dynamic shared object (DSO) for Apache that will add DBase
392 support to PHP.
393
394 %description dbase -l pl
395 Modu³ PHP ze wsparciem dla DBase.
396
397 %package filepro
398 Summary:        FilePro extension module for PHP
399 Summary(pl):    Modu³ FilePro dla PHP
400 Group:          Libraries
401 Group(de):      Libraries
402 Group(es):      Bibliotecas
403 Group(fr):      Librairies
404 Group(pl):      Biblioteki
405 PreReq:         %{name}-common = %{version}
406
407 %description filepro
408 This is a dynamic shared object (DSO) for Apache that will add FilePro
409 support to PHP.
410
411 #%description filepro -l pl
412
413 %package posix
414 Summary:        POSIX extension module for PHP
415 Summary(pl):    Modu³ POSIX dla PHP
416 Group:          Libraries
417 Group(de):      Libraries
418 Group(es):      Bibliotecas
419 Group(fr):      Librairies
420 Group(pl):      Biblioteki
421 PreReq:         %{name}-common = %{version}
422
423 %description posix
424 This is a dynamic shared object (DSO) for Apache that will add POSIX
425 functions support to PHP.
426
427 %description posix -l pl
428 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
429
430 %package pcre
431 Summary:        PCRE extension module for PHP
432 Summary(pl):    Modu³ PCRE dla PHP
433 Group:          Libraries
434 Group(de):      Libraries
435 Group(es):      Bibliotecas
436 Group(fr):      Librairies
437 Group(pl):      Biblioteki
438 PreReq:         %{name}-common = %{version}
439
440 %description pcre
441 This is a dynamic shared object (DSO) for Apache that will add Perl
442 Compatible Regular Expression support to PHP.
443
444 %description pcre -l pl
445 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
446 (Perl Compatible Regular Expressions)
447
448 %package sysvsem
449 Summary:        SysV sem extension module for PHP
450 Summary(pl):    Modu³ SysV sem dla PHP
451 Group:          Libraries
452 Group(de):      Libraries
453 Group(es):      Bibliotecas
454 Group(fr):      Librairies
455 Group(pl):      Biblioteki
456 PreReq:         %{name}-common = %{version}
457
458 %description sysvsem
459 This is a dynamic shared object (DSO) for Apache that will add SysV
460 semafores support to PHP.
461
462 %description sysvsem -l pl
463 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
464
465 %package sysvshm
466 Summary:        SysV shm extension module for PHP
467 Summary(pl):    Modu³ SysV shm dla PHP
468 Group:          Libraries
469 Group(de):      Libraries
470 Group(es):      Bibliotecas
471 Group(fr):      Librairies
472 Group(pl):      Biblioteki
473 PreReq:         %{name}-common = %{version}
474
475 %description sysvshm
476 This is a dynamic shared object (DSO) for Apache that will add SysV
477 Shared Memory support to PHP.
478
479 %description sysvshm -l pl
480 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
481
482 %package yp
483 Summary:        NIS (yp) extension module for PHP
484 Summary(pl):    Modu³ NIS (yp) dla PHP
485 Group:          Libraries
486 Group(de):      Libraries
487 Group(es):      Bibliotecas
488 Group(fr):      Librairies
489 Group(pl):      Biblioteki
490 PreReq:         %{name}-common = %{version}
491
492 %description yp
493 This is a dynamic shared object (DSO) for Apache that will add NIS
494 (Yellow Pages) support to PHP.
495
496 #%description yp -l pl
497
498 %package bcmath
499 Summary:        bcmath extension module for PHP
500 Summary(pl):    Modu³ bcmath dla PHP
501 Group:          Libraries
502 Group(de):      Libraries
503 Group(es):      Bibliotecas
504 Group(fr):      Librairies
505 Group(pl):      Biblioteki
506 PreReq:         %{name}-common = %{version}
507
508 %description bcmath
509 This is a dynamic shared object (DSO) for Apache that will add bc
510 style precision math functions support to PHP.
511
512 %description bcmath -l pl
513 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
514 matematycznych takich jak w programie bc.
515
516 %package ftp
517 Summary:        FTP extension module for PHP
518 Summary(pl):    Modu³ FTP dla PHP
519 Group:          Libraries
520 Group(de):      Libraries
521 Group(es):      Bibliotecas
522 Group(fr):      Librairies
523 Group(pl):      Biblioteki
524 PreReq:         %{name}-common = %{version}
525
526 %description ftp
527 This is a dynamic shared object (DSO) for Apache that will add FTP
528 support to PHP.
529
530 #%description ftp -l pl
531
532 %package zlib
533 Summary:        Zlib extension module for PHP
534 Summary(pl):    Modu³ zlib dla PHP
535 Group:          Libraries
536 Group(de):      Libraries
537 Group(es):      Bibliotecas
538 Group(fr):      Librairies
539 Group(pl):      Biblioteki
540 PreReq:         %{name}-common = %{version}
541
542 %description zlib
543 This is a dynamic shared object (DSO) for Apache that will add
544 compression (zlib) support to PHP.
545
546 %description zlib -l pl
547 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
548
549 %package exif
550 Summary:        exifextension module for PHP
551 Summary(pl):    Modu³ exif dla PHP
552 Group:          Libraries
553 Group(de):      Libraries
554 Group(es):      Bibliotecas
555 Group(fr):      Librairies
556 Group(pl):      Biblioteki
557 PreReq:         %{name}-common = %{version}
558
559 %description exif
560 This is a dynamic shared object (DSO) for Apache that will add exif
561 support to PHP.
562
563 #%description exif -l pl
564
565 %package recode
566 Summary:        recodeextension module for PHP
567 Summary(pl):    Modu³ recode dla PHP
568 Group:          Libraries
569 Group(de):      Libraries
570 Group(es):      Bibliotecas
571 Group(fr):      Librairies
572 Group(pl):      Biblioteki
573 PreReq:         %{name}-common = %{version}
574 Requires:       recode >= 3.5d-3
575
576 %description recode
577 This is a dynamic shared object (DSO) for Apache that will add recode
578 support to PHP.
579
580 #%description recode -l pl
581
582 %package session
583 Summary:        sessionextension module for PHP
584 Summary(pl):    Modu³ session dla PHP
585 Group:          Libraries
586 Group(de):      Libraries
587 Group(es):      Bibliotecas
588 Group(fr):      Librairies
589 Group(pl):      Biblioteki
590 PreReq:         %{name}-common = %{version}
591
592 %description session
593 This is a dynamic shared object (DSO) for Apache that will add session
594 support to PHP.
595
596 #%description session -l pl
597
598 %package gettext
599 Summary:        gettextextension module for PHP
600 Summary(pl):    Modu³ gettext dla PHP
601 Group:          Libraries
602 Group(de):      Libraries
603 Group(es):      Bibliotecas
604 Group(fr):      Librairies
605 Group(pl):      Biblioteki
606 PreReq:         %{name}-common = %{version}
607
608 %description gettext
609 This is a dynamic shared object (DSO) for Apache that will add gettext
610 support to PHP.
611
612 #%description gettext -l pl
613
614 %package snmp
615 Summary:        snmpextension module for PHP
616 Summary(pl):    Modu³ snmp dla PHP
617 Group:          Libraries
618 Group(de):      Libraries
619 Group(es):      Bibliotecas
620 Group(fr):      Librairies
621 Group(pl):      Biblioteki
622 PreReq:         %{name}-common = %{version}
623
624 %description snmp
625 This is a dynamic shared object (DSO) for Apache that will add snmp
626 support to PHP.
627
628 #%description snmp -l pl
629
630 %package imap
631 Summary:        imapextension module for PHP
632 Summary(pl):    Modu³ imap dla PHP
633 Group:          Libraries
634 Group(de):      Libraries
635 Group(es):      Bibliotecas
636 Group(fr):      Librairies
637 Group(pl):      Biblioteki
638 PreReq:         %{name}-common = %{version}
639
640 %description imap
641 This is a dynamic shared object (DSO) for Apache that will add imap
642 support to PHP.
643
644 #%description imap -l pl
645
646 %package ldap
647 Summary:        LDAP extension module for PHP
648 Summary(pl):    Modu³ LDAP dla PHP
649 Group:          Libraries
650 Group(de):      Libraries
651 Group(es):      Bibliotecas
652 Group(fr):      Librairies
653 Group(pl):      Biblioteki
654 PreReq:         %{name}-common = %{version}
655
656 %description ldap
657 This is a dynamic shared object (DSO) for Apache that will add LDAP
658 support to PHP.
659
660 #%description ldap -l pl
661
662 %package sockets
663 Summary:        sockets extension module for PHP
664 Summary(pl):    Modu³ socket dla PHP
665 Group:          Libraries
666 Group(de):      Libraries
667 Group(es):      Bibliotecas
668 Group(fr):      Librairies
669 Group(pl):      Biblioteki
670 PreReq:         %{name}-common = %{version}
671
672 %description sockets
673 This is a dynamic shared object (DSO) for Apache that will add sockets
674 support to PHP.
675
676 #%description sockets -l pl
677
678 %package mcrypt
679 Summary:        mcrypt extension module for PHP
680 Summary(pl):    Modu³ mcrypt dla PHP
681 Group:          Libraries
682 Group(de):      Libraries
683 Group(es):      Bibliotecas
684 Group(fr):      Librairies
685 Group(pl):      Biblioteki
686 PreReq:         %{name}-common = %{version}
687
688 %description mcrypt
689 This is a dynamic shared object (DSO) for Apache that will add mcrypt
690 support to PHP.
691
692 #%description mcrypt -l pl
693
694 %package mhash
695 Summary:        mhash extension module for PHP
696 Summary(pl):    Modu³ mhash dla PHP
697 Group:          Libraries
698 Group(de):      Libraries
699 Group(es):      Bibliotecas
700 Group(fr):      Librairies
701 Group(pl):      Biblioteki
702 PreReq:         %{name}-common = %{version}
703
704 %description mhash
705 This is a dynamic shared object (DSO) for Apache that will add mhash
706 support to PHP.
707
708 #%description mhash -l pl
709
710 %package doc
711 Summary:        Online manual for PHP
712 Summary(pl):    Dokumentacja dla PHP
713 Group:          Networking/Daemons
714 Group(de):      Netzwerkwesen/Server
715 Group(pl):      Sieciowe/Serwery
716
717 %description doc
718 Comprehensive documentation for PHP, viewable through your web server,
719 too!
720
721 %description doc -l pl
722 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
723 WWW.
724
725 %package pear
726 Summary:        PEAR
727 Group:          Development/Languages/PHP
728
729 %description pear
730 PEAR.
731
732 %package domxml
733 Summary:        XML
734 Group:          Development/Languages/PHP
735
736 %description domxml
737 XML.
738
739 %package devel
740 Summary:        Files for PHP modules development
741 Summary(pl):    Pliki do kompilacji modu³ów PHP
742 Group:          Development/Languages/PHP
743 Requires:       %{name}-common = %{version}
744
745 %description devel
746 Files for PHP modules development.
747
748 %description devel -l pl
749 Pliki potrzebne do kompilacji modu³ów PHP.
750
751 %package curl
752 Summary:        curl extension module for PHP
753 Summary(pl):    Modu³ curl dla PHP
754 Group:          Libraries
755 Group(de):      Libraries
756 Group(es):      Bibliotecas
757 Group(fr):      Librairies
758 Group(pl):      Biblioteki
759 PreReq:         %{name}-common = %{version}
760
761 %description curl
762 This is a dynamic shared object (DSO) for Apache that will add curl
763 support to PHP.
764
765 %description curl -l pl
766 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
767
768 #%package xslt
769 #Summary:       xslt extension module for PHP
770 #Summary(pl):   Modu³ xslt dla PHP
771 #Group:         Libraries
772 #Group(de):     Libraries
773 #Group(es):     Bibliotecas
774 #Group(fr):     Librairies
775 #Group(pl):     Biblioteki
776 #PreReq:                %{name}-common = %{version}
777 #
778 #%description xslt
779 #This is a dynamic shared object (DSO) for Apache that will add xslt
780 #support to PHP.
781 #
782 #%description xslt -l pl
783 #Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
784
785 #%package wddx
786 #Summary:       wddx extension module for PHP
787 #Summary(pl):   Modu³ wddx dla PHP
788 #Group:         Libraries
789 #Group(de):     Libraries
790 #Group(es):     Bibliotecas
791 #Group(fr):     Librairies
792 #Group(pl):     Biblioteki
793 #PreReq:                %{name}-common = %{version}
794 #
795 #%description wddx
796 #This is a dynamic shared object (DSO) for Apache that will add wddx
797 #support to PHP.
798 #
799 #%description wddx -l pl
800 #Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
801
802 %prep
803 %setup  -q
804 %patch0 -p1
805 %patch1 -p1
806 %patch2 -p1
807 %patch3 -p1
808 %patch6 -p1 
809 %patch9 -p1
810 %patch10 -p1
811 %patch11 -p1
812 %patch12 -p1
813 %patch13 -p1
814 #%patch14 -p1
815
816 %build
817 CFLAGS="%{rpmcflags} -DEAPI -I/usr/X11R6/include"; export CFLAGS
818 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
819 ./buildconf
820 libtoolize --copy --force
821 aclocal
822 autoconf
823 #for i in cgi fastcgi apxs ; do
824 for i in cgi apxs ; do
825 %configure \
826         `[ $i = cgi ] && echo --enable-discard-path` \
827         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=/usr` \
828         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
829         --with-config-file-path=%{_sysconfdir} \
830         --with-exec-dir=%{_bindir} \
831         --disable-debug \
832         --enable-magic-quotes \
833         --enable-shared \
834         --enable-track-vars \
835         --enable-safe-mode \
836         --enable-trans-sid \
837         --enable-sysvsem=shared \
838         --enable-sysvshm=shared \
839         --enable-shmop=shared \
840         --enable-session \
841         --enable-exif=shared \
842         --with-regex=php \
843         --with-gettext=shared \
844         %{!?_without_ldap:--with-ldap=shared} \
845         --with-mysql=shared,/usr \
846         --with-mysql-sock=/var/lib/mysql/mysql.sock \
847         --with-gd=shared \
848         --with-jpeg-dir=shared \
849         --with-zlib-dir=shared \
850         --with-png-dir=shared \
851         --enable-gd-native-ttf \
852         --with-freetype-dir=shared \
853         --with-t1lib=shared \
854         --with-dbase=shared \
855         --with-filepro=shared \
856         --enable-ftp=shared \
857         --with-hyperwave \
858         --with-pdflib=shared \
859         --with-cpdflib=shared \
860         %{?_with_java:--with-java} \
861         --with-pgsql=shared,/usr \
862         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
863         --enable-bcmath=shared \
864         --enable-calendar=shared \
865         --with-mm \
866         --with-pcre-regex=shared \
867         --enable-posix=shared \
868         --with-recode=shared \
869         --enable-ucd-snmp-hack \
870         --enable-dba=shared \
871         %{!?_without_snmp:--with-snmp=shared} \
872         --with-gdbm \
873         --with-db3 \
874         --enable-yp=shared \
875         --with-xml=shared \
876         --enable-xml=shared \
877         --with-zlib=shared \
878         --with-mcrypt=shared \
879         --enable-sockets=shared \
880         --with-bz2=shared \
881         --with-ctype=shared \
882         --with-mhash=shared \
883         --with-curl=shared \
884         --with-gmp=shared \
885         %{?_with_openssl:--with-openssl} \
886         %{!?_without_odbc:--with-unixODBC=shared} \
887         %{?_with_oracle:--with-oracle=shared} \
888         %{?_with_oci8:--with-oci8=shared} \
889         --without-db2 \
890         --with-dom=shared \
891     %{?_with_xslt:--enable-xslt=shared} \
892     %{?_with_xslt:--with-xslt-sablot=shared} \
893     %{?_with_wddx:--enable-wddx=shared} \
894         --with-pear=%{peardir}
895 done
896
897 # TODO --with-pspell=/usr,shared (pspell missing)
898 #       --with-qtdom=shared
899
900 %{__make}
901 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
902
903 # Kill -rpath from php binary and libphp4.so
904 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
905 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
906 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
907
908 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
909 rm libphp4.la ; %{__make} libphp4.la
910
911 %install
912 rm -rf $RPM_BUILD_ROOT
913 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
914                 $RPM_BUILD_ROOT/home/httpd/icons \
915                 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}
916
917 %{__make} install \
918         INSTALL_ROOT=$RPM_BUILD_ROOT \
919         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
920
921 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
922
923 #exit 1
924 #install .libs/*.so     $RPM_BUILD_ROOT%{_pkglibdir}
925 #install modules/*.so   $RPM_BUILD_ROOT%{_pkglibdir}/php
926
927 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
928 install %{SOURCE3} php4.gif     $RPM_BUILD_ROOT/home/httpd/icons
929 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
930
931 mkdir manual
932 tar zxf %{SOURCE4} -C manual
933 ln -s manual.html manual/index.html
934
935 install %{SOURCE1} .
936 gzip -9nf CODING_STANDARDS CREDITS \
937       EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
938       Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
939
940 %post
941 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
942 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
943         /etc/httpd/httpd.conf
944 if [ -f /var/lock/subsys/httpd ]; then
945         /etc/rc.d/init.d/httpd restart 1>&2
946 fi
947
948 %preun
949 if [ "$1" = "0" ]; then
950         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
951         perl -pi -e \
952                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
953                 /etc/httpd/httpd.conf
954         if [ -f /var/lock/subsys/httpd ]; then
955                 /etc/rc.d/init.d/httpd restart 1>&2
956         fi
957 fi
958
959 %post common -p /sbin/ldconfig
960 %postun common -p /sbin/ldconfig
961
962 %post bcmath
963 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
964
965 %preun bcmath
966 if [ "$1" = "0" ]; then
967         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
968 fi
969
970 %post calendar
971 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
972
973 %preun calendar
974 if [ "$1" = "0" ]; then
975         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
976 fi
977
978 %post dba
979 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
980
981 %preun dba
982 if [ "$1" = "0" ]; then
983         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
984 fi
985
986 %post dbase
987 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
988
989 %preun dbase
990 if [ "$1" = "0" ]; then
991         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
992 fi
993
994 %post exif
995 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
996
997 %preun exif
998 if [ "$1" = "0" ]; then
999         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1000 fi
1001
1002 %post filepro
1003 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1004
1005 %preun filepro
1006 if [ "$1" = "0" ]; then
1007         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1008 fi
1009
1010 %post ftp
1011 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1012
1013 %preun ftp
1014 if [ "$1" = "0" ]; then
1015         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1016 fi
1017
1018 %post gd
1019 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1020
1021 %preun gd
1022 if [ "$1" = "0" ]; then
1023         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1024 fi
1025
1026 %post gettext
1027 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1028
1029 %preun gettext
1030 if [ "$1" = "0" ]; then
1031         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1032 fi
1033
1034 %if %{?_without_imap:0}%{!?_without_imap:1}
1035 %post imap
1036 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1037
1038 %preun imap
1039 if [ "$1" = "0" ]; then
1040         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1041 fi
1042 %endif
1043
1044 %if %{?bond_on_java:1}%{!?bond_on_java:0}
1045 %post java
1046 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1047
1048 %preun java
1049 if [ "$1" = "0" ]; then
1050         %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1051 fi
1052 %endif
1053
1054 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1055 %post ldap
1056 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1057
1058 %preun ldap
1059 if [ "$1" = "0" ]; then
1060         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1061 fi
1062 %endif
1063
1064 %post mcrypt
1065 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1066
1067 %preun mcrypt
1068 if [ "$1" = "0" ]; then
1069         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1070 fi
1071
1072 %post mhash
1073 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1074
1075 %preun mhash
1076 if [ "$1" = "0" ]; then
1077         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1078 fi
1079
1080 %post mysql
1081 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1082
1083 %preun mysql
1084 if [ "$1" = "0" ]; then
1085         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1086 fi
1087
1088 %post pdf
1089 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1090
1091 %preun pdf
1092 if [ "$1" = "0" ]; then
1093         %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1094 fi
1095
1096 %preun domxml
1097 if [ "$1" = "0" ]; then
1098         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1099
1100 %post domxml
1101 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1102
1103 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1104 %post oci8
1105 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1106
1107 %preun oci8
1108 if [ "$1" = "0" ]; then
1109         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1110 fi
1111 %endif
1112
1113 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1114 %post odbc
1115 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1116
1117 %preun odbc
1118 if [ "$1" = "0" ]; then
1119         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1120 fi
1121 %endif
1122
1123 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1124 %post oracle
1125 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1126
1127 %preun oracle
1128 if [ "$1" = "0" ]; then
1129         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1130 fi
1131 %endif
1132
1133 %post pcre
1134 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1135
1136 %preun pcre
1137 if [ "$1" = "0" ]; then
1138         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1139 fi
1140
1141 %post pgsql
1142 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1143
1144 %preun pgsql
1145 if [ "$1" = "0" ]; then
1146         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1147 fi
1148
1149 %post posix
1150 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1151
1152 %preun posix
1153 if [ "$1" = "0" ]; then
1154         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1155 fi
1156
1157 %post recode
1158 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1159
1160 %preun recode
1161 if [ "$1" = "0" ]; then
1162         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1163 fi
1164
1165 %post session
1166 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1167
1168 %preun session
1169 if [ "$1" = "0" ]; then
1170         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1171 fi
1172
1173 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1174 %post snmp
1175 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1176
1177 %preun snmp
1178 if [ "$1" = "0" ]; then
1179         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1180 fi
1181 %endif
1182
1183 %post sockets
1184 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1185
1186 %preun sockets
1187 if [ "$1" = "0" ]; then
1188         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1189 fi
1190
1191 %post sysvsem
1192 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1193
1194 %preun sysvsem
1195 if [ "$1" = "0" ]; then
1196         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1197 fi
1198
1199 %post sysvshm
1200 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1201
1202 %preun sysvshm
1203 if [ "$1" = "0" ]; then
1204         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1205 fi
1206
1207 %post xml
1208 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1209
1210 %preun xml
1211 if [ "$1" = "0" ]; then
1212         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1213 fi
1214
1215 %post yp
1216 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1217
1218 %preun yp
1219 if [ "$1" = "0" ]; then
1220         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1221 fi
1222
1223 %post zlib
1224 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1225
1226 %preun zlib
1227 if [ "$1" = "0" ]; then
1228         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1229 fi
1230
1231 %post curl
1232 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1233
1234 %preun curl
1235 if [ "$1" = "0" ]; then
1236         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1237 fi
1238
1239 #%post xslt
1240 #%{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1241 #
1242 #%preun xslt
1243 #if [ "$1" = "0" ]; then
1244 #        %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1245 #fi
1246 #
1247 #%post wddx
1248 #%{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1249 #
1250 #%preun wddx
1251 #if [ "$1" = "0" ]; then
1252 #        %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1253 #fi
1254
1255 %clean
1256 rm -rf $RPM_BUILD_ROOT
1257
1258 %files
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1261
1262 %files cgi
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_bindir}/php
1265
1266 %files common
1267 %defattr(644,root,root,755)
1268 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1269 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz  
1270 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1271
1272 %dir %{_sysconfdir}
1273 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1274
1275 /home/httpd/icons/*
1276
1277 %attr(755,root,root) %{_sbindir}/*
1278
1279 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1280
1281 %dir %{extensionsdir}
1282
1283 %files devel
1284 %defattr(644,root,root,755)
1285 %{_includedir}/php
1286 %{_libdir}/php/build
1287 %attr(755,root,root) %{_bindir}/phpextdist
1288 %attr(755,root,root) %{_bindir}/phpize
1289 %attr(755,root,root) %{_bindir}/php-config
1290
1291 %files domxml
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{extensionsdir}/domxml.so
1294
1295 %files pear
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_bindir}/pear
1298 %{peardir}
1299
1300 %files mysql
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{extensionsdir}/mysql.so
1303
1304 %files pdf
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1307
1308 %files pgsql
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{extensionsdir}/pgsql.so
1311
1312 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1313 %files oracle
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{extensionsdir}/oracle.so
1316 %endif
1317
1318 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1319 %files oci8
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{extensionsdir}/oci8.so
1322 %endif
1323
1324 %files gd
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{extensionsdir}/gd.so
1327
1328 # To check
1329 #%files xml
1330 #%defattr(644,root,root,755)
1331 #%attr(755,root,root) %{extensionsdir}/xml.so
1332
1333 %files dba
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{extensionsdir}/dba.so
1336
1337 %files dbase
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{extensionsdir}/dbase.so
1340
1341 %files filepro
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{extensionsdir}/filepro.so
1344
1345 %files pcre
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{extensionsdir}/pcre.so
1348
1349 %files posix
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{extensionsdir}/posix.so
1352
1353 %files sysvsem
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1356
1357 %files sysvshm
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1360
1361 %files yp
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{extensionsdir}/yp.so
1364
1365 %files calendar
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{extensionsdir}/calendar.so
1368
1369 %files bcmath
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{extensionsdir}/bcmath.so
1372
1373 %files ftp
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{extensionsdir}/ftp.so
1376
1377 %files zlib
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{extensionsdir}/zlib.so
1380
1381 %files exif
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{extensionsdir}/exif.so
1384
1385 %files recode
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{extensionsdir}/recode.so
1388
1389 #%files session
1390 #%defattr(644,root,root,755)
1391 #%attr(755,root,root) %{extensionsdir}/session.so
1392
1393 %files gettext
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{extensionsdir}/gettext.so
1396
1397 %if %{?_without_imap:0}%{!?_without_imap:1}
1398 %files imap
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{extensionsdir}/imap.so
1401 %endif
1402
1403 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1404 %files snmp
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{extensionsdir}/snmp.so
1407 %endif
1408
1409 %if %{?_with_java:1}%{!?_with_java:0}
1410 %files java
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1413 %endif
1414
1415 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1416 %files ldap
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{extensionsdir}/ldap.*
1419 %endif
1420
1421 %files sockets
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{extensionsdir}/sockets.so
1424
1425 %files mcrypt
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1428
1429 %files mhash
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{extensionsdir}/mhash.so
1432
1433 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1434 %files odbc
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{extensionsdir}/odbc.so
1437 %endif
1438
1439 %files doc
1440 %defattr(644,root,root,755)
1441 %doc manual/*
1442
1443 %files curl
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{extensionsdir}/curl.so
1446
1447 #%files xslt
1448 #%defattr(644,root,root,755)
1449 #%attr(755,root,root) %{extensionsdir}/xslt.so
1450 #
1451 #%files wddx
1452 #%defattr(644,root,root,755)
1453 #%attr(755,root,root) %{extensionsdir}/wddx.so
This page took 0.177344 seconds and 4 git commands to generate.