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