]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- s/PHP Logo/PLD Logo/
[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:        0.9
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
616 %description pear
617 PEAR - PHP Extension and Application Repository.
618
619 %description pear -l pl
620 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
621 Repozytorium Aplikacji.
622
623 %package domxml
624 Summary:        DOM XML module
625 Summary(pl):    Modu³ DOM XML
626 Group:          Development/Languages/PHP
627
628 %description domxml
629 DOM XML module.
630
631 %description domxml -l pl
632 Modu³ DOM XML.
633
634 %package devel
635 Summary:        Files for PHP modules development
636 Summary(pl):    Pliki do kompilacji modu³ów PHP
637 Group:          Development/Languages/PHP
638 Requires:       %{name}-common = %{version}
639
640 %description devel
641 Files for PHP modules development.
642
643 %description devel -l pl
644 Pliki potrzebne do kompilacji modu³ów PHP.
645
646 %package curl
647 Summary:        curl extension module for PHP
648 Summary(pl):    Modu³ curl dla PHP
649 Group:          Libraries
650 PreReq:         %{name}-common = %{version}
651
652 %description curl
653 This is a dynamic shared object (DSO) for Apache that will add curl
654 support to PHP.
655
656 %description curl -l pl
657 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
658
659 %package xslt
660 Summary:        xslt extension module for PHP
661 Summary(pl):    Modu³ xslt dla PHP
662 Group:          Libraries
663 PreReq:         %{name}-common = %{version}
664
665 %description xslt
666 This is a dynamic shared object (DSO) for Apache that will add xslt
667 support to PHP.
668
669 %description xslt -l pl
670 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
671
672 %package wddx
673 Summary:        wddx extension module for PHP
674 Summary(pl):    Modu³ wddx dla PHP
675 Group:          Libraries
676 PreReq:         %{name}-common = %{version}
677
678 %description wddx
679 This is a dynamic shared object (DSO) for Apache that will add wddx
680 support to PHP.
681
682 %description wddx -l pl
683 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
684
685 %package ming
686 Summary:        ming extension module for PHP
687 Summary(pl):    Modu³ ming dla PHP
688 Group:          Libraries
689 PreReq:         %{name}-common = %{version}
690
691 %description ming
692 This is a dynamic shared object (DSO) for Apache that will add ming
693 (Flash - .swf files) support to PHP.
694
695 %description ming -l pl
696 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
697 ming.
698
699 %package libcpdf
700 Summary:        cpdf extension module for PHP
701 Summary(pl):    Modu³ cpdf dla PHP
702 Group:          Libraries
703 PreReq:         %{name}-common = %{version}
704
705 %description libcpdf
706 This is a dynamic shared object (DSO) for Apache that will add libcpdf
707 support to PHP.
708
709 %description libcpdf -l pl
710 Modu³ PHP dodaj±cy obs³ugê libcpdf.
711
712 %prep
713 %setup -q
714 %patch0 -p1
715 %patch1 -p1
716 %patch2 -p1
717 %patch3 -p1
718 %patch4 -p1
719 %patch5 -p1
720 %patch6 -p1
721 %patch7 -p1
722 %patch8 -p1
723 %patch9 -p1
724 %patch10 -p1
725 %patch11 -p1
726
727 install -d manual
728 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
729
730 %build
731 CFLAGS="%{rpmcflags} -DEAPI -I%{_prefix}/X11R6/include"; export CFLAGS
732 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
733 ./buildconf
734 libtoolize --copy --force
735 aclocal
736 autoconf
737 #for i in cgi fastcgi apxs ; do
738 for i in cgi apxs ; do
739 %configure \
740         `[ $i = cgi ] && echo --enable-discard-path` \
741         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
742         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
743         --with-config-file-path=%{_sysconfdir} \
744         --with-exec-dir=%{_bindir} \
745         --%{!?debug:dis}%{?debug:en}able-debug \
746         --enable-bcmath=shared \
747         --enable-calendar=shared \
748         --enable-dba=shared \
749         --enable-exif=shared \
750         --enable-ftp=shared \
751         --enable-gd-native-ttf \
752         --enable-magic-quotes \
753         --enable-posix=shared \
754         --enable-session \
755         --enable-shared \
756         --enable-shmop=shared \
757         --enable-sysvsem=shared \
758         --enable-sysvshm=shared \
759         --enable-track-vars \
760         --enable-trans-sid \
761         --enable-safe-mode \
762         --enable-sockets=shared \
763         --enable-yp=shared \
764         --enable-ucd-snmp-hack \
765         --enable-xml=shared \
766         %{?_with_xslt:--enable-xslt=shared} \
767         --with-bz2=shared \
768         %{?_with_libcpdf:--with-cpdflib=shared} \
769         --with-ctype=shared \
770         --with-curl=shared \
771         --without-db2 \
772         --with-db3 \
773         --with-dbase=shared \
774         --with-dom=shared \
775         --with-filepro=shared \
776         --with-freetype-dir=shared \
777         --with-gettext=shared \
778         --with-gd=shared \
779         --with-gdbm \
780         --with-gmp=shared \
781         --with-hyperwave \
782         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
783         %{?_with_java:--with-java} \
784         --with-jpeg-dir=shared \
785         %{!?_without_ldap:--with-ldap=shared} \
786         --with-mcrypt=shared \
787         --with-mysql=shared,%{_prefix} \
788         --with-mysql-sock=/var/lib/mysql/mysql.sock \
789         --with-mhash=shared \
790         --with-ming=shared \
791         --with-mm \
792         %{!?_without_openssl:--with-openssl} \
793         %{?_with_oracle:--with-oracle=shared} \
794         %{?_with_oci8:--with-oci8=shared} \
795         --with-pear=%{peardir} \
796         --with-pcre-regex=shared \
797         --with-pdflib=shared \
798         --with-pgsql=shared,%{_prefix} \
799         --with-png-dir=shared \
800         --with-recode=shared \
801         --with-regex=php \
802         %{!?_without_sablot:--with-sablot=/usr/lib} \
803         %{!?_without_snmp:--with-snmp=shared} \
804         --with-t1lib=shared \
805         %{!?_without_odbc:--with-unixODBC=shared} \
806         %{?_with_wddx:--enable-wddx=shared} \
807         --with-zlib=shared \
808         --with-zlib-dir=shared \
809         --with-xml=shared \
810         %{?_with_xslt:--with-xslt-sablot=shared}
811 done
812
813 # TODO --with-pspell=/usr,shared (pspell missing)
814 #       --with-qtdom=shared
815
816 %{__make}
817 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
818
819 # Kill -rpath from php binary and libphp4.so
820 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
821 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
822 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
823
824 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
825 rm libphp4.la ; %{__make} libphp4.la
826
827 %install
828 rm -rf $RPM_BUILD_ROOT
829 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
830                 $RPM_BUILD_ROOT/home/httpd/icons \
831                 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}
832
833 %{__make} install \
834         INSTALL_ROOT=$RPM_BUILD_ROOT \
835         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
836
837 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
838
839 #exit 1
840 #install .libs/*.so     $RPM_BUILD_ROOT%{_pkglibdir}
841 #install modules/*.so   $RPM_BUILD_ROOT%{_pkglibdir}/php
842
843 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
844 install %{SOURCE3} php4.gif     $RPM_BUILD_ROOT/home/httpd/icons
845 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
846
847
848 install %{SOURCE1} .
849 gzip -9nf CODING_STANDARDS CREDITS \
850         EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
851         Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
852
853 %clean
854 rm -rf $RPM_BUILD_ROOT
855
856 %post
857 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
858 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
859         /etc/httpd/httpd.conf
860 if [ -f /var/lock/subsys/httpd ]; then
861         /etc/rc.d/init.d/httpd restart 1>&2
862 fi
863
864 %preun
865 if [ "$1" = "0" ]; then
866         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
867         perl -pi -e \
868                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
869                 /etc/httpd/httpd.conf
870         if [ -f /var/lock/subsys/httpd ]; then
871                 /etc/rc.d/init.d/httpd restart 1>&2
872         fi
873 fi
874
875 %post common -p /sbin/ldconfig
876 %postun common -p /sbin/ldconfig
877
878 %post bcmath
879 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
880
881 %preun bcmath
882 if [ "$1" = "0" ]; then
883         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
884 fi
885
886 %post calendar
887 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
888
889 %preun calendar
890 if [ "$1" = "0" ]; then
891         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
892 fi
893
894 %post dba
895 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
896
897 %preun dba
898 if [ "$1" = "0" ]; then
899         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
900 fi
901
902 %post dbase
903 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
904
905 %preun dbase
906 if [ "$1" = "0" ]; then
907         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
908 fi
909
910 %post exif
911 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
912
913 %preun exif
914 if [ "$1" = "0" ]; then
915         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
916 fi
917
918 %post filepro
919 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
920
921 %preun filepro
922 if [ "$1" = "0" ]; then
923         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
924 fi
925
926 %post ftp
927 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
928
929 %preun ftp
930 if [ "$1" = "0" ]; then
931         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
932 fi
933
934 %post gd
935 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
936
937 %preun gd
938 if [ "$1" = "0" ]; then
939         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
940 fi
941
942 %post gettext
943 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
944
945 %preun gettext
946 if [ "$1" = "0" ]; then
947         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
948 fi
949
950 %if %{?_without_imap:0}%{!?_without_imap:1}
951 %post imap
952 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
953
954 %preun imap
955 if [ "$1" = "0" ]; then
956         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
957 fi
958 %endif
959
960 %if %{?_with_java:1}%{!?_with_java:0}
961 %post java
962 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
963
964 %preun java
965 if [ "$1" = "0" ]; then
966         %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
967 fi
968 %endif
969
970 %if %{?_without_ldap:0}%{!?_without_ldap:1}
971 %post ldap
972 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
973
974 %preun ldap
975 if [ "$1" = "0" ]; then
976         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
977 fi
978 %endif
979
980 %post mcrypt
981 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
982
983 %preun mcrypt
984 if [ "$1" = "0" ]; then
985         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
986 fi
987
988 %post mhash
989 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
990
991 %preun mhash
992 if [ "$1" = "0" ]; then
993         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
994 fi
995
996 %post mysql
997 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
998
999 %preun mysql
1000 if [ "$1" = "0" ]; then
1001         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1002 fi
1003
1004 %post pdf
1005 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1006
1007 %preun pdf
1008 if [ "$1" = "0" ]; then
1009         %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1010 fi
1011
1012 %preun domxml
1013 if [ "$1" = "0" ]; then
1014         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1015 fi
1016
1017 %post domxml
1018 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1019
1020 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1021 %post oci8
1022 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1023
1024 %preun oci8
1025 if [ "$1" = "0" ]; then
1026         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1027 fi
1028 %endif
1029
1030 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1031 %post odbc
1032 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1033
1034 %preun odbc
1035 if [ "$1" = "0" ]; then
1036         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1037 fi
1038 %endif
1039
1040 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1041 %post oracle
1042 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1043
1044 %preun oracle
1045 if [ "$1" = "0" ]; then
1046         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1047 fi
1048 %endif
1049
1050 %post pcre
1051 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1052
1053 %preun pcre
1054 if [ "$1" = "0" ]; then
1055         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1056 fi
1057
1058 %post pgsql
1059 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1060
1061 %preun pgsql
1062 if [ "$1" = "0" ]; then
1063         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1064 fi
1065
1066 %post posix
1067 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1068
1069 %preun posix
1070 if [ "$1" = "0" ]; then
1071         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1072 fi
1073
1074 %post recode
1075 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1076
1077 %preun recode
1078 if [ "$1" = "0" ]; then
1079         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1080 fi
1081
1082 %post session
1083 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1084
1085 %preun session
1086 if [ "$1" = "0" ]; then
1087         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1088 fi
1089
1090 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1091 %post snmp
1092 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1093
1094 %preun snmp
1095 if [ "$1" = "0" ]; then
1096         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1097 fi
1098 %endif
1099
1100 %post sockets
1101 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1102
1103 %preun sockets
1104 if [ "$1" = "0" ]; then
1105         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1106 fi
1107
1108 %post sysvsem
1109 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1110
1111 %preun sysvsem
1112 if [ "$1" = "0" ]; then
1113         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1114 fi
1115
1116 %post sysvshm
1117 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1118
1119 %preun sysvshm
1120 if [ "$1" = "0" ]; then
1121         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1122 fi
1123
1124 %post xml
1125 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1126
1127 %preun xml
1128 if [ "$1" = "0" ]; then
1129         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1130 fi
1131
1132 %post yp
1133 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1134
1135 %preun yp
1136 if [ "$1" = "0" ]; then
1137         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1138 fi
1139
1140 %post zlib
1141 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1142
1143 %preun zlib
1144 if [ "$1" = "0" ]; then
1145         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1146 fi
1147
1148 %post curl
1149 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1150
1151 %preun curl
1152 if [ "$1" = "0" ]; then
1153         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1154 fi
1155
1156 %post ming
1157 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1158
1159 %preun ming
1160 if [ "$1" = "0" ]; then
1161         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1162 fi
1163
1164 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1165 %post xslt
1166 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1167
1168 %preun xslt
1169 if [ "$1" = "0" ]; then
1170         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1171 fi
1172 %endif
1173
1174 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1175 %post wddx
1176 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1177
1178 %preun wddx
1179 if [ "$1" = "0" ]; then
1180         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1181 fi
1182 %endif
1183
1184 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1185 %post libcpdf
1186 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1187
1188 %preun libcpdf
1189 if [ "$1" = "0" ]; then
1190         %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1191 fi
1192 %endif
1193
1194 %files
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1197
1198 %files cgi
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_bindir}/php
1201
1202 %files common
1203 %defattr(644,root,root,755)
1204 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1205 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz
1206 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1207
1208 %dir %{_sysconfdir}
1209 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1210
1211 /home/httpd/icons/*
1212
1213 %attr(755,root,root) %{_sbindir}/*
1214
1215 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1216
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.163296 seconds and 4 git commands to generate.