-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphp.spec
3609 lines (3148 loc) · 117 KB
/
php.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# TODO 5.6:
# - phpdbg: link with libphp_common
# - enable --with-fpm-systemd, but ensure it checks for sd_booted()
# - build with system libgd 2.1, see 73c5128
# TODO 5.4:
# - update imap annotations patch (needs api porting)
# - update imap myrights patch (needs api porting)
# --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
# --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
# UNPACKAGED EXTENSION NOTES:
# - com_dotnet is Win32-only
# TODO:
# - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
# - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
# - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
# - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
# - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
# - wddx: restore session support (not compiled in due DL extension check)
# - make additional headers and checking added by mail patch configurable
# - modularize standard (output from pure php -m)?
# - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
# built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
# make it runtime dep and add Suggests (or php warning messages)
# - some mods should be shared:
#$ php -m
# [PHP Modules]
#+Core
# date
#+ereg
# libxml
# Reflection
# standard
#
# Conditional build:
# - General options:
%bcond_without embed # disable building Embedded API
%bcond_with default_php # use this PHP as default PHP in distro
%bcond_with gcov # Enable Code coverage reporting
%bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
%bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
%bcond_without kerberos5 # without Kerberos5 support
%bcond_with mm # without mm support for session storage
%bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
%bcond_with system_gd # with system gd (imageantialias function is missing then)
%bcond_with system_libzip # with system libzip (reported broken currently)
%bcond_with systemtap # systemtap/DTrace support
%bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
%bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
%bcond_with zts # Zend Thread Safety
# - SAPI
%bcond_without apache1 # disable building Apache 1.3.x SAPI
%bcond_without apache2 # disable building Apache 2.x SAPI
%bcond_without cgi # disable CGI/FCGI SAPI
%bcond_without fpm # disable FPM SAPI
%bcond_without litespeed # build litespeed SAPI
%bcond_with milter # disable Milter SAPI
%bcond_without phpdbg # disable phpdbg SAPI
# - Extensions
%bcond_without bcmath # without bcmath extension module
%bcond_without bz2 # without bz2 extension module
%bcond_without calendar # without calendar extension module
%bcond_without ctype # without ctype extension module
%bcond_without curl # without CURL extension module
%bcond_without dba # without DBA extension module
%bcond_without dom # without DOM extension module
%bcond_without enchant # without Enchant extension module
%bcond_without ereg # without ext/ereg support
%bcond_without exif # without EXIF extension module
%bcond_without fileinfo # without fileinfo extension module
%bcond_without filter # without filter extension module
%bcond_without ftp # without FTP extension module
%bcond_without gd # without GD extension module
%bcond_without gettext # without gettext extension module
%bcond_without gmp # without gmp extension module
%bcond_without hash # without hash extension module
%bcond_without iconv # without iconv extension module
%bcond_without imap # without IMAP extension module
%bcond_without interbase # without InterBase extension module
%bcond_without intl # without Intl extension module
%bcond_without json # without json extension module
%bcond_without ldap # without LDAP extension module
%bcond_without mbstring # without mbstring extension module
%bcond_without mcrypt # without mbcrypt extension module
%bcond_without mhash # without mhash extension (supported by hash extension)
%bcond_without mssql # without MS SQL extension module
%bcond_without mysql # without ext/mysql support
%bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
%bcond_without mysqlnd # without mysqlnd support in mysql related extensions
%bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
%bcond_without odbc # without ODBC extension module
%bcond_without opcache # without Enable Zend OPcache extension support
%bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
%bcond_without pcntl # without pcntl extension module
%bcond_without pcre # without PCRE extension module
%bcond_without pdo # without PDO extension module
%bcond_without pdo_dblib # without PDO dblib extension module
%bcond_without pdo_mysql # without PDO MySQL extension module
%bcond_without pdo_sqlite # without PDO SQLite extension module
%bcond_without pgsql # without PostgreSQL extension module
%bcond_without phar # without Phar extension module
%bcond_without posix # without POSIX extension module
%bcond_without pspell # without pspell extension module
%bcond_without readline # without readline extension module
%bcond_without recode # without recode extension module
%bcond_without session # without session extension module
%bcond_without snmp # without SNMP extension module
%bcond_without sqlite2 # without SQLite extension module
%bcond_without sqlite3 # without SQLite3 extension module
%bcond_without sybase_ct # without Sybase-CT extension module
%bcond_without tidy # without Tidy extension module
%bcond_without wddx # without WDDX extension module
%bcond_without xmlrpc # without XML-RPC extension module
%define apxs1 /usr/sbin/apxs1
%define apxs2 /usr/sbin/apxs
# disable all sapis
%if %{with gcov}
%undefine with_apache1
%undefine with_apache2
%undefine with_cgi
%undefine with_litespeed
%endif
# mm is not thread safe
%if %{with zts}
%undefine with_mm
%endif
# milter requires ZTS
%if %{with milter} && %{without zts}
%undefine with_milter
%endif
%ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
# ppc disabled (broken on th-ppc)
%undefine with_interbase
%endif
%ifnarch %{ix86} %{x8664} x32
# unsupported, see sapi/cgi/fpm/fpm_atomic.h
%undefine with_fpm
%endif
%if 0
%if %{without apache1} && %{without apache2}
ERROR: You need to select at least one Apache SAPI to build shared modules.
%endif
%endif
# filter depends on pcre
%if %{without pcre}
%undefine with_filter
%endif
%define rel 1
%define orgname php
%define ver_suffix 56
%define php_suffix %{!?with_default_php:%{ver_suffix}}
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Summary(pt_BR.UTF-8): A linguagem de script PHP
Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 5.6.15
Release: %{rel}
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
License: PHP 3.01 and Zend and BSD
Group: Libraries
Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
# Source0-md5: c726a86238017c2d9db0171b14d300e7
Source2: %{orgname}-mod_%{orgname}.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
Source5: %{orgname}-cli.ini
Source10: %{orgname}-fpm.init
Source11: %{orgname}-fpm.logrotate
Source12: %{orgname}-branch.sh
Source13: dep-tests.sh
Source14: skip-tests.sh
Patch0: %{orgname}-shared.patch
Patch1: %{orgname}-pldlogo.patch
Patch2: %{orgname}-mail.patch
Patch3: %{orgname}-link-libs.patch
Patch5: %{orgname}-filter-shared.patch
Patch6: %{orgname}-build_modules.patch
Patch7: %{orgname}-sapi-ini-file.patch
Patch8: milter.patch
Patch9: libtool-tag.patch
Patch10: %{orgname}-ini.patch
Patch11: embed.patch
Patch14: %{orgname}-no_pear_install.patch
Patch17: %{orgname}-readline.patch
Patch18: %{orgname}-nohttpd.patch
Patch21: %{orgname}-dba-link.patch
Patch22: %{orgname}-both-apxs.patch
Patch23: %{orgname}-builddir.patch
Patch24: %{orgname}-zlib-for-getimagesize.patch
Patch25: %{orgname}-stupidapache_version.patch
Patch26: %{orgname}-pear.patch
Patch27: %{orgname}-config-dir.patch
Patch29: %{orgname}-fcgi-graceful.patch
Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
Patch34: %{orgname}-libtool.patch
Patch35: %{orgname}-tds.patch
Patch36: %{orgname}-mysql-charsetphpini.patch
Patch37: %{orgname}-mysqli-charsetphpini.patch
Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
Patch39: %{orgname}-use-prog_sendmail.patch
Patch41: %{orgname}-fpm-config.patch
Patch42: %{orgname}-fpm-shared.patch
Patch43: %{orgname}-silent-session-cleanup.patch
Patch44: %{orgname}-include_path.patch
Patch45: %{orgname}-imap-annotations.patch
Patch46: %{orgname}-imap-myrights.patch
Patch47: suhosin.patch
Patch50: extension-shared-optional-dep.patch
Patch51: spl-shared.patch
Patch52: pcre-shared.patch
Patch53: fix-test-run.patch
Patch55: bug-52078-fileinode.patch
Patch59: %{orgname}-systzdata.patch
Patch60: %{orgname}-oracle-instantclient.patch
Patch62: mcrypt-libs.patch
Patch65: system-libzip.patch
Patch66: php-db.patch
Patch67: mysql-lib-ver-mismatch.patch
# https://bugs.php.net/bug.php?id=68344
Patch68: php-mysql-ssl-context.patch
Patch69: fpm-conf-split.patch
Patch70: mysqlnd-ssl.patch
URL: http://www.php.net/
%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.4d
BuildRequires: bison
BuildRequires: bzip2-devel
%{?with_curl:BuildRequires: curl-devel >= 7.12.0}
BuildRequires: cyrus-sasl-devel
BuildRequires: db-devel >= 4.0
BuildRequires: elfutils-devel
%{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
%{?with_kerberos5:BuildRequires: heimdal-devel}
%{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
%{!?with_mysqlnd:BuildRequires: mysql-devel}
BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
%if %{with mssql} || %{with sybase_ct} || %{with pdo_dblib}
BuildRequires: freetds-devel >= 0.82
%endif
BuildRequires: freetype-devel >= 1:2.5.1
%if %{with system_gd}
BuildRequires: gd-devel >= 2.1
%endif
BuildRequires: gdbm-devel
BuildRequires: gmp-devel
%{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
%{?with_intl:BuildRequires: libicu-devel >= 4.4}
BuildRequires: libjpeg-devel
BuildRequires: libltdl-devel >= 1.4
BuildRequires: libmcrypt-devel >= 2.4.4
BuildRequires: libpng-devel >= 1.0.8
%{?with_webp:BuildRequires: libvpx-devel}
BuildRequires: tokyocabinet-devel
%if "%{pld_release}" != "ac"
BuildRequires: libtool >= 2:2.4.6
%else
BuildRequires: libtool >= 1.4.3
%endif
BuildRequires: libxml2-devel >= 1:2.7.6-4
BuildRequires: libxslt-devel >= 1.1.0
%{?with_mm:BuildRequires: mm-devel >= 1.3.0}
%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
%if %{with openssl} || %{with ldap}
BuildRequires: openssl-devel >= 0.9.7d
%endif
%{?with_gcov:BuildRequires: lcov}
%{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
%{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
%{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
BuildRequires: pam-devel
%{?with_pcre:BuildRequires: pcre-devel >= 8.10}
BuildRequires: pkgconfig
%{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: readline-devel
%{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpm-build >= 4.4.0
BuildRequires: rpmbuild(macros) >= 1.566
%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
BuildRequires: tar >= 1:1.22
BuildRequires: xz
%if %{with sqlite3} || %{with pdo_sqlite}
BuildRequires: sqlite3-devel >= 3.3.9
%endif
BuildRequires: t1lib-devel
%{?with_tidy:BuildRequires: tidy-devel}
%{?with_odbc:BuildRequires: unixODBC-devel}
%{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
BuildRequires: zlib-devel >= 1.0.9
%if %{with apache1}
BuildRequires: apache1-devel
%endif
%if %{with apache2}
BuildRequires: apache-devel >= 2.0.52-2
BuildRequires: apr-devel >= 1:1.0.0
BuildRequires: apr-util-devel >= 1:1.0.0
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define php_sysconfdir /etc/%{name}
%define php_extensiondir %{_libdir}/%{name}
%define _sysconfdir %{php_sysconfdir}
# must be in sync with source. extra check ensuring that it is so is done in %%build
%define php_api_version 20131106
%define zend_module_api 20131226
%define zend_extension_api 220131226
%define php_pdo_api_version 20080721
# Extension versions
%define bz2ver 1.0
%define enchantver 1.1.0
%define fileinfover 1.0.5
%define hashver 1.0
%define intlver 1.1.0
%define jsonver 1.2.1
%define opcachever 7.0.6-dev
%define pharver 2.0.2
%define sqlite3ver 0.7-dev
%define zipver 1.12.5
%define phpdbgver 0.4.0
%define _zend_zts %{!?with_zts:0}%{?with_zts:1}
%define php_debug %{!?debug:0}%{?debug:1}
%if %{with gcov}
%undefine with_ccache
%endif
%if %{with oci}
# ORACLE_HOME is required for oci8 ext to build
%define _preserve_env %_preserve_env_base ORACLE_HOME
%endif
%description
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated web pages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled web page with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts. The
mod_php module enables the Apache web server to understand and process
the embedded PHP language in web pages. This package contains PHP
version %{version}.
%description -l fr.UTF-8
PHP est un langage de script embarque dans le HTM. PHP essaye de
rendre simple aux developpeurs d'ecrire des pages web generees
dynamiquement. PHP incorpore egalement une integration avec plusieurs
systemes de gestion de bases de donnees commerciaux et
non-connerciaux, qui rent facile la creation de pages web liees avec
des bases de donnees. L'utilisation la plus commune de PHP est
probablement en remplacement de scripts CGI. Le module mod_php permet
au serveur web Apache de comprendre et de traiter le langage PHP
integre dans des pages web. Ce package contient PHP version
%{version}.
%description -l pl.UTF-8
PHP jest językiem skryptowym, którego polecenia umieszcza się w
plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
%{version}.
%description -l pt_BR.UTF-8
PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
com algumas características únicas, específicas ao PHP. O objetivo da
linguagem é permitir que desenvolvedores web escrevam páginas
dinamicamente geradas de forma rápida.
%description -l ru.UTF-8
PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
предлагает интерграцию с множеством СУБД, поэтому написание скриптов
для работы с базами данных относительно просто. Наиболее популярное
использование PHP - замена для CGI скриптов.
%description -l uk.UTF-8
PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
роботи з базами даних є доволі простим. Найбільш популярне
використання PHP - заміна для CGI скриптів.
%package -n apache1-mod_%{name}
Summary: PHP DSO module for Apache 1.3.x
Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: apache1(EAPI) >= 1.3.33-2
Requires: apache1-mod_mime
Provides: webserver(php) = %{version}
Obsoletes: apache-mod_php < 1:4.1.1
Obsoletes: apache1-mod_php < 4:5.3.28-7
Obsoletes: phpfi
%description -n apache1-mod_%{name}
PHP as DSO module for Apache 1.3.x.
%description -n apache1-mod_%{name} -l pl.UTF-8
PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
%package -n apache-mod_%{name}
Summary: PHP DSO module for Apache 2.x
Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: apache(modules-api) = %{apache_modules_api}
Requires: apache-mod_mime
Provides: webserver(php) = %{version}
Obsoletes: apache-mod_php < 4:5.3.28-7
Obsoletes: phpfi
%description -n apache-mod_%{name}
PHP as DSO module for Apache 2.x.
%description -n apache-mod_%{name} -l pl.UTF-8
PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
%package litespeed
Summary: PHP for litespeed HTTP server
Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(litespeed)
Provides: webserver(php) = %{version}
Obsoletes: php-litespeed < 4:5.3.28-7
%description litespeed
PHP for litespeed HTTP server.
%description litespeed -l pl.UTF-8
PHP dla serwera HTTP litespeed.
%package cgi
Summary: PHP as CGI/FastCGI program
Summary(pl.UTF-8): PHP jako program CGI/FastCGI
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
Provides: php(cgi)
Provides: php(fcgi)
Provides: webserver(php) = %{version}
Obsoletes: php-cgi < 4:5.3.28-7
Obsoletes: php-fcgi < 4:5.3.0
%description cgi
PHP as CGI or FastCGI program.
%description cgi -l pl.UTF-8
PHP jako program CGI lub FastCGI.
%package cli
Summary: PHP as CLI interpreter
Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Obsoletes: php-cli < 4:5.3.28-7
%description cli
PHP as CLI interpreter.
%description cli -l pl.UTF-8
PHP jako interpreter działający z linii poleceń.
%package embedded
Summary: PHP library for embedding in applications
Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
Group: Libraries
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Obsoletes: php-embedded < 4:5.3.28-7
%description embedded
The php-embedded package contains a library which can be embedded into
applications to provide PHP scripting language support.
%description embedded -l pl.UTF-8
Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
celu obsługi PHP jako języka skryptowego.
%package program
Summary: /usr/bin/php symlink
Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
Group: Development/Languages/PHP
Requires: %{name}-cli = %{epoch}:%{version}-%{release}
Obsoletes: /usr/bin/php
Obsoletes: php-program < 4:5.3.28-7
%description program
Package providing /usr/bin/php symlink to PHP CLI.
%description program -l pl.UTF-8
Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
%package fpm
Summary: PHP FastCGI Process Manager
Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
Group: Development/Languages/PHP
URL: http://www.php-fpm.org/
Requires(post,preun): /sbin/chkconfig
Requires(postun): /usr/sbin/userdel
Requires(pre): /bin/id
Requires(pre): /usr/sbin/useradd
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: rc-scripts
Provides: php(fcgi)
Provides: php(fpm)
Provides: user(http)
Provides: webserver(php) = %{version}
Obsoletes: php-fpm < 4:5.3.28-7
%if "%{pld_release}" != "ac"
Conflicts: logrotate < 3.8.0
%endif
%description fpm
PHP FastCGI Process Manager.
%description fpm -l pl.UTF-8
PHP FastCGI Process Manager - zarządca procesów FastCGI.
%package phpdbg
Summary: The debugging platform for PHP 5.4+
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(phpdbg) = %{phpdbgver}
%description phpdbg
phpdbg - The interactive PHP debugger.
Implemented as a SAPI module, phpdbg can excert complete control over
the environment without impacting the functionality or performance of
your code.
phpdbg aims to be a lightweight, powerful, easy to use debugging
platform for PHP 5.4+
%package common
Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
Summary(ru.UTF-8): Разделяемые библиотеки для PHP
Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
Group: Libraries
Requires(post): sed >= 4.0
# because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
Requires: glibc >= 6:2.3.5
Requires: php-dirs >= 1.4
Requires: rpm-whiteout >= 1.28
Requires: tzdata
Provides: %{name}(debug) = %{php_debug}
Provides: %{name}(modules_api) = %{php_api_version}
Provides: %{name}(thread-safety) = %{_zend_zts}
Provides: %{name}(zend_extension_api) = %{zend_extension_api}
Provides: %{name}(zend_module_api) = %{zend_module_api}
Provides: %{name}-core
Provides: %{name}-date
%{?with_ereg:Provides: %{name}-ereg}
Provides: %{name}-reflection
Provides: %{name}-standard
Provides: php(core) = %{version}
Provides: php(date)
%{?with_ereg:Provides: php(ereg)}
Provides: php(libxml)
Provides: php(reflection)
Provides: php(standard)
%{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
%{?with_pcre:%requires_ge_to pcre pcre-devel}
Suggests: browscap
Obsoletes: php-common < 4:5.3.28-7
Obsoletes: php-pecl-domxml
Conflicts: php4-common < 3:4.4.4-8
Conflicts: php55-common < 4:5.5.10-4
Conflicts: rpm < 4.4.2-0.2
%description common
Common files needed by both Apache modules and CGI/CLI SAPIs.
%description common -l pl.UTF-8
Wspólne pliki dla modułu Apache'a i programu CGI.
%description common -l ru.UTF-8
Этот пакет содержит общие файлы для разных вариантов реализации PHP
(самодостаточной и в качестве модуля Apache).
%description common -l uk.UTF-8
Цей пакет містить спільні файли для різних варіантів реалізації PHP
(самодостатньої та в якості модуля Apache).
%package devel
Summary: Files for PHP modules development
Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: autoconf >= 2.13
Requires: automake
%if "%{pld_release}" != "ac"
Requires: libtool >= 2:2.4.6
%else
Requires: libtool
%endif
%{?with_pcre:Requires: pcre-devel >= 8.10}
Requires: shtool
Provides: php-devel = %{epoch}:%{version}-%{release}
Obsoletes: php-devel
Obsoletes: php-pear-devel
Obsoletes: php4-devel
Obsoletes: php52-devel
Obsoletes: php53-devel
Obsoletes: php54-devel
Obsoletes: php55-devel
Obsoletes: php70-devel
%description devel
The php-devel package lets you compile dynamic extensions to PHP.
Included here is the source for the PHP extensions. Instead of
recompiling the whole PHP binary to add support for, say, oracle,
install this package and use the new self-contained extensions
support. For more information, read the file
README.SELF-CONTAINED-EXTENSIONS.
%description devel -l pl.UTF-8
Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
samodzielnych rozszerzeniach można znaleźć w pliku
README.SELF-CONTAINED-EXTENSIONS.
%description devel -l pt_BR.UTF-8
Este pacote contém arquivos usados no desenvolvimento de programas ou
módulos PHP.
%description devel -l ru.UTF-8
Пакет php-devel дает возможность компилировать динамические расширения
PHP. Пакет включает исходный код этих расширений. Вместо повторной
компиляции бинарного файла PHP для добавления, например, поддержки
oracle, установите этот пакет для компилирования отдельных расширений.
Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
%description devel -l uk.UTF-8
Пакет php-devel дає можливість компілювати динамічні розширення PHP.
До пакету включено вихідний код для розширень. Замість повторної
компіляції бінарного файлу PHP для додання, наприклад, підтримки
oracle, встановіть цей пакет для компіляції окремих розширень.
Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
%package bcmath
Summary: bcmath extension module for PHP
Summary(pl.UTF-8): Moduł bcmath dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.bc.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(bcmath)
Obsoletes: php-bcmath < 4:5.3.28-7
%description bcmath
This is a dynamic shared object (DSO) for PHP that will add bc style
precision math functions support.
%description bcmath -l pl.UTF-8
Moduł PHP umożliwiający korzystanie z dokładnych funkcji
matematycznych takich jak w programie bc.
%package bz2
Summary: Bzip2 extension module for PHP
Summary(pl.UTF-8): Moduł bzip2 dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.bzip2.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(bz2) = %{bz2ver}
Provides: php(bzip2)
Provides: php-bzip2 = %{epoch}:%{version}-%{release}
Obsoletes: php-bz2 < 4:5.3.28-7
Obsoletes: php-bzip2 < 4:5.2.14-3
Obsoletes: php-pecl-bz2 < %{bz2ver}
%description bz2
This is a dynamic shared object (DSO) for PHP that will add bzip2
compression support to PHP.
%description bz2 -l pl.UTF-8
Moduł PHP umożliwiający używanie kompresji bzip2.
%package calendar
Summary: Calendar extension module for PHP
Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.calendar.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(calendar)
Obsoletes: php-calendar < 4:5.3.28-7
%description calendar
This is a dynamic shared object (DSO) for PHP that will add calendar
support.
%description calendar -l pl.UTF-8
Moduł PHP dodający wsparcie dla kalendarza.
%package ctype
Summary: ctype extension module for PHP
Summary(pl.UTF-8): Moduł ctype dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.ctype.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(ctype)
Obsoletes: php-ctype < 4:5.3.28-7
%description ctype
This is a dynamic shared object (DSO) for PHP that will add ctype
support.
%description ctype -l pl.UTF-8
Moduł PHP umożliwiający korzystanie z funkcji ctype.
%package curl
Summary: curl extension module for PHP
Summary(pl.UTF-8): Moduł curl dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.curl.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(curl)
Obsoletes: php-curl < 4:5.3.28-7
%description curl
This is a dynamic shared object (DSO) for PHP that will add curl
support.
%description curl -l pl.UTF-8
Moduł PHP umożliwiający korzystanie z biblioteki curl.
%package dba
Summary: DBA extension module for PHP
Summary(pl.UTF-8): Moduł DBA dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.dba.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(dba)
Obsoletes: php-dba < 4:5.3.28-7
%description dba
This is a dynamic shared object (DSO) for PHP that will add flat-file
databases (DBA) support.
%description dba -l pl.UTF-8
Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
(DBA).
%package dom
Summary: DOM extension module for PHP
Summary(pl.UTF-8): Moduł DOM dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.dom.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(dom)
# it has some compatibility functions
Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
Provides: php(domxml)
Obsoletes: php-dom < 4:5.3.28-7
Obsoletes: php-domxml <= 3:4.3.8-1
%description dom
This is a dynamic shared object (DSO) for PHP that will add new DOM
support.
%description dom -l pl.UTF-8
Moduł PHP dodający nową obsługę DOM.
%package enchant
Summary: libenchant binder
Summary(pl.UTF-8): dowiązania biblioteki libenchant
Group: Libraries
URL: http://www.php.net/manual/en/book.exif.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(enchant) = %{enchantver}
Obsoletes: php-enchant < 4:5.3.28-7
Obsoletes: php-pecl-enchant < %{enchantver}
%description enchant
Enchant is a binder for libenchant. Libenchant provides a common API
for many spell libraries:
- aspell/pspell (intended to replace ispell)
- hspell (hebrew)
- ispell
- myspell (OpenOffice.org project, mozilla)
- uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
plugin system allows to add custom spell support.
%description enchant -l pl.UTF-8
Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
ujednolicone API dla wielu narzędzi sprawdzających pisownię:
- aspell/pspell (w zamierzeniu ma zastąpić ispell)
- hspell (hebrajski)
- ispell
- myspell (projekt OpenOffice.org, mozilla)
- uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
%package exif
Summary: exif extension module for PHP
Summary(pl.UTF-8): Moduł exif dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.exif.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(exif)
Obsoletes: php-exif < 4:5.3.28-7
%description exif
This is a dynamic shared object (DSO) for PHP that will add EXIF tags
support in image files.
%description exif -l pl.UTF-8
Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
%package fileinfo
Summary: libmagic bindings
Summary(pl.UTF-8): Wiązania do libmagic
Group: Libraries
URL: http://www.php.net/manual/en/book.fileinfo.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
Provides: php(fileinfo) = %{fileinfover}
Obsoletes: php-fileinfo < 4:5.3.28-7
Obsoletes: php-mime_magic
Obsoletes: php-pecl-fileinfo < %{fileinfover}
%description fileinfo
This extension allows retrieval of information regarding vast majority
of file. This information may include dimensions, quality, length
etc...
Additionally it can also be used to retrieve the MIME type for a
particular file and for text files proper language encoding.
%description fileinfo -l pl.UTF-8
To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
plików. Informacje mogą zawierać wymiary, jakość, długość itp.
Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
pliku oraz kodowania plików tekstowych.
%package filter
Summary: Extension for safely dealing with input parameters
Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
Group: Libraries
URL: http://www.php.net/manual/en/book.filter.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
Provides: php(filter)
Obsoletes: php-filter < 4:5.3.28-7
Obsoletes: php-pecl-filter
%description filter
We all know that you should always check input variables, but PHP does
not offer really good functionality for doing this in a safe way. The
Input Filter extension is meant to address this issue by implementing
a set of filters and mechanisms that users can use to safely access
their input data.
%description filter -l pl.UTF-8
Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
mogą bezpiecznie używać do dostępu do danych.
%package ftp
Summary: FTP extension module for PHP
Summary(pl.UTF-8): Moduł FTP dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.ftp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(ftp)
Obsoletes: php-ftp < 4:5.3.28-7
%description ftp
This is a dynamic shared object (DSO) for PHP that will add FTP
support.
%description ftp -l pl.UTF-8
Moduł PHP dodający obsługę protokołu FTP.
%package gd
Summary: GD extension module for PHP
Summary(pl.UTF-8): Moduł GD dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.image.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
%if %{with system_gd}
Requires: gd >= 2.1
Requires: gd(gif)
%endif
Provides: php(gd)
Obsoletes: php-gd < 4:5.3.28-7
%description gd
This is a dynamic shared object (DSO) for PHP that will add GD
support, allowing you to create and manipulate images with PHP.
%description gd -l pl.UTF-8
Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
tworzenie i obróbkę obrazków.
%package gettext
Summary: gettext extension module for PHP
Summary(pl.UTF-8): Moduł gettext dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.gettext.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(gettext)
Obsoletes: php-gettext < 4:5.3.28-7
%description gettext
This is a dynamic shared object (DSO) for PHP that will add gettext
support.
%description gettext -l pl.UTF-8
Moduł PHP dodający obsługę lokalizacji przez gettext.
%package gmp
Summary: gmp extension module for PHP
Summary(pl.UTF-8): Moduł gmp dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.gmp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(gmp)
Obsoletes: php-gmp < 4:5.3.28-7
%description gmp
This is a dynamic shared object (DSO) for PHP that will add arbitrary
length number support with GNU MP library.
%description gmp -l pl.UTF-8
Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
liczbach o dowolnej długości.
%package hash
Summary: HASH Message Digest Framework
Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
Group: Libraries
URL: http://www.php.net/manual/en/book.gmp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(hash) = %{hashver}
%if %{with mhash}
Provides: php(mhash)
Provides: php-mhash = %{epoch}:%{version}-%{release}
Obsoletes: php-mhash < 4:5.3.0
%endif
Obsoletes: php-hash < 4:5.3.28-7
Obsoletes: php-pecl-hash < %{hashver}
%description hash
Native implementations of common message digest algorithms using a
generic factory method.
%description hash -l pl.UTF-8
Natywne implementacje popularnych algorytmów obliczania skrótów
wiadomości przy użyciu wspólnego interfejsu.
%package iconv
Summary: iconv extension module for PHP
Summary(pl.UTF-8): Moduł iconv dla PHP
Group: Libraries
URL: http://www.php.net/manual/en/book.iconv.php
Requires: %{_libdir}/gconv
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: iconv
Provides: php(iconv)
Obsoletes: php-iconv < 4:5.3.28-7
%description iconv
This is a dynamic shared object (DSO) for PHP that will add iconv
support.
%description iconv -l pl.UTF-8
Moduł PHP dodający obsługę iconv.
%package imap