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