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