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