]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- updated to 4.2.1 (merge DEVEL branch to HEAD).
[packages/php.git] / php.spec
1
2 %define _apache2        %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
3
4 %if %{_apache2}
5 %define _without_recode 1
6 %define _without_mm 1
7 %endif
8
9 %ifnarch %{ix86}
10 %define _without_msession 1
11 %endif
12
13 # Conditional build:
14 # _with_cpdf            - with cpdf extension module
15 # _with_interbase       - with InterBase extension module
16 # _with_java            - with Java extension module
17 # _with_oci8            - with Oracle oci8 extension module
18 # _with_oracle          - with oracle extension module
19 # _with_sybase_ct       - with Sybase-CT extension module
20 # _without_domxslt      - without DOM XSLT/EXSLT support in DOM XML extension module
21 # _without_imap         - without IMAP extension module
22 # _without_ldap         - without LDAP extension module
23 # _without_mm           - without mm support for session storage
24 # _without_msession     - without msession extension module
25 # _without_odbc         - without ODBC extension module
26 # _without_openssl      - with OpenSSL support
27 # _without_snmp         - without SNMP extension module
28 # _without_recode       - without recode extension module
29 # _without_wddx         - without WDDX extension module
30 # _without_xslt         - without XSLT extension module
31 Summary:        The PHP HTML-embedded scripting language for use with Apache
32 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
33 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
34 Summary(pt_BR): A linguagem de script PHP
35 Name:           php
36 Version:        4.2.1
37 Release:        4
38 Epoch:          3
39 Group:          Libraries
40 License:        The PHP license (see "LICENSE" file included in distribution)
41 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.bz2
42 Source1:        FAQ.%{name}
43 Source2:        %{name}.ini
44 Source3:        zend.gif
45 Source4:        http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
46 Source5:        %{name}-module-install
47 Source6:        %{name}-mod_php.conf
48 Source7:        %{name}-cgi.ini
49 Source8:        %{name}-apache.ini
50 Patch0:         %{name}-shared.patch
51 Patch1:         %{name}-pldlogo.patch
52 Patch2:         %{name}-mysql-socket.patch
53 Patch3:         %{name}-mail.patch
54 Patch4:         %{name}-link-libs.patch
55 Patch5:         %{name}-fastcgi.patch
56 Patch6:         %{name}-no_%{name}_pcre_in_SAPI_c.patch
57 Patch7:         %{name}-libpq_fs_h_path.patch
58 Patch8:         %{name}-wddx-fix.patch
59 Patch9:         %{name}-cpdf-fix.patch
60 Patch10:        %{name}-session-fix-shared.patch
61 Patch11:        %{name}-hyperwave-fix.patch
62 Patch12:        %{name}-openssl-for-ext-only.patch
63 Patch13:        %{name}-java-fix.patch
64 Patch14:        %{name}-mcal-shared-lib.patch
65 Patch15:        %{name}-msession-shared-lib.patch
66 Patch16:        %{name}-xmlrpc-includes.patch
67 Patch17:        %{name}-build_modules.patch
68 Patch18:        %{name}-sapi-ini-file.patch
69 Patch19:        %{name}-apache2_broken_macro.patch
70 Icon:           php4.gif
71 URL:            http://www.php.net/
72 BuildRequires:  apache-devel
73 BuildRequires:  autoconf >= 1.4
74 BuildRequires:  automake >= 1.4d
75 BuildRequires:  bison
76 BuildRequires:  bzip2-devel
77 BuildRequires:  cracklib-devel >= 2.7-15
78 BuildRequires:  curl-devel
79 BuildRequires:  cyrus-sasl-devel
80 BuildRequires:  db3-devel >= 3.1.17
81 BuildRequires:  expat-devel
82 BuildRequires:  flex
83 %{?_with_sybase_ct:BuildRequires:       freetds-devel}
84 BuildRequires:  freetype-devel >= 2.0
85 BuildRequires:  gd-devel >= 2.0.1
86 BuildRequires:  gdbm-devel
87 BuildRequires:  gmp-devel
88 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
89 %{?_with_java:BuildRequires:    jdk >= 1.1}
90 %{?_with_cpdf:BuildRequires:    libcpdf-devel >= 2.02r1-2}
91 BuildRequires:  libjpeg-devel
92 BuildRequires:  libltdl-devel >= 1.4
93 BuildRequires:  libmcal-devel
94 BuildRequires:  libmcrypt-devel >= 2.4.4
95 BuildRequires:  libpng >= 1.0.8
96 BuildRequires:  libtiff-devel
97 BuildRequires:  libtool >= 0:1.4.2-9
98 BuildRequires:  libxml2-devel >= 2.2.7
99 %{!?_without_domxslt:BuildRequires:     libxslt >= 1.0.3}
100 BuildRequires:  mhash-devel
101 BuildRequires:  ming-devel >= 0.1.0
102 %{!?_without_mm:BuildRequires:  mm-devel >= 1.1.3}
103 BuildRequires:  mnogosearch-devel < 3.2.5
104 BuildRequires:  mysql-devel >= 3.23.32
105 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
106 %if %(expr %{?_without_openssl:0}%{!?_without_openssl:1} + %{?_without_ldap:0}%{!?_without_ldap:1})
107 BuildRequires:  openssl-devel >= 0.9.6a
108 %endif
109 BuildRequires:  pam-devel
110 BuildRequires:  pdflib-devel >= 4.0.0
111 BuildRequires:  perl
112 %{!?_without_msession:BuildRequires:    phoenix-devel}
113 BuildRequires:  pkgconfig
114 BuildRequires:  postgresql-devel
115 BuildRequires:  postgresql-backend-devel >= 7.2
116 BuildRequires:  pspell-devel
117 %{!?_without_recode:BuildRequires:      recode-devel >= 3.5d-3}
118 %{!?_without_xslt:BuildRequires:        sablotron-devel}
119 BuildRequires:  t1lib-devel
120 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
121 %{!?_without_odbc:BuildRequires: unixODBC-devel}
122 BuildRequires:  xmlrpc-epi-devel
123 BuildRequires:  yaz-devel
124 BuildRequires:  zip
125 BuildRequires:  zlib-devel >= 1.0.9
126 BuildRequires:  zziplib-devel
127 #BuildRequires: fastcgi-devkit
128 # apache 1.3 vs apache 2.0
129 %if %{_apache2}
130 PreReq:         apache >= 2.0.39
131 %else
132 PreReq:         apache(EAPI) < 2.0.0
133 PreReq:         apache(EAPI) >= 1.3.9
134 %endif
135 PreReq:         perl
136 PreReq:         %{_sbindir}/apxs
137 PreReq:         %{name}-common = %{version}
138 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
139 Obsoletes:      phpfi
140 Obsoletes:      apache-mod_php
141
142 %define         _sysconfdir     /etc/php
143 %define         extensionsdir   %{_libdir}/php
144 %define         peardir         %{_datadir}/pear
145
146 %description
147 PHP is an HTML-embedded scripting language. PHP attempts to make it
148 easy for developers to write dynamically generated web pages. PHP also
149 offers built-in database integration for several commercial and
150 non-commercial database management systems, so writing a
151 database-enabled web page with PHP is fairly simple. The most common
152 use of PHP coding is probably as a replacement for CGI scripts. The
153 mod_php module enables the Apache web server to understand and process
154 the embedded PHP language in web pages. This package contains PHP
155 version %{version}. If you use applications which specifically rely on
156 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
157 module contained in the phpfi package. If you're just starting with
158 PHP, you should install this package. You'll also need to install the
159 Apache web server.
160
161 %description -l fr
162 PHP est un langage de script embarque dans le HTM. PHP essaye de
163 rendre simple aux developpeurs d'ecrire des pages web generees
164 dynamiquement. PHP incorpore egalement une integration avec plusieurs
165 systemes de gestion de bases de donnees commerciaux et
166 non-connerciaux, qui rent facile la creation de pages web liees avec
167 des bases de donnees. L'utilisation la plus commune de PHP est
168 probablement en remplacement de scripts CGI. Le module mod_php permet
169 au serveur web apache de comprendre et de traiter le langage PHP
170 integre dans des pages web. Ce package contient PHP version %{version}.
171 Si vous utilisez des applications qui utilisent specifiquement PHP/FI,
172 vous devrez installer le module PHP/FI inclus dans le package mod_php.
173 Si vous debutez avec PHP, vous devriez installer ce package. Vous
174 aurez egalement besoin dinstaller le serveur web Apache.
175
176 %description -l pl
177 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
178 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
179 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
180 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
181 zosta³a z jêzyków: C, Java i Perl.
182
183 %description -l pt_BR
184 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
185 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
186 com algumas características únicas, específicas ao PHP. O objetivo da
187 linguagem é permitir que desenvolvedores web escrevam páginas
188 dinamicamente geradas de forma rápida.
189
190 %package cgi
191 Summary:        PHP as CGI program
192 Summary(pl):    PHP jako program CGI
193 Group:          Libraries
194 PreReq:         %{name}-common = %{version}
195
196 %description cgi
197 PHP as CGI program.
198
199 %description cgi -l pl
200 PHP jako program CGI.
201
202 %package common
203 Summary:        Common files nneded by both apache module and CGI
204 Summary(pl):    Wspólne pliki dla modu³u apacha i programu CGI
205 Group:          Libraries
206 Provides:       %{name}-session = %{version}
207 Obsoletes:      %{name}-session <= %{epoch}:%{version}-%{release}
208
209 %description common
210 Common files needed by both apache module and CGI.
211
212 %description common -l pl
213 Wspólne pliki dla modu³u apacha i programu CGI.
214
215 %package devel
216 Summary:        Files for PHP modules development
217 Summary(pl):    Pliki do kompilacji modu³ów PHP
218 Summary(pt_BR): Arquivos de desenvolvimento para PHP
219 Group:          Development/Languages/PHP
220 Requires:       %{name}-common = %{version}
221
222 %description devel
223 Files for PHP modules development.
224
225 %description devel -l pl
226 Pliki potrzebne do kompilacji modu³ów PHP.
227
228 %description devel -l pt_BR
229 Este pacote contém arquivos usados no desenvolvimento de programas ou
230 módulos PHP.
231
232 %package doc
233 Summary:        Online manual for PHP
234 Summary(pl):    Dokumentacja dla PHP
235 Summary(pt_BR): Manual da linguagem PHP, em formato HTML
236 Group:          Networking/Daemons
237 Obsoletes:      php-manual
238
239 %description doc
240 Comprehensive documentation for PHP, viewable through your web server,
241 too!
242
243 %description doc -l pl
244 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
245 WWW.
246
247 %description doc -l pt_BR
248 Manual da linguagem PHP, em formato HTML.
249
250 %package pear
251 Summary:        PEAR - PHP Extension and Application Repository
252 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
253 Group:          Development/Languages/PHP
254 Requires:       %{name}-cgi = %{version}
255 Requires:       %{name}-pcre = %{version}
256 Requires:       %{name}-xml = %{version}
257
258 %description pear
259 PEAR - PHP Extension and Application Repository.
260
261 %description pear -l pl
262 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
263 Repozytorium Aplikacji.
264
265 %package bcmath
266 Summary:        bcmath extension module for PHP
267 Summary(pl):    Modu³ bcmath dla PHP
268 Group:          Libraries
269 PreReq:         %{name}-common = %{version}
270
271 %description bcmath
272 This is a dynamic shared object (DSO) for Apache that will add bc
273 style precision math functions support to PHP.
274
275 %description bcmath -l pl
276 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
277 matematycznych takich jak w programie bc.
278
279 %package bzip2
280 Summary:        Bzip2 extension module for PHP
281 Summary(pl):    Modu³ bzip2 dla PHP
282 Group:          Libraries
283 PreReq:         %{name}-common = %{version}
284
285 %description bzip2
286 This is a dynamic shared object (DSO) for Apache that will add
287 compression (bzip2) support to PHP.
288
289 %description bzip2 -l pl
290 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê bzip2).
291
292 %package calendar
293 Summary:        Calendar extension module for PHP
294 Summary(pl):    Modu³ funkcji kalendarza dla PHP
295 Group:          Libraries
296 PreReq:         %{name}-common = %{version}
297
298 %description calendar
299 This is a dynamic shared object (DSO) for Apache that will add
300 calendar support to PHP.
301
302 %description calendar -l pl
303 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
304 wsparcie dla kalendarza.
305
306 %package cpdf
307 Summary:        cpdf extension module for PHP
308 Summary(pl):    Modu³ cpdf dla PHP
309 Group:          Libraries
310 PreReq:         %{name}-common = %{version}
311
312 %description cpdf
313 This is a dynamic shared object (DSO) for Apache that will add libcpdf
314 support to PHP.
315
316 %description cpdf -l pl
317 Modu³ PHP dodaj±cy obs³ugê biblioteki libcpdf.
318
319 %package crack
320 Summary:        crack extension module for PHP
321 Summary(pl):    Modu³ crack dla PHP
322 Group:          Libraries
323 PreReq:         %{name}-common = %{version}
324
325 %description crack
326 This is a dynamic shared object (DSO) for Apache that will add
327 cracklib support to PHP.
328
329 Warning: this is an experimental module.
330
331 %description crack -l pl
332 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki cracklib.
333
334 Uwaga: to jest modu³ eksperymentalny.
335
336 %package ctype
337 Summary:        ctype extension module for PHP
338 Summary(pl):    Modu³ ctype dla PHP
339 Group:          Libraries
340 PreReq:         %{name}-common = %{version}
341
342 %description ctype
343 This is a dynamic shared object (DSO) for Apache that will add
344 ctype support to PHP.
345
346 %description crack -l pl
347 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
348
349 %package curl
350 Summary:        curl extension module for PHP
351 Summary(pl):    Modu³ curl dla PHP
352 Group:          Libraries
353 PreReq:         %{name}-common = %{version}
354
355 %description curl
356 This is a dynamic shared object (DSO) for Apache that will add curl
357 support to PHP.
358
359 %description curl -l pl
360 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
361
362 %package dba
363 Summary:        DBA extension module for PHP
364 Summary(pl):    Modu³ DBA dla PHP
365 Group:          Libraries
366 PreReq:         %{name}-common = %{version}
367
368 %description dba
369 This is a dynamic shared object (DSO) for Apache that will add
370 flat-file databases (DBA) support to PHP.
371
372 %description dba -l pl
373 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
374 wsparcie dla baz danych opartych na plikach (DBA).
375
376 %package dbase
377 Summary:        DBase extension module for PHP
378 Summary(pl):    Modu³ DBase dla PHP
379 Group:          Libraries
380 PreReq:         %{name}-common = %{version}
381
382 %description dbase
383 This is a dynamic shared object (DSO) for Apache that will add DBase
384 support to PHP.
385
386 %description dbase -l pl
387 Modu³ PHP ze wsparciem dla DBase.
388
389 %package dbx
390 Summary:        DBX extension module for PHP
391 Summary(pl):    Modu³ DBX dla PHP
392 Group:          Libraries
393 PreReq:         %{name}-common = %{version}
394
395 %description dbx
396 This is a dynamic shared object (DSO) for Apache that will add
397 DB abstraction layer to PHP. DBX supports odbc, mysql, pgsql, mssql,
398 fbsql and more.
399
400 %description dbx -l pl
401 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
402 warstwê abstrakcji do obs³ugi baz danych. DBX obs³uguje bazy odbc,
403 mysql, pgsql, mssql, fbsql i inne.
404
405 %package dio
406 Summary:        Direct I/O extension module for PHP
407 Summary(pl):    Modu³ Direct I/O dla PHP
408 Group:          Libraries
409 PreReq:         %{name}-common = %{version}
410
411 %description dio
412 This is a dynamic shared object (DSO) for Apache that will add
413 direct file I/O support to PHP.
414
415 Warning: this is an experimental module.
416
417 %description dio -l pl
418 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
419 obs³ugê bezpo¶rednich operacji I/O na plikach.
420
421 Uwaga: to jest modu³ eksperymentalny.
422
423 %package domxml
424 Summary:        DOM XML extension module for PHP
425 Summary(pl):    Modu³ DOM XML dla PHP
426 Group:          Libraries
427
428 %description domxml
429 This is a dynamic shared object (DSO) for Apache that will add DOM XML
430 support to PHP.
431
432 Warning: this is an experimental module.
433
434 %description domxml -l pl
435 Modu³ PHP dodaj±cy obs³ugê DOM XML.
436
437 Uwaga: to jest modu³ eksperymentalny.
438
439 %package exif
440 Summary:        exif extension module for PHP
441 Summary(pl):    Modu³ exif dla PHP
442 Group:          Libraries
443 PreReq:         %{name}-common = %{version}
444
445 %description exif
446 This is a dynamic shared object (DSO) for Apache that will add exif
447 support to PHP.
448
449 %description exif -l pl
450 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
451
452 %package filepro
453 Summary:        filePro extension module for PHP
454 Summary(pl):    Modu³ filePro dla PHP
455 Group:          Libraries
456 PreReq:         %{name}-common = %{version}
457
458 %description filepro
459 This is a dynamic shared object (DSO) for Apache that will add PHP
460 support for read-only access to filePro databases.
461
462 %description filepro -l pl
463 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
464 mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych filePro.
465
466 %package ftp
467 Summary:        FTP extension module for PHP
468 Summary(pl):    Modu³ FTP dla PHP
469 Group:          Libraries
470 PreReq:         %{name}-common = %{version}
471
472 %description ftp
473 This is a dynamic shared object (DSO) for Apache that will add FTP
474 support to PHP.
475
476 %description ftp -l pl
477 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
478
479 %package gd
480 Summary:        GD extension module for PHP
481 Summary:        Modu³ GD dla PHP
482 Group:          Libraries
483 PreReq:         %{name}-common = %{version}
484
485 %description gd
486 This is a dynamic shared object (DSO) for Apache that will add GD
487 support to PHP. You should install this package in addition to the
488 main %{name} package if you want to create and manipulate images with
489 PHP.
490
491 %description gd -l pl
492 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
493 obrazków z poziomu PHP.
494
495 %package gettext
496 Summary:        gettext extension module for PHP
497 Summary(pl):    Modu³ gettext dla PHP
498 Group:          Libraries
499 PreReq:         %{name}-common = %{version}
500
501 %description gettext
502 This is a dynamic shared object (DSO) for Apache that will add gettext
503 support to PHP.
504
505 %description gettext -l pl
506 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
507
508 %package gmp
509 Summary:        gmp extension module for PHP
510 Summary(pl):    Modu³ gmp dla PHP
511 Group:          Libraries
512 PreReq:         %{name}-common = %{version}
513
514 %description gmp
515 This is a dynamic shared object (DSO) for Apache that will add
516 arbitrary length number support with GNU MP library to PHP.
517
518 %description gmp -l pl
519 Modu³ PHP umorzliwiaj±cy korzystanie z biblioteki gmp.
520
521 %package hyperwave
522 Summary:        Hyperwave extension module for PHP
523 Summary(pl):    Modu³ Hyperwave dla PHP
524 Group:          Libraries
525 PreReq:         %{name}-common = %{version}
526
527 %description hyperwave
528 This is a dynamic shared object (DSO) for Apache that will add
529 Hyperwave support to PHP.
530
531 %description hyperwave -l pl
532 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
533
534 %package iconv
535 Summary:        iconv extension module for PHP
536 Summary(pl):    Modu³ iconv dla PHP
537 Group:          Libraries
538 PreReq:         %{name}-common = %{version}
539
540 %description iconv
541 This is a dynamic shared object (DSO) for Apache that will add iconv
542 support to PHP.
543
544 %description iconv -l pl
545 Modu³ PHP dodaj±cy obs³ugê iconv.
546
547 %package imap
548 Summary:        IMAP extension module for PHP
549 Summary(pl):    Modu³ IMAP dla PHP
550 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
551 Group:          Libraries
552 PreReq:         %{name}-common = %{version}
553
554 %description imap
555 This is a dynamic shared object (DSO) for Apache that will add IMAP
556 support to PHP.
557
558 %description imap -l pl
559 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
560
561 %description imap -l pt_BR
562 Um módulo para aplicações PHP que usam IMAP.
563
564 %package interbase
565 Summary:        Interbase database module for PHP
566 Summary(pl):    Modu³ bazy danych Interbase dla PHP
567 Group:          Libraries
568 PreReq:         %{name}-common = %{version}
569 Autoreq:        false
570
571 %description interbase
572 This is a dynamic shared object (DSO) for Apache that will add
573 InterBase database support to PHP. If you need back-end support for
574 InterBase, you should install this package in addition to the main
575 %{name} package.
576
577 %description interbase -l pl
578 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych InterBase.
579
580 %package java
581 Summary:        Java extension module for PHP
582 Summary(pl):    Modu³ Javy dla PHP
583 Group:          Libraries
584 PreReq:         %{name}-common = %{version}
585
586 %description java
587 This is a dynamic shared object (DSO) for Apache that will add JAVA
588 support to PHP. This extension provides a simple and effective means
589 for creating and invoking methods on Java objects from PHP.
590
591 %description java -l pl
592 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
593 obiektów Javy z poziomu PHP.
594
595 %package ldap
596 Summary:        LDAP extension module for PHP
597 Summary(pl):    Modu³ LDAP dla PHP
598 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
599 Group:          Libraries
600 PreReq:         %{name}-common = %{version}
601
602 %description ldap
603 This is a dynamic shared object (DSO) for Apache that will add LDAP
604 support to PHP.
605
606 %description ldap -l pl
607 Modu³ PHP dodaj±cy obs³ugê LDAP.
608
609 %description ldap -l pt_BR
610 Um módulo para aplicações PHP que usam LDAP.
611 %package mbstring
612 Summary:        mbstring extension module for PHP
613 Summary(pl):    Modu³ mbstring dla PHP
614 Group:          Libraries
615 PreReq:         %{name}-common = %{version}
616
617 %description mbstring
618 This is a dynamic shared object (DSO) for Apache that will add
619 multibyte string support to PHP.
620
621 %description mbstring -l pl
622 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
623
624 %package mcal
625 Summary:        mcal extension module for PHP
626 Summary(pl):    Modu³ mcal dla PHP
627 Group:          Libraries
628 PreReq:         %{name}-common = %{version}
629
630 %description mcal
631 This is a dynamic shared object (DSO) for Apache that will add mcal
632 (Modular Calendar Access Library) support to PHP.
633
634 %description mcal -l pl
635 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki mcal (daj±cej dostêp
636 do kalendarzy).
637
638 %package mcrypt
639 Summary:        mcrypt extension module for PHP
640 Summary(pl):    Modu³ mcrypt dla PHP
641 Group:          Libraries
642 PreReq:         %{name}-common = %{version}
643
644 %description mcrypt
645 This is a dynamic shared object (DSO) for Apache that will add mcrypt
646 support to PHP.
647
648 %description mcrypt -l pl
649 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
650
651 %package mhash
652 Summary:        mhash extension module for PHP
653 Summary(pl):    Modu³ mhash dla PHP
654 Group:          Libraries
655 PreReq:         %{name}-common = %{version}
656
657 %description mhash
658 This is a dynamic shared object (DSO) for Apache that will add mhash
659 support to PHP.
660
661 %description mhash -l pl
662 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
663
664 %package ming
665 Summary:        ming extension module for PHP
666 Summary(pl):    Modu³ ming dla PHP
667 Group:          Libraries
668 PreReq:         %{name}-common = %{version}
669
670 %description ming
671 This is a dynamic shared object (DSO) for Apache that will add ming
672 (Flash - .swf files) support to PHP.
673
674 %description ming -l pl
675 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
676 ming.
677
678 %package mnogosearch
679 Summary:        mnoGoSearch extension module for PHP
680 Summary(pl):    Modu³ mnoGoSearch dla PHP
681 Group:          Libraries
682 PreReq:         %{name}-common = %{version}
683
684 %description mnogosearch
685 This is a dynamic shared object (DSO) for Apache that will allow
686 you to access mnoGoSearch free search engine in PHP.
687
688 %description mnogosearch -l pl
689 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
690 wyszukiwarki mnoGoSearch.
691
692 %package msession
693 Summary:        msession extension module for PHP
694 Summary(pl):    Modu³ msession dla PHP
695 Group:          Libraries
696 PreReq:         %{name}-common = %{version}
697
698 %description msession
699 This is a dynamic shared object (DSO) for Apache that will allow
700 you to use msession in PHP. msession is a high speed session daemon
701 which can run either locally or remotely. It is designed to provide
702 consistent session management for a PHP web farm.
703
704 %description msession -l pl
705 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
706 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
707 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
708 serwerów.
709
710 %package mysql
711 Summary:        MySQL database module for PHP
712 Summary(pl):    Modu³ bazy danych MySQL dla PHP
713 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
714 Group:          Libraries
715 PreReq:         %{name}-common = %{version}
716
717 %description mysql
718 This is a dynamic shared object (DSO) for Apache that will add MySQL
719 database support to PHP. If you need back-end support for MySQL, you
720 should install this package in addition to the main %{name} package.
721
722 %description mysql -l pl
723 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
724
725 %description mysql -l pt_BR
726 Um módulo para aplicações PHP que usam bancos de dados MySQL.
727
728 %package oci8
729 Summary:        Oracle 8 database module for PHP
730 Summary(pl):    Modu³ bazy danych Oracle 8 dla PHP
731 Group:          Libraries
732 PreReq:         %{name}-common = %{version}
733 Autoreq:        false
734
735 %description oci8
736 This is a dynamic shared object (DSO) for Apache that will add Oracle
737 7 and Oracle 8 database support to PHP through Oracle8 Call-Interface
738 (OCI8).
739
740 %description oci8 -l pl
741 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
742 poprzez interfejs Oracle8 Call-Interface (OCI8).
743
744 %package odbc
745 Summary:        ODBC extension module for PHP
746 Summary(pl):    Modu³ ODBC dla PHP
747 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
748 Group:          Libraries
749 PreReq:         %{name}-common = %{version}
750 Requires:       unixODBC >= 2.1.1-3
751
752 %description odbc
753 This is a dynamic shared object (DSO) for Apache that will add ODBC
754 support to PHP.
755
756 %description odbc -l pl
757 Modu³ PHP ze wsparciem dla ODBC.
758
759 %description odbc -l pt_BR
760 Um módulo para aplicações PHP que usam ODBC.
761
762 %package openssl
763 Summary:        OpenSSL extension module for PHP
764 Summary(pl):    Modu³ OpenSSL dla PHP
765 Group:          Libraries
766 PreReq:         %{name}-common = %{version}
767
768 %description openssl
769 This is a dynamic shared object (DSO) for Apache that will add OpenSSL
770 support to PHP.
771
772 Warning: this is an experimental module.
773
774 %description openssl -l pl
775 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
776
777 Uwaga: to jest modu³ eksperymentalny.
778
779 %package oracle
780 Summary:        Oracle 7 database module for PHP
781 Summary(pl):    Modu³ bazy danych Oracle 7 dla PHP
782 Group:          Libraries
783 PreReq:         %{name}-common = %{version}
784 Autoreq:        false
785
786 %description oracle
787 This is a dynamic shared object (DSO) for Apache that will add Oracle
788 7 database support to PHP.
789
790 %description oracle -l pl
791 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
792
793 %package overload
794 Summary:        Overload extension module for PHP
795 Summary(pl):    Modu³ Overload dla PHP
796 Group:          Libraries
797 PreReq:         %{name}-common = %{version}
798
799 %description overload
800 This is a dynamic shared object (DSO) for Apache that will add
801 user-space object overloading support to PHP.
802
803 Warning: this is an experimental module.
804
805 %description overload -l pl
806 Modu³ PHP umo¿liwiaj±cy przeci±¿anie obiektów.
807
808 Uwaga: to jest modu³ eksperymentalny.
809
810 %package pcntl
811 Summary:        Process Control extension module for PHP
812 Summary(pl):    Modu³ Process Control dla PHP
813 Group:          Libraries
814 PreReq:         %{name}-common = %{version}
815
816 %description pcntl
817 This is a dynamic shared object (DSO) for Apache that will add process
818 spawning and control support to PHP. It supports functions like
819 fork(), waitpid(), signal() etc.
820
821 Warning: this is an experimental module. Also, don't use it in
822 webserver environment!
823
824 %description pcntl -l pl
825 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
826 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
827
828 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
829 u¿ywania z serwerem WWW - nie próbuj tego!
830
831 %package pcre
832 Summary:        PCRE extension module for PHP
833 Summary(pl):    Modu³ PCRE dla PHP
834 Group:          Libraries
835 PreReq:         %{name}-common = %{version}
836
837 %description pcre
838 This is a dynamic shared object (DSO) for Apache that will add Perl
839 Compatible Regular Expression support to PHP.
840
841 %description pcre -l pl
842 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
843 (Perl Compatible Regular Expressions)
844
845 %package pdf
846 Summary:        libPDF module for PHP
847 Summary(pl):    Modu³ do tworzenia plików PDF dla PHP
848 Group:          Libraries
849 PreReq:         %{name}-common = %{version}
850 PreReq:         pdflib
851
852 %description pdf
853 This is a dynamic shared object (DSO) for Apache that will add PDF
854 support to PHP.
855
856 %description pdf -l pl
857 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
858 pdflib.
859
860 %package pgsql
861 Summary:        PostgreSQL database module for PHP
862 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
863 Group:          Libraries
864 PreReq:         %{name}-common = %{version}
865
866 %description pgsql
867 This is a dynamic shared object (DSO) for Apache that will add
868 PostgreSQL database support to PHP. If you need back-end support for
869 PostgreSQL, you should install this package in addition to the main
870 %{name} package.
871
872 %description pgsql -l pl
873 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
874
875 %description pgsql -l pt_BR
876 Um módulo para aplicações PHP que usam bancos de dados postgresql.
877
878 %package posix
879 Summary:        POSIX extension module for PHP
880 Summary(pl):    Modu³ POSIX dla PHP
881 Group:          Libraries
882 PreReq:         %{name}-common = %{version}
883
884 %description posix
885 This is a dynamic shared object (DSO) for Apache that will add POSIX
886 functions support to PHP.
887
888 %description posix -l pl
889 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
890
891 %package pspell
892 Summary:        pspell extension module for PHP
893 Summary(pl):    Modu³ pspell dla PHP
894 Group:          Libraries
895 PreReq:         %{name}-common = %{version}
896
897 %description pspell
898 This is a dynamic shared object (DSO) for Apache that will add pspell
899 support to PHP. It allows to check the spelling of a word and offer
900 suggestions.
901
902 %description pspell -l pl
903 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
904 sprawdzanie pisowni s³owa i sugerowanie poprawek.
905
906 %package recode
907 Summary:        recode extension module for PHP
908 Summary(pl):    Modu³ recode dla PHP
909 Group:          Libraries
910 PreReq:         %{name}-common = %{version}
911 Requires:       recode >= 3.5d-3
912
913 %description recode
914 This is a dynamic shared object (DSO) for Apache that will add recode
915 support to PHP.
916
917 %description recode -l pl
918 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
919 bibliotekê recode).
920
921 %package session
922 Summary:        session extension module for PHP
923 Summary(pl):    Modu³ session dla PHP
924 Group:          Libraries
925 PreReq:         %{name}-common = %{version}
926
927 %description session
928 This is a dynamic shared object (DSO) for Apache that will add session
929 support to PHP.
930
931 %description session -l pl
932 Modu³ PHP dodaj±cy obs³ugê sesji.
933
934 %package shmop
935 Summary:        Shared Memory Operations extension module for PHP
936 Summary(pl):    Modu³ shmop dla PHP
937 Group:          Libraries
938 PreReq:         %{name}-common = %{version}
939
940 %description shmop
941 This is a dynamic shared object (DSO) for Apache that will add
942 Shared Memory Operations support to PHP.
943
944 Warning: this is an experimental module.
945
946 %description shmop -l pl
947 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
948
949 Uwaga: to jest modu³ eksperymentalny.
950
951 %package snmp
952 Summary:        SNMP extension module for PHP
953 Summary(pl):    Modu³ SNMP dla PHP
954 Group:          Libraries
955 PreReq:         %{name}-common = %{version}
956
957 %description snmp
958 This is a dynamic shared object (DSO) for Apache that will add SNMP
959 support to PHP.
960
961 %description snmp -l pl
962 Modu³ PHP dodaj±cy obs³ugê SNMP.
963
964 %package sockets
965 Summary:        sockets extension module for PHP
966 Summary(pl):    Modu³ socket dla PHP
967 Group:          Libraries
968 PreReq:         %{name}-common = %{version}
969
970 %description sockets
971 This is a dynamic shared object (DSO) for Apache that will add sockets
972 support to PHP.
973
974 Warning: this is an experimental module.
975
976 %description sockets -l pl
977 Modu³ PHP dodaj±cy obs³ugê gniazdek.
978
979 Uwaga: to jest modu³ eksperymentalny.
980
981 %package sybase-ct
982 Summary:        Sybase-CT extension module for PHP
983 Summary(pl):    Modu³ Sybase-CT dla PHP
984 Group:          Libraries
985 PreReq:         %{name}-common = %{version}
986
987 %description sybase-ct
988 This is a dynamic shared object (DSO) for Apache that will add
989 Sybase and MS SQL databases support through CT-lib to PHP.
990
991 %description sybase-ct -l pl
992 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
993 CT-lib.
994
995 %package sysvsem
996 Summary:        SysV sem extension module for PHP
997 Summary(pl):    Modu³ SysV sem dla PHP
998 Group:          Libraries
999 PreReq:         %{name}-common = %{version}
1000
1001 %description sysvsem
1002 This is a dynamic shared object (DSO) for Apache that will add SysV
1003 semafores support to PHP.
1004
1005 %description sysvsem -l pl
1006 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1007
1008 %package sysvshm
1009 Summary:        SysV shm extension module for PHP
1010 Summary(pl):    Modu³ SysV shm dla PHP
1011 Group:          Libraries
1012 PreReq:         %{name}-common = %{version}
1013
1014 %description sysvshm
1015 This is a dynamic shared object (DSO) for Apache that will add SysV
1016 Shared Memory support to PHP.
1017
1018 %description sysvshm -l pl
1019 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1020
1021 %package wddx
1022 Summary:        wddx extension module for PHP
1023 Summary(pl):    Modu³ wddx dla PHP
1024 Group:          Libraries
1025 PreReq:         %{name}-common = %{version}
1026 PreReq:         %{name}-session = %{version}
1027
1028 %description wddx
1029 This is a dynamic shared object (DSO) for Apache that will add wddx
1030 support to PHP.
1031
1032 %description wddx -l pl
1033 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1034
1035 %package xml
1036 Summary:        XML extension module for PHP
1037 Summary(pl):    Modu³ XML dla PHP
1038 Group:          Libraries
1039 PreReq:         %{name}-common = %{version}
1040
1041 %description xml
1042 This is a dynamic shared object (DSO) for Apache that will add XML
1043 support to PHP. This extension lets you create XML parsers and then
1044 define handlers for different XML events. If you want to be able to
1045 parse XML documents you should install this package in addition to the
1046 main %{name} package.
1047
1048 %description xml -l pl
1049 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1050 zwi±zanych z tymi plikami.
1051
1052 %package xmlrpc
1053 Summary:        xmlrpc extension module for PHP
1054 Summary(pl):    Modu³ xmlrpc dla PHP
1055 Group:          Libraries
1056 PreReq:         %{name}-common = %{version}
1057
1058 %description xmlrpc
1059 This is a dynamic shared object (DSO) for Apache that will add XMLRPC
1060 support to PHP.
1061
1062 Warning: this is an experimental module.
1063
1064 %description xmlrpc -l pl
1065 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1066
1067 Uwaga: to jest modu³ eksperymentalny.
1068
1069 %package xslt
1070 Summary:        xslt extension module for PHP
1071 Summary(pl):    Modu³ xslt dla PHP
1072 Group:          Libraries
1073 PreReq:         %{name}-common = %{version}
1074
1075 %description xslt
1076 This is a dynamic shared object (DSO) for Apache that will add xslt
1077 support to PHP.
1078
1079 %description xslt -l pl
1080 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1081
1082 %package yaz
1083 Summary:        yaz extension module for PHP
1084 Summary(pl):    Modu³ yaz dla PHP
1085 Group:          Libraries
1086 PreReq:         %{name}-common = %{version}
1087
1088 %description yaz
1089 This is a dynamic shared object (DSO) for Apache that will add yaz
1090 support to PHP. yaz toolkit implements the Z39.50 protocol for
1091 information retrieval.
1092
1093 %description yaz -l pl
1094 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1095 Z39.50 s³u¿±cego do pozyskiwania informacji.
1096
1097 %package yp
1098 Summary:        NIS (yp) extension module for PHP
1099 Summary(pl):    Modu³ NIS (yp) dla PHP
1100 Group:          Libraries
1101 PreReq:         %{name}-common = %{version}
1102
1103 %description yp
1104 This is a dynamic shared object (DSO) for Apache that will add NIS
1105 (Yellow Pages) support to PHP.
1106
1107 %description yp -l pl
1108 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
1109 wsparcie dla NIS (Yellow Pages).
1110
1111 %package zip
1112 Summary:        zip extension module for PHP
1113 Summary(pl):    Modu³ zip dla PHP
1114 Group:          Libraries
1115 PreReq:         %{name}-common = %{version}
1116
1117 %description zip
1118 This is a dynamic shared object (DSO) for Apache that will add
1119 ZZipLib (read-only access to ZIP archives) support to PHP.
1120
1121 %description zip -l pl
1122 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1123 (pozwalaj±cej na odczyt archiwów ZIP).
1124
1125 %package zlib
1126 Summary:        Zlib extension module for PHP
1127 Summary(pl):    Modu³ zlib dla PHP
1128 Group:          Libraries
1129 PreReq:         %{name}-common = %{version}
1130
1131 %description zlib
1132 This is a dynamic shared object (DSO) for Apache that will add
1133 compression (zlib) support to PHP.
1134
1135 %description zlib -l pl
1136 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
1137
1138 %prep
1139 %setup -q
1140 %patch0 -p1
1141 %patch1 -p1
1142 %patch2 -p1
1143 %patch3 -p1
1144 %patch4 -p1
1145 %patch5 -p1
1146 %patch6 -p1
1147 %patch7 -p1
1148 %patch8 -p1
1149 %patch9 -p1
1150 %patch10 -p1
1151 %patch11 -p1
1152 %patch12 -p1
1153 %patch13 -p1
1154 %patch14 -p1
1155 %patch15 -p1
1156 %patch16 -p1
1157 %patch17 -p1
1158 %patch18 -p1
1159 %patch19 -p1
1160
1161 install -d manual
1162 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
1163
1164 %build
1165 CFLAGS="%{rpmcflags} -DEAPI=1 -I%{_prefix}/X11R6/include"
1166 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1167 ./buildconf
1168 libtoolize --copy --force
1169 aclocal
1170 autoconf
1171 #for i in cgi fastcgi apxs ; do
1172 for i in cgi apxs ; do
1173 %configure \
1174         `[ $i = cgi ] && echo --enable-discard-path` \
1175         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
1176 %if %{_apache2} 
1177         `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
1178 %else
1179         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
1180 %endif  
1181         --with-config-file-path=%{_sysconfdir} \
1182         --with-exec-dir=%{_bindir} \
1183         --%{!?debug:dis}%{?debug:en}able-debug \
1184         --enable-bcmath=shared \
1185         --enable-calendar=shared \
1186         --disable-cli \
1187         --enable-ctype=shared \
1188         --enable-dba=shared \
1189         --enable-dbx=shared \
1190         --enable-dio=shared \
1191         --enable-exif=shared \
1192         --enable-ftp=shared \
1193         --enable-gd-native-ttf \
1194         --enable-magic-quotes \
1195         --enable-mbstring=shared --disable-mbstr-enc-trans --enable-mbregex \
1196         --enable-overload=shared \
1197         --disable-pcntl \
1198         --enable-posix=shared \
1199         --enable-session \
1200         --enable-shared \
1201         --enable-shmop=shared \
1202         --enable-sysvsem=shared \
1203         --enable-sysvshm=shared \
1204         --enable-track-vars \
1205         --enable-trans-sid \
1206         --enable-safe-mode \
1207         --enable-sockets=shared \
1208         --enable-ucd-snmp-hack \
1209         %{!?_without_wddx:--enable-wddx=shared} \
1210         --enable-xml=shared \
1211         %{!?_without_xslt:--enable-xslt=shared} \
1212         --enable-yp=shared \
1213         --with-bz2=shared \
1214         %{?_with_cpdf:--with-cpdflib=shared} \
1215         --with-crack=shared \
1216         --with-curl=shared \
1217         --without-db2 \
1218         --with-db3 \
1219         --with-dbase=shared \
1220         --with-dom=shared \
1221         %{!?_without_libxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1222         --with-expat-dir=shared,/usr \
1223         --with-iconv=shared \
1224         --with-filepro=shared \
1225         --with-freetype-dir=shared \
1226         --with-gettext=shared \
1227         --with-gd=shared \
1228         --with-gdbm \
1229         --with-gmp=shared \
1230         --with-hyperwave=shared \
1231         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1232         %{?_with_interbase:--with-interbase=shared} \
1233         %{?_with_java:--with-java} \
1234         --with-jpeg-dir=shared,/usr \
1235         %{!?_without_ldap:--with-ldap=shared} \
1236         --with-mcal=shared,/usr \
1237         --with-mcrypt=shared \
1238         --with-mhash=shared \
1239         --with-ming=shared \
1240         %{!?_without_mm:--with-mm} \
1241         --with-mnogosearch=shared,/usr \
1242         %{!?_without_msession:--with-msession=shared} \
1243         --with-mysql=shared,/usr \
1244         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1245         %{?_with_oci8:--with-oci8=shared} \
1246         %{!?_without_openssl:--with-openssl=shared} \
1247         %{?_with_oracle:--with-oracle=shared} \
1248         --with-pcre-regex=shared \
1249         --with-pdflib=shared \
1250         --with-pear=%{peardir} \
1251         --with-pgsql=shared,/usr \
1252         --with-png-dir=shared,/usr \
1253         --with-pspell=shared \
1254         %{!?_without_recode:--with-recode=shared} \
1255         --with-regex=php \
1256         --with-sablot-js=shared,no \
1257         %{!?_without_snmp:--with-snmp=shared} \
1258         %{?_with_sybase_ct:--with-sybase-ct=shared,/usr} \
1259         --with-t1lib=shared \
1260         --with-tiff-dir=shared,/usr \
1261         %{!?_without_odbc:--with-unixODBC=shared} \
1262         --with-xmlrpc=shared,/usr \
1263         %{!?_without_xslt:--with-xslt-sablot=shared} \
1264         --with-yaz=shared \
1265         --with-zip=shared \
1266         --with-zlib=shared \
1267         --with-zlib-dir=shared
1268 done
1269
1270 # for now session_mm doesn't work with shared session module...
1271 # --enable-session=shared
1272 # %{?_without_mm:--with-mm=shared,no}%{!?_without_mm:--with-mm=shared}
1273
1274 # TODO --with-pspell=/usr,shared (pspell missing)
1275 #       --with-qtdom=shared
1276
1277 %{__make}
1278 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1279
1280 # Kill -rpath from php binary and libphp4.so
1281 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1282 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1283 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1284
1285 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1286 rm libphp4.la ; %{__make} libphp4.la
1287
1288 %install
1289 rm -rf $RPM_BUILD_ROOT
1290 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1291         $RPM_BUILD_ROOT/home/httpd/icons \
1292         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1293         $RPM_BUILD_ROOT/var/run/php \
1294         $RPM_BUILD_ROOT/etc/httpd/httpd.conf
1295
1296 %{__make} install \
1297         INSTALL_ROOT=$RPM_BUILD_ROOT \
1298         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1299
1300 %{?_with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{_libdir}}
1301
1302 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1303
1304 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1305 install %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}
1306 install %{SOURCE3} php.gif $RPM_BUILD_ROOT/home/httpd/icons
1307 install %{SOURCE5} $RPM_BUILD_ROOT%{_sbindir}
1308 install %{SOURCE6} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1309
1310 install %{SOURCE1} .
1311
1312 mv -f Zend/LICENSE{,.Zend}
1313
1314 %clean
1315 rm -rf $RPM_BUILD_ROOT
1316
1317 %post
1318 %if ! %{_apache2}
1319 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1320         /etc/httpd/httpd.conf
1321 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1322 %endif
1323 if [ -f /var/lock/subsys/httpd ]; then
1324         /etc/rc.d/init.d/httpd restart 1>&2
1325 fi
1326
1327 %if %{_apache2}
1328 %postun
1329 if [ "$1" = "0" ]; then
1330         if [ -f /var/lock/subsys/httpd ]; then
1331                 /etc/rc.d/init.d/httpd restart 1>&2
1332         fi
1333 fi
1334 %else
1335 %preun
1336 if [ "$1" = "0" ]; then
1337         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1338         perl -pi -e \
1339                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1340                 /etc/httpd/httpd.conf
1341         if [ -f /var/lock/subsys/httpd ]; then
1342                 /etc/rc.d/init.d/httpd restart 1>&2
1343         fi
1344 fi
1345 %endif
1346
1347 %post   common -p /sbin/ldconfig
1348 %postun common -p /sbin/ldconfig
1349
1350 %post bcmath
1351 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1352
1353 %preun bcmath
1354 if [ "$1" = "0" ]; then
1355         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1356 fi
1357
1358 %post bzip2
1359 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1360
1361 %preun bzip2
1362 if [ "$1" = "0" ]; then
1363         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1364 fi
1365
1366 %post calendar
1367 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1368
1369 %preun calendar
1370 if [ "$1" = "0" ]; then
1371         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1372 fi
1373
1374 %post cpdf
1375 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1376
1377 %preun cpdf
1378 if [ "$1" = "0" ]; then
1379         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1380 fi
1381
1382 %post crack
1383 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1384
1385 %preun crack
1386 if [ "$1" = "0" ]; then
1387         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1388 fi
1389
1390 %post ctype
1391 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1392
1393 %preun ctype
1394 if [ "$1" = "0" ]; then
1395         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1396 fi
1397
1398 %post curl
1399 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1400
1401 %preun curl
1402 if [ "$1" = "0" ]; then
1403         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1404 fi
1405
1406 %post dba
1407 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1408
1409 %preun dba
1410 if [ "$1" = "0" ]; then
1411         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1412 fi
1413
1414 %post dbase
1415 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1416
1417 %preun dbase
1418 if [ "$1" = "0" ]; then
1419         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1420 fi
1421
1422 %post dbx
1423 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1424
1425 %preun dbx
1426 if [ "$1" = "0" ]; then
1427         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1428 fi
1429
1430 %post dio
1431 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1432
1433 %preun dio
1434 if [ "$1" = "0" ]; then
1435         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1436 fi
1437
1438 %post domxml
1439 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1440
1441 %preun domxml
1442 if [ "$1" = "0" ]; then
1443         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1444 fi
1445
1446 %post exif
1447 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1448
1449 %preun exif
1450 if [ "$1" = "0" ]; then
1451         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1452 fi
1453
1454 %post filepro
1455 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1456
1457 %preun filepro
1458 if [ "$1" = "0" ]; then
1459         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1460 fi
1461
1462 %post ftp
1463 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1464
1465 %preun ftp
1466 if [ "$1" = "0" ]; then
1467         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1468 fi
1469
1470 %post gd
1471 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1472
1473 %preun gd
1474 if [ "$1" = "0" ]; then
1475         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1476 fi
1477
1478 %post gettext
1479 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1480
1481 %preun gettext
1482 if [ "$1" = "0" ]; then
1483         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1484 fi
1485
1486 %post gmp
1487 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1488
1489 %preun gmp
1490 if [ "$1" = "0" ]; then
1491         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1492 fi
1493
1494 %post hyperwave
1495 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1496
1497 %preun hyperwave
1498 if [ "$1" = "0" ]; then
1499         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1500 fi
1501
1502 %post iconv
1503 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1504
1505 %preun iconv
1506 if [ "$1" = "0" ]; then
1507         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1508 fi
1509
1510 %post imap
1511 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1512
1513 %preun imap
1514 if [ "$1" = "0" ]; then
1515         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1516 fi
1517
1518 %post interbase
1519 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1520
1521 %preun interbase
1522 if [ "$1" = "0" ]; then
1523         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1524 fi
1525         
1526 %post java
1527 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1528
1529 %preun java
1530 if [ "$1" = "0" ]; then
1531         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1532 fi
1533
1534 %post ldap
1535 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1536
1537 %preun ldap
1538 if [ "$1" = "0" ]; then
1539         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1540 fi
1541
1542 %post mbstring
1543 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1544
1545 %preun mbstring
1546 if [ "$1" = "0" ]; then
1547         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1548 fi
1549
1550 %post mcal
1551 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1552
1553 %preun mcal
1554 if [ "$1" = "0" ]; then
1555         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1556 fi
1557
1558 %post mcrypt
1559 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1560
1561 %preun mcrypt
1562 if [ "$1" = "0" ]; then
1563         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1564 fi
1565
1566 %post mhash
1567 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1568
1569 %preun mhash
1570 if [ "$1" = "0" ]; then
1571         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1572 fi
1573
1574 %post ming
1575 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1576
1577 %preun ming
1578 if [ "$1" = "0" ]; then
1579         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1580 fi
1581
1582 %post mnogosearch
1583 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1584
1585 %preun mnogosearch
1586 if [ "$1" = "0" ]; then
1587         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1588 fi
1589
1590 %post msession
1591 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1592
1593 %preun msession
1594 if [ "$1" = "0" ]; then
1595         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1596 fi
1597
1598 %post mysql
1599 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1600
1601 %preun mysql
1602 if [ "$1" = "0" ]; then
1603         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1604 fi
1605
1606 %post oci8
1607 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1608
1609 %preun oci8
1610 if [ "$1" = "0" ]; then
1611         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1612 fi
1613
1614 %post odbc
1615 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1616
1617 %preun odbc
1618 if [ "$1" = "0" ]; then
1619         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1620 fi
1621
1622 %post openssl
1623 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1624
1625 %preun openssl
1626 if [ "$1" = "0" ]; then
1627         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1628 fi
1629
1630 %post oracle
1631 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1632
1633 %preun oracle
1634 if [ "$1" = "0" ]; then
1635         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1636 fi
1637
1638 %post overload
1639 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1640
1641 %preun overload
1642 if [ "$1" = "0" ]; then
1643         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1644 fi
1645
1646 %post pcntl
1647 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php.ini
1648
1649 %preun pcntl
1650 if [ "$1" = "0" ]; then
1651         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php.ini
1652 fi
1653
1654 %post pcre
1655 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1656
1657 %preun pcre
1658 if [ "$1" = "0" ]; then
1659         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1660 fi
1661
1662 %post pdf
1663 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1664
1665 %preun pdf
1666 if [ "$1" = "0" ]; then
1667         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1668 fi
1669
1670 %post pgsql
1671 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1672
1673 %preun pgsql
1674 if [ "$1" = "0" ]; then
1675         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1676 fi
1677
1678 %post posix
1679 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1680
1681 %preun posix
1682 if [ "$1" = "0" ]; then
1683         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1684 fi
1685
1686 %post pspell
1687 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1688
1689 %preun pspell
1690 if [ "$1" = "0" ]; then
1691         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1692 fi
1693
1694 %post recode
1695 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1696
1697 %preun recode
1698 if [ "$1" = "0" ]; then
1699         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1700 fi
1701
1702 %post session
1703 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1704
1705 %preun session
1706 if [ "$1" = "0" ]; then
1707         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1708 fi
1709
1710 %post shmop
1711 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1712
1713 %preun shmop
1714 if [ "$1" = "0" ]; then
1715         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1716 fi
1717
1718 %post snmp
1719 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1720
1721 %preun snmp
1722 if [ "$1" = "0" ]; then
1723         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1724 fi
1725
1726 %post sockets
1727 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1728
1729 %preun sockets
1730 if [ "$1" = "0" ]; then
1731         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1732 fi
1733
1734 %post sybase-ct
1735 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1736
1737 %preun sybase-ct
1738 if [ "$1" = "0" ]; then
1739         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1740 fi
1741
1742 %post sysvsem
1743 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1744
1745 %preun sysvsem
1746 if [ "$1" = "0" ]; then
1747         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1748 fi
1749
1750 %post sysvshm
1751 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1752
1753 %preun sysvshm
1754 if [ "$1" = "0" ]; then
1755         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1756 fi
1757
1758 %post wddx
1759 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1760
1761 %preun wddx
1762 if [ "$1" = "0" ]; then
1763         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1764 fi
1765
1766 %post xml
1767 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1768
1769 %preun xml
1770 if [ "$1" = "0" ]; then
1771         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1772 fi
1773
1774 %post xmlrpc
1775 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1776
1777 %preun xmlrpc
1778 if [ "$1" = "0" ]; then
1779         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1780 fi
1781
1782 %post xslt
1783 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1784
1785 %preun xslt
1786 if [ "$1" = "0" ]; then
1787         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1788 fi
1789
1790 %post yaz
1791 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1792
1793 %preun yaz
1794 if [ "$1" = "0" ]; then
1795         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1796 fi
1797
1798 %post yp
1799 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1800
1801 %preun yp
1802 if [ "$1" = "0" ]; then
1803         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1804 fi
1805
1806 %post zip
1807 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
1808
1809 %preun zip
1810 if [ "$1" = "0" ]; then
1811         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
1812 fi
1813
1814 %post zlib
1815 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1816
1817 %preun zlib
1818 if [ "$1" = "0" ]; then
1819         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1820 fi
1821
1822 %files
1823 %defattr(644,root,root,755)
1824 %if %{_apache2}
1825 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
1826 %endif
1827 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1828 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
1829
1830 %files cgi
1831 %defattr(644,root,root,755)
1832 %attr(755,root,root) %{_bindir}/php
1833 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
1834
1835 %files common
1836 %defattr(644,root,root,755)
1837 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
1838 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
1839 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
1840
1841 %dir %{_sysconfdir}
1842 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1843 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1844
1845 /home/httpd/icons/*
1846 %attr(755,root,root) %{_sbindir}/*
1847 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1848 %dir %{extensionsdir}
1849
1850 %files devel
1851 %defattr(644,root,root,755)
1852 %{_includedir}/php
1853 %{_libdir}/php/build
1854 %attr(755,root,root) %{_bindir}/phpextdist
1855 %attr(755,root,root) %{_bindir}/phpize
1856 %attr(755,root,root) %{_bindir}/php-config
1857
1858 %files doc
1859 %defattr(644,root,root,755)
1860 %doc manual/*
1861
1862 %files bcmath
1863 %defattr(644,root,root,755)
1864 %attr(755,root,root) %{extensionsdir}/bcmath.so
1865
1866 %files bzip2
1867 %defattr(644,root,root,755)
1868 %attr(755,root,root) %{extensionsdir}/bz2.so
1869
1870 %files calendar
1871 %defattr(644,root,root,755)
1872 %attr(755,root,root) %{extensionsdir}/calendar.so
1873
1874 %if %{?_with_cpdf:1}%{!?_with_cpdf:0}
1875 %files cpdf
1876 %defattr(644,root,root,755)
1877 %attr(755,root,root) %{extensionsdir}/cpdf.so
1878 %endif
1879
1880 %files crack
1881 %defattr(644,root,root,755)
1882 %attr(755,root,root) %{extensionsdir}/crack.so
1883
1884 %files ctype
1885 %defattr(644,root,root,755)
1886 %attr(755,root,root) %{extensionsdir}/ctype.so
1887
1888 %files curl
1889 %defattr(644,root,root,755)
1890 %attr(755,root,root) %{extensionsdir}/curl.so
1891
1892 %files dba
1893 %defattr(644,root,root,755)
1894 %attr(755,root,root) %{extensionsdir}/dba.so
1895
1896 %files dbase
1897 %defattr(644,root,root,755)
1898 %attr(755,root,root) %{extensionsdir}/dbase.so
1899
1900 %files dbx
1901 %defattr(644,root,root,755)
1902 %attr(755,root,root) %{extensionsdir}/dbx.so
1903
1904 %files dio
1905 %defattr(644,root,root,755)
1906 %attr(755,root,root) %{extensionsdir}/dio.so
1907
1908 %files domxml
1909 %defattr(644,root,root,755)
1910 %attr(755,root,root) %{extensionsdir}/domxml.so
1911
1912 %files exif
1913 %defattr(644,root,root,755)
1914 %attr(755,root,root) %{extensionsdir}/exif.so
1915
1916 %files filepro
1917 %defattr(644,root,root,755)
1918 %attr(755,root,root) %{extensionsdir}/filepro.so
1919
1920 %files ftp
1921 %defattr(644,root,root,755)
1922 %attr(755,root,root) %{extensionsdir}/ftp.so
1923
1924 %files gd
1925 %defattr(644,root,root,755)
1926 %attr(755,root,root) %{extensionsdir}/gd.so
1927
1928 %files gettext
1929 %defattr(644,root,root,755)
1930 %attr(755,root,root) %{extensionsdir}/gettext.so
1931
1932 %files gmp
1933 %defattr(644,root,root,755)
1934 %attr(755,root,root) %{extensionsdir}/gmp.so
1935
1936 %files hyperwave
1937 %defattr(644,root,root,755)
1938 %attr(755,root,root) %{extensionsdir}/hyperwave.so
1939
1940 %files iconv
1941 %defattr(644,root,root,755)
1942 %attr(755,root,root) %{extensionsdir}/iconv.so
1943
1944 %if %{?_without_imap:0}%{!?_without_imap:1}
1945 %files imap
1946 %defattr(644,root,root,755)
1947 %attr(755,root,root) %{extensionsdir}/imap.so
1948 %endif
1949
1950 %if %{?_with_interbase:1}%{!?_with_interbase:0}
1951 %files interbase
1952 %defattr(644,root,root,755)
1953 %attr(755,root,root) %{extensionsdir}/interbase.so
1954 %endif
1955
1956 %if %{?_with_java:1}%{!?_with_java:0}
1957 %files java
1958 %defattr(644,root,root,755)
1959 %attr(755,root,root) %{extensionsdir}/java.so
1960 %{_libdir}/php_java.jar
1961 %endif
1962
1963 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1964 %files ldap
1965 %defattr(644,root,root,755)
1966 %attr(755,root,root) %{extensionsdir}/ldap.so
1967 %endif
1968
1969 %files mbstring
1970 %defattr(644,root,root,755)
1971 %attr(755,root,root) %{extensionsdir}/mbstring.so
1972
1973 %files mcal
1974 %defattr(644,root,root,755)
1975 %attr(755,root,root) %{extensionsdir}/mcal.so
1976
1977 %files mcrypt
1978 %defattr(644,root,root,755)
1979 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1980
1981 %files mhash
1982 %defattr(644,root,root,755)
1983 %attr(755,root,root) %{extensionsdir}/mhash.so
1984
1985 %files ming
1986 %defattr(644,root,root,755)
1987 %attr(755,root,root) %{extensionsdir}/ming.so
1988
1989 %files mnogosearch
1990 %defattr(644,root,root,755)
1991 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
1992
1993 %if %{?_without_msession:0}%{!?_without_msession:1}
1994 %files msession
1995 %defattr(644,root,root,755)
1996 %attr(755,root,root) %{extensionsdir}/msession.so
1997 %endif
1998
1999 %files mysql
2000 %defattr(644,root,root,755)
2001 %attr(755,root,root) %{extensionsdir}/mysql.so
2002
2003 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2004 %files oci8
2005 %defattr(644,root,root,755)
2006 %attr(755,root,root) %{extensionsdir}/oci8.so
2007 %endif
2008
2009 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2010 %files odbc
2011 %defattr(644,root,root,755)
2012 %attr(755,root,root) %{extensionsdir}/odbc.so
2013 %endif
2014
2015 %if %{?_without_openssl:0}%{!?_without_odbc:1}
2016 %files openssl
2017 %defattr(644,root,root,755)
2018 %attr(755,root,root) %{extensionsdir}/openssl.so
2019 %endif
2020
2021 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2022 %files oracle
2023 %defattr(644,root,root,755)
2024 %attr(755,root,root) %{extensionsdir}/oracle.so
2025 %endif
2026
2027 %files overload
2028 %defattr(644,root,root,755)
2029 %attr(755,root,root) %{extensionsdir}/overload.so
2030
2031 # disabled in 4.2.0 - it segfaults
2032 #%files pcntl
2033 #%defattr(644,root,root,755)
2034 #%attr(755,root,root) %{extensionsdir}/pcntl.so
2035
2036 %files pcre
2037 %defattr(644,root,root,755)
2038 %attr(755,root,root) %{extensionsdir}/pcre.so
2039
2040 %files pear
2041 %defattr(644,root,root,755)
2042 %attr(755,root,root) %{_bindir}/pear
2043 %attr(755,root,root) %{_bindir}/pearize
2044 %attr(755,root,root) %{_bindir}/phptar
2045 %{peardir}
2046
2047 %files pdf
2048 %defattr(644,root,root,755)
2049 %attr(755,root,root) %{extensionsdir}/pdf.so
2050
2051 %files pgsql
2052 %defattr(644,root,root,755)
2053 %attr(755,root,root) %{extensionsdir}/pgsql.so
2054
2055 %files posix
2056 %defattr(644,root,root,755)
2057 %attr(755,root,root) %{extensionsdir}/posix.so
2058
2059 %files pspell
2060 %defattr(644,root,root,755)
2061 %attr(755,root,root) %{extensionsdir}/pspell.so
2062
2063 %if %{?_without_recode:0}%{!?_without_recode:1}
2064 %files recode
2065 %defattr(644,root,root,755)
2066 %attr(755,root,root) %{extensionsdir}/recode.so
2067 %endif
2068
2069 # session_mm doesn't work with shared session
2070 #%files session
2071 #%defattr(644,root,root,755)
2072 #%attr(755,root,root) %{extensionsdir}/session.so
2073
2074 %files shmop
2075 %defattr(644,root,root,755)
2076 %attr(755,root,root) %{extensionsdir}/shmop.so
2077
2078 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2079 %files snmp
2080 %defattr(644,root,root,755)
2081 %attr(755,root,root) %{extensionsdir}/snmp.so
2082 %endif
2083
2084 %files sockets
2085 %defattr(644,root,root,755)
2086 %attr(755,root,root) %{extensionsdir}/sockets.so
2087
2088 %if %{?_with_sybase_ct:1}%{!?_with_sybase_ct:0}
2089 %files sybase-ct
2090 %defattr(644,root,root,755)
2091 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2092 %endif
2093
2094 %files sysvsem
2095 %defattr(644,root,root,755)
2096 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2097
2098 %files sysvshm
2099 %defattr(644,root,root,755)
2100 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2101
2102 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2103 %files wddx
2104 %defattr(644,root,root,755)
2105 %attr(755,root,root) %{extensionsdir}/wddx.so
2106 %endif
2107
2108 %files xml
2109 %defattr(644,root,root,755)
2110 %attr(755,root,root) %{extensionsdir}/xml.so
2111
2112 %files xmlrpc
2113 %defattr(644,root,root,755)
2114 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2115
2116 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2117 %files xslt
2118 %defattr(644,root,root,755)
2119 %attr(755,root,root) %{extensionsdir}/xslt.so
2120 %endif
2121
2122 %files yaz
2123 %defattr(644,root,root,755)
2124 %attr(755,root,root) %{extensionsdir}/yaz.so
2125
2126 %files yp
2127 %defattr(644,root,root,755)
2128 %attr(755,root,root) %{extensionsdir}/yp.so
2129
2130 %files zip
2131 %defattr(644,root,root,755)
2132 %attr(755,root,root) %{extensionsdir}/zip.so
2133
2134 %files zlib
2135 %defattr(644,root,root,755)
2136 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.171385 seconds and 4 git commands to generate.