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