]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- session.save_path in default php.ini changed to /var/run/php,
[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:        1
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                 $RPM_BUILD_ROOT/var/run/php
833
834 %{__make} install \
835         INSTALL_ROOT=$RPM_BUILD_ROOT \
836         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
837
838 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
839
840 #exit 1
841 #install .libs/*.so     $RPM_BUILD_ROOT%{_pkglibdir}
842 #install modules/*.so   $RPM_BUILD_ROOT%{_pkglibdir}/php
843
844 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
845 install %{SOURCE3} php4.gif     $RPM_BUILD_ROOT/home/httpd/icons
846 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
847
848
849 install %{SOURCE1} .
850 gzip -9nf CODING_STANDARDS CREDITS \
851         EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
852         Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
853
854 %clean
855 rm -rf $RPM_BUILD_ROOT
856
857 %post
858 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
859 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
860         /etc/httpd/httpd.conf
861 if [ -f /var/lock/subsys/httpd ]; then
862         /etc/rc.d/init.d/httpd restart 1>&2
863 fi
864
865 %preun
866 if [ "$1" = "0" ]; then
867         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
868         perl -pi -e \
869                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
870                 /etc/httpd/httpd.conf
871         if [ -f /var/lock/subsys/httpd ]; then
872                 /etc/rc.d/init.d/httpd restart 1>&2
873         fi
874 fi
875
876 %post common -p /sbin/ldconfig
877 %postun common -p /sbin/ldconfig
878
879 %post bcmath
880 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
881
882 %preun bcmath
883 if [ "$1" = "0" ]; then
884         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
885 fi
886
887 %post calendar
888 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
889
890 %preun calendar
891 if [ "$1" = "0" ]; then
892         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
893 fi
894
895 %post dba
896 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
897
898 %preun dba
899 if [ "$1" = "0" ]; then
900         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
901 fi
902
903 %post dbase
904 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
905
906 %preun dbase
907 if [ "$1" = "0" ]; then
908         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
909 fi
910
911 %post exif
912 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
913
914 %preun exif
915 if [ "$1" = "0" ]; then
916         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
917 fi
918
919 %post filepro
920 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
921
922 %preun filepro
923 if [ "$1" = "0" ]; then
924         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
925 fi
926
927 %post ftp
928 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
929
930 %preun ftp
931 if [ "$1" = "0" ]; then
932         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
933 fi
934
935 %post gd
936 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
937
938 %preun gd
939 if [ "$1" = "0" ]; then
940         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
941 fi
942
943 %post gettext
944 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
945
946 %preun gettext
947 if [ "$1" = "0" ]; then
948         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
949 fi
950
951 %if %{?_without_imap:0}%{!?_without_imap:1}
952 %post imap
953 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
954
955 %preun imap
956 if [ "$1" = "0" ]; then
957         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
958 fi
959 %endif
960
961 %if %{?_with_java:1}%{!?_with_java:0}
962 %post java
963 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
964
965 %preun java
966 if [ "$1" = "0" ]; then
967         %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
968 fi
969 %endif
970
971 %if %{?_without_ldap:0}%{!?_without_ldap:1}
972 %post ldap
973 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
974
975 %preun ldap
976 if [ "$1" = "0" ]; then
977         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
978 fi
979 %endif
980
981 %post mcrypt
982 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
983
984 %preun mcrypt
985 if [ "$1" = "0" ]; then
986         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
987 fi
988
989 %post mhash
990 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
991
992 %preun mhash
993 if [ "$1" = "0" ]; then
994         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
995 fi
996
997 %post mysql
998 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
999
1000 %preun mysql
1001 if [ "$1" = "0" ]; then
1002         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1003 fi
1004
1005 %post pdf
1006 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1007
1008 %preun pdf
1009 if [ "$1" = "0" ]; then
1010         %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1011 fi
1012
1013 %preun domxml
1014 if [ "$1" = "0" ]; then
1015         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1016 fi
1017
1018 %post domxml
1019 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1020
1021 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1022 %post oci8
1023 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1024
1025 %preun oci8
1026 if [ "$1" = "0" ]; then
1027         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1028 fi
1029 %endif
1030
1031 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1032 %post odbc
1033 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1034
1035 %preun odbc
1036 if [ "$1" = "0" ]; then
1037         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1038 fi
1039 %endif
1040
1041 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1042 %post oracle
1043 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1044
1045 %preun oracle
1046 if [ "$1" = "0" ]; then
1047         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1048 fi
1049 %endif
1050
1051 %post pcre
1052 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1053
1054 %preun pcre
1055 if [ "$1" = "0" ]; then
1056         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1057 fi
1058
1059 %post pgsql
1060 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1061
1062 %preun pgsql
1063 if [ "$1" = "0" ]; then
1064         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1065 fi
1066
1067 %post posix
1068 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1069
1070 %preun posix
1071 if [ "$1" = "0" ]; then
1072         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1073 fi
1074
1075 %post recode
1076 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1077
1078 %preun recode
1079 if [ "$1" = "0" ]; then
1080         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1081 fi
1082
1083 %post session
1084 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1085
1086 %preun session
1087 if [ "$1" = "0" ]; then
1088         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1089 fi
1090
1091 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1092 %post snmp
1093 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1094
1095 %preun snmp
1096 if [ "$1" = "0" ]; then
1097         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1098 fi
1099 %endif
1100
1101 %post sockets
1102 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1103
1104 %preun sockets
1105 if [ "$1" = "0" ]; then
1106         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1107 fi
1108
1109 %post sysvsem
1110 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1111
1112 %preun sysvsem
1113 if [ "$1" = "0" ]; then
1114         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1115 fi
1116
1117 %post sysvshm
1118 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1119
1120 %preun sysvshm
1121 if [ "$1" = "0" ]; then
1122         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1123 fi
1124
1125 %post xml
1126 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1127
1128 %preun xml
1129 if [ "$1" = "0" ]; then
1130         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1131 fi
1132
1133 %post yp
1134 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1135
1136 %preun yp
1137 if [ "$1" = "0" ]; then
1138         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1139 fi
1140
1141 %post zlib
1142 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1143
1144 %preun zlib
1145 if [ "$1" = "0" ]; then
1146         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1147 fi
1148
1149 %post curl
1150 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1151
1152 %preun curl
1153 if [ "$1" = "0" ]; then
1154         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1155 fi
1156
1157 %post ming
1158 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1159
1160 %preun ming
1161 if [ "$1" = "0" ]; then
1162         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1163 fi
1164
1165 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1166 %post xslt
1167 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1168
1169 %preun xslt
1170 if [ "$1" = "0" ]; then
1171         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1172 fi
1173 %endif
1174
1175 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1176 %post wddx
1177 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1178
1179 %preun wddx
1180 if [ "$1" = "0" ]; then
1181         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1182 fi
1183 %endif
1184
1185 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1186 %post libcpdf
1187 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1188
1189 %preun libcpdf
1190 if [ "$1" = "0" ]; then
1191         %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1192 fi
1193 %endif
1194
1195 %files
1196 %defattr(644,root,root,755)
1197 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1198
1199 %files cgi
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_bindir}/php
1202
1203 %files common
1204 %defattr(644,root,root,755)
1205 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1206 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz
1207 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1208
1209 %dir %{_sysconfdir}
1210 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1211 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1212
1213 /home/httpd/icons/*
1214 %attr(755,root,root) %{_sbindir}/*
1215 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1216 %dir %{extensionsdir}
1217
1218 %files devel
1219 %defattr(644,root,root,755)
1220 %{_includedir}/php
1221 %{_libdir}/php/build
1222 %attr(755,root,root) %{_bindir}/phpextdist
1223 %attr(755,root,root) %{_bindir}/phpize
1224 %attr(755,root,root) %{_bindir}/php-config
1225
1226 %files domxml
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{extensionsdir}/domxml.so
1229
1230 %files pear
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_bindir}/pear
1233 %{peardir}
1234
1235 %files mysql
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{extensionsdir}/mysql.so
1238
1239 %files pdf
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1242
1243 %files pgsql
1244 %defattr(644,root,root,755)
1245 %attr(755,root,root) %{extensionsdir}/pgsql.so
1246
1247 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1248 %files oracle
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{extensionsdir}/oracle.so
1251 %endif
1252
1253 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1254 %files oci8
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{extensionsdir}/oci8.so
1257 %endif
1258
1259 %files gd
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{extensionsdir}/gd.so
1262
1263 # To check
1264 #%files xml
1265 #%defattr(644,root,root,755)
1266 #%attr(755,root,root) %{extensionsdir}/xml.so
1267
1268 %files dba
1269 %defattr(644,root,root,755)
1270 %attr(755,root,root) %{extensionsdir}/dba.so
1271
1272 %files dbase
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{extensionsdir}/dbase.so
1275
1276 %files filepro
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{extensionsdir}/filepro.so
1279
1280 %files pcre
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{extensionsdir}/pcre.so
1283
1284 %files posix
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{extensionsdir}/posix.so
1287
1288 %files sysvsem
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1291
1292 %files sysvshm
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1295
1296 %files yp
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{extensionsdir}/yp.so
1299
1300 %files calendar
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{extensionsdir}/calendar.so
1303
1304 %files bcmath
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{extensionsdir}/bcmath.so
1307
1308 %files ftp
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{extensionsdir}/ftp.so
1311
1312 %files zlib
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{extensionsdir}/zlib.so
1315
1316 %files exif
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{extensionsdir}/exif.so
1319
1320 %files recode
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{extensionsdir}/recode.so
1323
1324 #%files session
1325 #%defattr(644,root,root,755)
1326 #%attr(755,root,root) %{extensionsdir}/session.so
1327
1328 %files gettext
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{extensionsdir}/gettext.so
1331
1332 %if %{?_without_imap:0}%{!?_without_imap:1}
1333 %files imap
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{extensionsdir}/imap.so
1336 %endif
1337
1338 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1339 %files snmp
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{extensionsdir}/snmp.so
1342 %endif
1343
1344 %if %{?_with_java:1}%{!?_with_java:0}
1345 %files java
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1348 %endif
1349
1350 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1351 %files ldap
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{extensionsdir}/ldap.*
1354 %endif
1355
1356 %files sockets
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{extensionsdir}/sockets.so
1359
1360 %files mcrypt
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1363
1364 %files mhash
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{extensionsdir}/mhash.so
1367
1368 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1369 %files odbc
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{extensionsdir}/odbc.so
1372 %endif
1373
1374 %files doc
1375 %defattr(644,root,root,755)
1376 %doc manual/*
1377
1378 %files curl
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{extensionsdir}/curl.so
1381
1382 %files ming
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{extensionsdir}/ming.so
1385
1386 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1387 %files xslt
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{extensionsdir}/xslt.so
1390 %endif
1391
1392 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1393 %files wddx
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{extensionsdir}/wddx.so
1396 %endif
1397
1398 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1399 %files libcpdf
1400 %defattr(644,root,root,755)
1401 %attr(755,root,root) %{extensionsdir}/cpdf.so
1402 %endif
This page took 0.128611 seconds and 4 git commands to generate.