]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- added some --with-*-dir=shared and changed link-libs patch to fix
[packages/php.git] / php.spec
1 #
2 # Conditional build:
3 # _with_oracle  - with oracle support 
4 # _with_oci8    - with oci8 support
5 # _with_java    - with Java support
6 # _with_openssl - with OpenSSL support
7 # _with_wddx    - with WDDX support
8 # _with_xslt    - with XSLT support
9 # _without_imap   - without IMAP support
10 # _without_ldap   - without LDAP support
11 # _without_odbc   - without ODBC support
12 # _without_snmp   - without SNMP support
13 #
14 Summary:        The PHP HTML-embedded scripting language for use with Apache
15 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
16 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
17 Name:           php
18 Version:        4.0.6
19 Release:        3
20 Epoch:          1
21 Group:          Libraries
22 Group(de):      Libraries
23 Group(es):      Bibliotecas
24 Group(fr):      Librairies
25 Group(pl):      Biblioteki
26 License:        The PHP license (see "LICENSE" file included in distribution)
27 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.gz
28 Source1:        FAQ.php
29 Source2:        %{name}.ini
30 Source3:        zend.gif
31 Source4:        http://www.php.net/distributions/manual.tar.gz
32 Source5:        php-module-install
33 Patch0:         %{name}-imap.patch
34 Patch1:         %{name}-mysql-socket.patch
35 Patch2:         %{name}-mail.patch
36 Patch3:         %{name}-link-libs.patch
37 #Patch4:                %{name}-DESTDIR.patch
38 #Patch5:                %{name}-gd-shared.patch
39 Patch6:         %{name}-session-path.patch
40 #Patch7:                %{name}-libtool_version_check_fix.patch
41 #Patch8:                %{name}-pdflib.patch
42 Patch9:         %{name}-am_ac_lt.patch
43 Patch10:        %{name}-fastcgi.patch
44 Patch11:        %{name}-shared.patch
45 Patch12:        %{name}-ac250.patch
46 Patch13:        %{name}-pearinstall.patch
47 #Patch14:       %{name}-linking.patch
48 Icon:           php4.gif
49 URL:            http://www.php.net/
50 BuildRequires:  apache(EAPI)-devel
51 BuildRequires:  zip
52 BuildRequires:  bison
53 BuildRequires:  flex
54 BuildRequires:  perl
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 %patch6 -p1 
808 %patch9 -p1
809 %patch10 -p1
810 %patch11 -p1
811 %patch12 -p1
812 %patch13 -p1
813 #%patch14 -p1
814
815 %build
816 CFLAGS="%{rpmcflags} -DEAPI -I/usr/X11R6/include"; export CFLAGS
817 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
818 ./buildconf
819 libtoolize --copy --force
820 aclocal
821 autoconf
822 #for i in cgi fastcgi apxs ; do
823 for i in cgi apxs ; do
824 %configure \
825         `[ $i = cgi ] && echo --enable-discard-path` \
826         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=/usr` \
827         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
828         --with-config-file-path=%{_sysconfdir} \
829         --with-exec-dir=%{_bindir} \
830         --disable-debug \
831         --enable-magic-quotes \
832         --enable-shared \
833         --enable-track-vars \
834         --enable-safe-mode \
835         --enable-trans-sid \
836         --enable-sysvsem=shared \
837         --enable-sysvshm=shared \
838         --enable-shmop=shared \
839         --enable-session \
840         --enable-exif=shared \
841         --with-regex=php \
842         --with-gettext=shared \
843         %{!?_without_ldap:--with-ldap=shared} \
844         --with-mysql=shared,/usr \
845         --with-mysql-sock=/var/lib/mysql/mysql.sock \
846         --with-gd=shared \
847         --with-jpeg-dir=shared \
848         --with-zlib-dir=shared \
849         --with-png-dir=shared \
850         --enable-gd-native-ttf \
851         --with-freetype-dir=shared \
852         --with-t1lib=shared \
853         --with-dbase=shared \
854         --with-filepro=shared \
855         --enable-ftp=shared \
856         --with-hyperwave \
857         --with-pdflib=shared \
858         --with-cpdflib=shared \
859         %{?_with_java:--with-java} \
860         --with-pgsql=shared,/usr \
861         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
862         --enable-bcmath=shared \
863         --enable-calendar=shared \
864         --with-mm \
865         --with-pcre-regex=shared \
866         --enable-posix=shared \
867         --with-recode=shared \
868         --enable-ucd-snmp-hack \
869         --enable-dba=shared \
870         %{!?_without_snmp:--with-snmp=shared} \
871         --with-gdbm \
872         --with-db3 \
873         --enable-yp=shared \
874         --with-xml=shared \
875         --enable-xml=shared \
876         --with-zlib=shared \
877         --with-mcrypt=shared \
878         --enable-sockets=shared \
879         --with-bz2=shared \
880         --with-ctype=shared \
881         --with-mhash=shared \
882         --with-curl=shared \
883         --with-gmp=shared \
884         %{?_with_openssl:--with-openssl} \
885         %{!?_without_odbc:--with-unixODBC=shared} \
886         %{?_with_oracle:--with-oracle=shared} \
887         %{?_with_oci8:--with-oci8=shared} \
888         --without-db2 \
889         --with-dom=shared \
890     %{?_with_xslt:--enable-xslt=shared} \
891     %{?_with_xslt:--with-xslt-sablot=shared} \
892     %{?_with_wddx:--enable-wddx=shared} \
893         --with-pear=%{peardir}
894 done
895
896 # TODO --with-pspell=/usr,shared (pspell missing)
897 #       --with-qtdom=shared
898
899 %{__make}
900 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
901
902 # Kill -rpath from php binary and libphp4.so
903 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
904 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
905 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
906
907 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
908 rm libphp4.la ; %{__make} libphp4.la
909
910 %install
911 rm -rf $RPM_BUILD_ROOT
912 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
913                 $RPM_BUILD_ROOT/home/httpd/icons \
914                 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}
915
916 %{__make} install \
917         INSTALL_ROOT=$RPM_BUILD_ROOT \
918         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
919
920 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
921
922 #exit 1
923 #install .libs/*.so     $RPM_BUILD_ROOT%{_pkglibdir}
924 #install modules/*.so   $RPM_BUILD_ROOT%{_pkglibdir}/php
925
926 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
927 install %{SOURCE3} php4.gif     $RPM_BUILD_ROOT/home/httpd/icons
928 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
929
930 mkdir manual
931 tar zxf %{SOURCE4} -C manual
932 ln -s manual.html manual/index.html
933
934 install %{SOURCE1} .
935 gzip -9nf CODING_STANDARDS CREDITS \
936       EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
937       Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
938
939 %post
940 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
941 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
942         /etc/httpd/httpd.conf
943 if [ -f /var/lock/subsys/httpd ]; then
944         /etc/rc.d/init.d/httpd restart 1>&2
945 fi
946
947 %preun
948 if [ "$1" = "0" ]; then
949         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
950         perl -pi -e \
951                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
952                 /etc/httpd/httpd.conf
953         if [ -f /var/lock/subsys/httpd ]; then
954                 /etc/rc.d/init.d/httpd restart 1>&2
955         fi
956 fi
957
958 %post common -p /sbin/ldconfig
959 %postun common -p /sbin/ldconfig
960
961 %post bcmath
962 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
963
964 %preun bcmath
965 if [ "$1" = "0" ]; then
966         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
967 fi
968
969 %post calendar
970 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
971
972 %preun calendar
973 if [ "$1" = "0" ]; then
974         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
975 fi
976
977 %post dba
978 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
979
980 %preun dba
981 if [ "$1" = "0" ]; then
982         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
983 fi
984
985 %post dbase
986 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
987
988 %preun dbase
989 if [ "$1" = "0" ]; then
990         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
991 fi
992
993 %post exif
994 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
995
996 %preun exif
997 if [ "$1" = "0" ]; then
998         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
999 fi
1000
1001 %post filepro
1002 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1003
1004 %preun filepro
1005 if [ "$1" = "0" ]; then
1006         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1007 fi
1008
1009 %post ftp
1010 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1011
1012 %preun ftp
1013 if [ "$1" = "0" ]; then
1014         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1015 fi
1016
1017 %post gd
1018 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1019
1020 %preun gd
1021 if [ "$1" = "0" ]; then
1022         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1023 fi
1024
1025 %post gettext
1026 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1027
1028 %preun gettext
1029 if [ "$1" = "0" ]; then
1030         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1031 fi
1032
1033 %if %{?_without_imap:0}%{!?_without_imap:1}
1034 %post imap
1035 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1036
1037 %preun imap
1038 if [ "$1" = "0" ]; then
1039         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1040 fi
1041 %endif
1042
1043 %if %{?bond_on_java:1}%{!?bond_on_java:0}
1044 %post java
1045 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1046
1047 %preun java
1048 if [ "$1" = "0" ]; then
1049         %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1050 fi
1051 %endif
1052
1053 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1054 %post ldap
1055 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1056
1057 %preun ldap
1058 if [ "$1" = "0" ]; then
1059         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1060 fi
1061 %endif
1062
1063 %post mcrypt
1064 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1065
1066 %preun mcrypt
1067 if [ "$1" = "0" ]; then
1068         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1069 fi
1070
1071 %post mhash
1072 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1073
1074 %preun mhash
1075 if [ "$1" = "0" ]; then
1076         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1077 fi
1078
1079 %post mysql
1080 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1081
1082 %preun mysql
1083 if [ "$1" = "0" ]; then
1084         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1085 fi
1086
1087 %post pdf
1088 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1089
1090 %preun pdf
1091 if [ "$1" = "0" ]; then
1092         %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1093 fi
1094
1095 %preun domxml
1096 if [ "$1" = "0" ]; then
1097         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1098
1099 %post domxml
1100 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1101
1102 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1103 %post oci8
1104 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1105
1106 %preun oci8
1107 if [ "$1" = "0" ]; then
1108         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1109 fi
1110 %endif
1111
1112 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1113 %post odbc
1114 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1115
1116 %preun odbc
1117 if [ "$1" = "0" ]; then
1118         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1119 fi
1120 %endif
1121
1122 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1123 %post oracle
1124 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1125
1126 %preun oracle
1127 if [ "$1" = "0" ]; then
1128         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1129 fi
1130 %endif
1131
1132 %post pcre
1133 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1134
1135 %preun pcre
1136 if [ "$1" = "0" ]; then
1137         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1138 fi
1139
1140 %post pgsql
1141 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1142
1143 %preun pgsql
1144 if [ "$1" = "0" ]; then
1145         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1146 fi
1147
1148 %post posix
1149 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1150
1151 %preun posix
1152 if [ "$1" = "0" ]; then
1153         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1154 fi
1155
1156 %post recode
1157 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1158
1159 %preun recode
1160 if [ "$1" = "0" ]; then
1161         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1162 fi
1163
1164 %post session
1165 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1166
1167 %preun session
1168 if [ "$1" = "0" ]; then
1169         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1170 fi
1171
1172 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1173 %post snmp
1174 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1175
1176 %preun snmp
1177 if [ "$1" = "0" ]; then
1178         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1179 fi
1180 %endif
1181
1182 %post sockets
1183 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1184
1185 %preun sockets
1186 if [ "$1" = "0" ]; then
1187         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1188 fi
1189
1190 %post sysvsem
1191 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1192
1193 %preun sysvsem
1194 if [ "$1" = "0" ]; then
1195         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1196 fi
1197
1198 %post sysvshm
1199 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1200
1201 %preun sysvshm
1202 if [ "$1" = "0" ]; then
1203         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1204 fi
1205
1206 %post xml
1207 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1208
1209 %preun xml
1210 if [ "$1" = "0" ]; then
1211         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1212 fi
1213
1214 %post yp
1215 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1216
1217 %preun yp
1218 if [ "$1" = "0" ]; then
1219         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1220 fi
1221
1222 %post zlib
1223 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1224
1225 %preun zlib
1226 if [ "$1" = "0" ]; then
1227         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1228 fi
1229
1230 %post curl
1231 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1232
1233 %preun curl
1234 if [ "$1" = "0" ]; then
1235         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1236 fi
1237
1238 #%post xslt
1239 #%{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1240 #
1241 #%preun xslt
1242 #if [ "$1" = "0" ]; then
1243 #        %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1244 #fi
1245 #
1246 #%post wddx
1247 #%{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1248 #
1249 #%preun wddx
1250 #if [ "$1" = "0" ]; then
1251 #        %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1252 #fi
1253
1254 %clean
1255 rm -rf $RPM_BUILD_ROOT
1256
1257 %files
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1260
1261 %files cgi
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_bindir}/php
1264
1265 %files common
1266 %defattr(644,root,root,755)
1267 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1268 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz  
1269 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1270
1271 %dir %{_sysconfdir}
1272 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1273
1274 /home/httpd/icons/*
1275
1276 %attr(755,root,root) %{_sbindir}/*
1277
1278 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1279
1280 %dir %{extensionsdir}
1281
1282 %files devel
1283 %defattr(644,root,root,755)
1284 %{_includedir}/php
1285 %{_libdir}/php/build
1286 %attr(755,root,root) %{_bindir}/phpextdist
1287 %attr(755,root,root) %{_bindir}/phpize
1288 %attr(755,root,root) %{_bindir}/php-config
1289
1290 %files domxml
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{extensionsdir}/domxml.so
1293
1294 %files pear
1295 %defattr(644,root,root,755)
1296 %attr(755,root,root) %{_bindir}/pear
1297 %{peardir}
1298
1299 %files mysql
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{extensionsdir}/mysql.so
1302
1303 %files pdf
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1306
1307 %files pgsql
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{extensionsdir}/pgsql.so
1310
1311 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1312 %files oracle
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{extensionsdir}/oracle.so
1315 %endif
1316
1317 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1318 %files oci8
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{extensionsdir}/oci8.so
1321 %endif
1322
1323 %files gd
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{extensionsdir}/gd.so
1326
1327 # To check
1328 #%files xml
1329 #%defattr(644,root,root,755)
1330 #%attr(755,root,root) %{extensionsdir}/xml.so
1331
1332 %files dba
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{extensionsdir}/dba.so
1335
1336 %files dbase
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{extensionsdir}/dbase.so
1339
1340 %files filepro
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{extensionsdir}/filepro.so
1343
1344 %files pcre
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{extensionsdir}/pcre.so
1347
1348 %files posix
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{extensionsdir}/posix.so
1351
1352 %files sysvsem
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1355
1356 %files sysvshm
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1359
1360 %files yp
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{extensionsdir}/yp.so
1363
1364 %files calendar
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{extensionsdir}/calendar.so
1367
1368 %files bcmath
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{extensionsdir}/bcmath.so
1371
1372 %files ftp
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{extensionsdir}/ftp.so
1375
1376 %files zlib
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{extensionsdir}/zlib.so
1379
1380 %files exif
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{extensionsdir}/exif.so
1383
1384 %files recode
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{extensionsdir}/recode.so
1387
1388 #%files session
1389 #%defattr(644,root,root,755)
1390 #%attr(755,root,root) %{extensionsdir}/session.so
1391
1392 %files gettext
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{extensionsdir}/gettext.so
1395
1396 %if %{?_without_imap:0}%{!?_without_imap:1}
1397 %files imap
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{extensionsdir}/imap.so
1400 %endif
1401
1402 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1403 %files snmp
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{extensionsdir}/snmp.so
1406 %endif
1407
1408 %if %{?_with_java:1}%{!?_with_java:0}
1409 %files java
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1412 %endif
1413
1414 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1415 %files ldap
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{extensionsdir}/ldap.*
1418 %endif
1419
1420 %files sockets
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{extensionsdir}/sockets.so
1423
1424 %files mcrypt
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1427
1428 %files mhash
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{extensionsdir}/mhash.so
1431
1432 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1433 %files odbc
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{extensionsdir}/odbc.so
1436 %endif
1437
1438 %files doc
1439 %defattr(644,root,root,755)
1440 %doc manual/*
1441
1442 %files curl
1443 %defattr(644,root,root,755)
1444 %attr(755,root,root) %{extensionsdir}/curl.so
1445
1446 #%files xslt
1447 #%defattr(644,root,root,755)
1448 #%attr(755,root,root) %{extensionsdir}/xslt.so
1449 #
1450 #%files wddx
1451 #%defattr(644,root,root,755)
1452 #%attr(755,root,root) %{extensionsdir}/wddx.so
This page took 0.15374 seconds and 4 git commands to generate.