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