-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphp.spec
3167 lines (2746 loc) · 102 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
# NOTES
# - mysqlnd driver doesn't support reconnect: https://bugs.php.net/bug.php?id=52561
# TODO 5.6:
# - enable --with-fpm-systemd, but ensure it checks for sd_booted()
# 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
#
# Conditional build:
# - packaging options
%bcond_without alternatives # use alternatives system to select default phar and php-fpm
%bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
# - General options:
%bcond_with embed # Embedded API
%bcond_with gcov # Code coverage reporting
%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_with zts # Zend Thread Safety
%bcond_with debug # Zend Debug Build
# - SAPI
%bcond_without apache2 # building Apache 2.x SAPI
%bcond_without cgi # CGI/FCGI SAPI
%bcond_without fpm # FPM SAPI
%bcond_without litespeed # litespeed SAPI
%bcond_without phpdbg # phpdbg SAPI
# - Extensions
%bcond_without bcmath # bcmath extension module
%bcond_without bzip2 # bz2 extension module
%bcond_without calendar # calendar extension module
%bcond_without ctype # ctype extension module
%bcond_without curl # CURL extension module
%bcond_without dba # DBA extension module
%bcond_without dom # DOM extension module
%bcond_without enchant # Enchant extension module
%bcond_without exif # EXIF extension module
%bcond_without ffi # FFI extension module
%bcond_without fileinfo # fileinfo extension module
%bcond_without filter # filter extension module
%bcond_without ftp # FTP extension module
%bcond_without gd # GD extension module
%bcond_without gettext # gettext extension module
%bcond_without gmp # gmp extension module
%bcond_without iconv # iconv extension module
%bcond_without intl # Intl extension module
%bcond_without ldap # LDAP extension module
%bcond_without mbstring # mbstring extension module
%bcond_without mhash # mhash extension (supported by hash extension)
%bcond_without mysqli # mysqli support (Requires mysql >= 4.1)
%bcond_without mysqlnd # mysqlnd support in mysql related extensions
%bcond_without odbc # ODBC extension module
%bcond_without opcache # Enable Zend OPcache extension support
%bcond_without openssl # OpenSSL support and OpenSSL extension (module)
%bcond_without pcntl # pcntl extension module
%bcond_without pcre_jit # PCRE JIT
%bcond_without pdo # PDO extension module
%bcond_without pdo_dblib # PDO dblib extension module
%bcond_without pdo_firebird # PDO Firebird extension module
%bcond_without pdo_mysql # PDO MySQL extension module
%bcond_without pdo_odbc # PDO ODBC extension module
%bcond_without pdo_pgsql # PDO pgsql extension module
%bcond_without pdo_sqlite # PDO SQLite extension module
%bcond_without pgsql # PostgreSQL extension module
%bcond_without phar # Phar extension module
%bcond_without posix # POSIX extension module
%bcond_without readline # readline extension module
%bcond_without session # session extension module
%bcond_without snmp # SNMP extension module
%bcond_without sodium # sodium extension module
%bcond_without sqlite2 # SQLite extension module
%bcond_without sqlite3 # SQLite3 extension module
%bcond_without tidy # Tidy extension module
%bcond_without xsl # xsl extension module
%bcond_without zip # zip extension module
# extensions options
%bcond_without argon2 # argon2 password hashing
%bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
%bcond_with mm # mm support for session storage
%bcond_without system_gd # system gd library
%bcond_without avif # AVIF support in GD extension (imagecreatefromavif and imageavif)
%bcond_without webp # WebP support in GD extension (imagecreatefromwebp)
%define apxs2 /usr/sbin/apxs
# segfaults on x32
%ifarch x32
%undefine with_pcre_jit
%endif
# disable all sapis
%if %{with gcov}
%undefine with_apache2
%undefine with_cgi
%undefine with_litespeed
%endif
%if %{with default_php}
%undefine with_alternatives
%endif
# mm is not thread safe
%if %{with zts}
%undefine with_mm
%endif
%if %{without odbc}
%undefine with_pdo_odbc
%endif
%if %{without pgsql}
%undefine with_pdo_pgsql
%endif
%ifnarch %{ix86} %{x8664} x32 %{arm} aarch64 sparcv9 sparc64
# unsupported, see sapi/fpm/fpm/fpm_atomic.h
%undefine with_fpm
%endif
%if %{without pdo}
%undefine with_pdo_dblib
%undefine with_pdo_firebird
%undefine with_pdo_mysql
%undefine with_pdo_odbc
%undefine with_pdo_pgsql
%undefine with_pdo_sqlite
%endif
%define orgname php
%define ver_suffix 84
%define php_suffix %{!?with_default_php:%{ver_suffix}}
%define subver %{nil}
%define rel 1
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 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 8.4.4
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: https://www.php.net/distributions/%{orgname}-%{version}.tar.xz
# Source0-md5: c9aa75fada9f41e9f0e02642b51225cc
#Source0: https://downloads.php.net/~pierrick/php-%{version}%{subver}.tar.xz
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
Source5: %{orgname}-cli.ini
Source6: timezone.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
Patch3: %{orgname}-link-libs.patch
Patch4: intl-stdc++.patch
# https://github.com/php/php-src/issues/9910
Patch6: opcache-nokill-perm.patch
Patch7: %{orgname}-sapi-ini-file.patch
Patch10: %{orgname}-ini.patch
Patch11: embed.patch
Patch14: %{orgname}-no_pear_install.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
Patch27: %{orgname}-config-dir.patch
Patch29: %{orgname}-fcgi-graceful.patch
Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
Patch39: %{orgname}-use-prog_sendmail.patch
Patch41: %{orgname}-fpm-config.patch
Patch43: %{orgname}-silent-session-cleanup.patch
Patch44: %{orgname}-include_path.patch
Patch50: extension-shared-optional-dep.patch
Patch53: fix-test-run.patch
Patch59: %{orgname}-systzdata.patch
Patch66: php-db.patch
Patch67: mysql-lib-ver-mismatch.patch
Patch71: libdb-info.patch
URL: https://www.php.net/
%{?with_pdo_firebird:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 3.0}}
BuildRequires: apache-base >= 2.4.0
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.4d
BuildRequires: bison >= 3.0.0
BuildRequires: bzip2-devel >= 1.0.0
%{?with_opcache:BuildRequires: capstone-devel >= 3.0.0}
%{?with_curl:BuildRequires: curl-devel >= 7.61.0}
BuildRequires: cyrus-sasl-devel >= 2
BuildRequires: db-devel >= 4.0
BuildRequires: elfutils-devel
%{?with_enchant:BuildRequires: enchant2-devel >= 1.6.0}
%if %{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 >= 4.2
%{?with_gcov:BuildRequires: lcov}
%{?with_fpm:BuildRequires: libapparmor-devel}
%{?with_argon2:BuildRequires: libargon2-devel >= 20161029}
%{?with_avif:BuildRequires: libavif-devel >= 0.8.2}
%{?with_ffi:BuildRequires: libffi-devel >= 7:3.0.11}
%{?with_intl:BuildRequires: libicu-devel >= 50.1}
BuildRequires: libjpeg-devel
BuildRequires: libltdl-devel >= 1.4
BuildRequires: libpng-devel >= 1.0.8
%{?with_sodium:BuildRequires: libsodium-devel >= 1.0.8}
%{?with_intl:BuildRequires: libstdc++-devel >= 6:4.8.1}
BuildRequires: libtool >= 2:2.4.6
%{?with_webp:BuildRequires: libwebp-devel >= 0.2.0}
BuildRequires: libxml2-devel >= 1:2.9.0
%{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0}
%{?with_zip:BuildRequires: libzip-devel >= 1.7.1}
%{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
%{?with_mm:BuildRequires: mm-devel >= 1.3.0}
%{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13}
%{!?with_pdo_mysql:BuildRequires: mysql-devel}
%{?with_snmp:BuildRequires: net-snmp-devel >= 5.3}
BuildRequires: oniguruma-devel
%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
%if %{with openssl} || %{with ldap}
BuildRequires: openssl-devel >= 1.0.2
%endif
BuildRequires: pam-devel
BuildRequires: pcre2-8-devel >= 10.30
BuildRequires: pkgconfig
%{?with_pgsql:BuildRequires: postgresql-devel >= 12}
BuildRequires: readline-devel
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.566
BuildRequires: sed >= 4.0
%if %{with sqlite3} || %{with pdo_sqlite}
BuildRequires: sqlite3-devel >= 3.7.14
%endif
%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
BuildRequires: tar >= 1:1.22
%{?with_tidy:BuildRequires: tidy-devel}
BuildRequires: tokyocabinet-devel
%{?with_odbc:BuildRequires: unixODBC-devel}
BuildRequires: xz
BuildRequires: zlib-devel >= 1.2.0.4
%if %{with apache2}
BuildRequires: apache-devel >= 2.4.0
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 20240924
%define zend_module_api %{php_api_version}
%define zend_extension_api 4%{zend_module_api}
%define php_pdo_api_version 20240423
# Extension versions
%define bz2ver %{version}
%define enchantver %{version}
%define fileinfover %{version}
%define hashver %{version}
%define intlver %{version}
%define jsonver %{version}
%define pharver %{version}
%define sqlite3ver %{version}
%define zipver 1.22.4
%define phpdbgver %{version}
%define sodiumver %{version}
%define _zend_zts %{!?with_zts:0}%{?with_zts:1}
%define php_debug %{!?with_debug:0}%{?with_debug:1}
%if %{with gcov}
%undefine with_ccache
%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 apache-mod_%{name}
Summary: PHP support for Apache 2.x
Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
Group: Development/Languages/PHP
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
Provides: webserver(php) = %{version}
Obsoletes: apache-mod_php < 4:5.3.28-7
Obsoletes: phpfi
%description -n apache-mod_%{name}
PHP support for Apache 2.x.
%description -n apache-mod_%{name} -l pl.UTF-8
Wsparcie PHP dla Apache 2.x.
%package -n apache-mod_%{name}-core
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
%description -n apache-mod_%{name}-core
PHP as DSO module for Apache 2.x.
%description -n apache-mod_%{name}-core -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: php-program < 4:5.3.28-7
Obsoletes: php4-program < 3:5
Obsoletes: php52-program < 4:5.3
Obsoletes: php53-program < 4:5.4
Obsoletes: php54-program < 4:5.5
Obsoletes: php55-program < 4:5.6
Obsoletes: php56-program < 4:7
Obsoletes: php70-program < 4:7.1
Obsoletes: php71-program < 4:7.2
Obsoletes: php72-program < 4:7.3
Obsoletes: php73-program < 4:7.4
Obsoletes: php74-program < 4:8
Obsoletes: php80-program < 4:8.1
Obsoletes: php81-program < 4:8.2
%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: https://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}
%{?with_alternatives:Requires: alternatives}
Requires: php-dirs >= 1.4-2
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+
Summary(pl.UTF-8): Platforma diagnostyczna dla 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+
%description phpdbg -l pl.UTF-8
phpdbg - interaktywny debugger dla PHP.
Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
platforma diagnostyczna dla 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
Requires: zlib >= 1.2.0.4
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
Provides: %{name}-hash = %{epoch}:%{version}-%{release}
Provides: %{name}-pcre = %{epoch}:%{version}-%{release}
Provides: %{name}-reflection
Provides: %{name}-spl = %{epoch}:%{version}-%{release}
Provides: %{name}-standard
Provides: php(core) = %{version}
Provides: php(date)
Provides: php(hash) = %{hashver}
Provides: php(libxml)
Provides: php(pcre)
Provides: php(reflection)
Provides: php(spl)
Provides: php(standard)
%{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
%requires_ge_to pcre2-8 pcre2-8-devel
Suggests: browscap
Obsoletes: php-common < 4:5.3.28-7
Obsoletes: php-filepro < 4:5.2.0
Obsoletes: php-hash < 4:5.3.28-7
Obsoletes: php-hwapi < 4:5.2.0
Obsoletes: php-hyperwave < 3:5.0.0
Obsoletes: php-java < 3:5.0.0
Obsoletes: php-mcal < 3:5.0.0
Obsoletes: php-pcre < 4:5.3.28-7
Obsoletes: php-pecl-domxml
Obsoletes: php-pecl-hash < %{hashver}
Obsoletes: php-qtdom < 3:5.0.0
Obsoletes: php-spl < 4:5.3.28-7
Conflicts: php4-common < 3:4.4.4-8
Conflicts: php55-common < 4:5.5.10-4
Conflicts: rpm < 4.4.2-0.2
%if %{with mhash}
Provides: php(mhash)
Provides: php-mhash = %{epoch}:%{version}-%{release}
Obsoletes: php-mhash < 4:5.3.0
%endif
%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.59
Requires: automake >= 1.4d
Requires: libtool >= 2:2.4.6
Requires: pcre2-8-devel >= 10.30
Requires: shtool
Provides: php-devel = %{epoch}:%{version}-%{release}
Obsoletes: php-devel
Obsoletes: php-pear-devel < 3:4.3.0-1
Obsoletes: php4-devel < 3:5
Obsoletes: php52-devel < 4:5.3
Obsoletes: php53-devel < 4:5.4
Obsoletes: php54-devel < 4:5.5
Obsoletes: php55-devel < 4:5.6
Obsoletes: php56-devel < 4:7
Obsoletes: php70-devel < 4:7.1
Obsoletes: php71-devel < 4:7.2
Obsoletes: php72-devel < 4:7.3
Obsoletes: php73-devel < 4:7.4
Obsoletes: php74-devel < 4:8
Obsoletes: php80-devel < 4:8.1
Obsoletes: php81-devel < 4:8.2
%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: https://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: https://www.php.net/manual/en/book.bzip2.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: bzip2-libs >= 1.0.0
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: https://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: https://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: https://www.php.net/manual/en/book.curl.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: curl-libs >= 7.61.0
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: https://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
# withdrawn module of similar functionality but different API
Obsoletes: php-db < 3:5.0.0
%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: https://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: https://www.php.net/manual/en/book.enchant.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: enchant2 >= 1.6.0
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: https://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 ffi
Summary: Foreign Function Interface module for PHP
Summary(pl.UTF-8): Moduł Foreign Function Interface (interfejsu do obcych języków) dla PHP
Group: Libraries
URL: https://www.php.net/manual/en/book.ffi.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(ffi) = %{version}
%description ffi
FFI is a multi-platform extension for PHP that allows you to bind to
functions from arbitrary shared libraries and call them.
%description ffi -l pl.UTF-8
FFI to wieloplatformowe rozszerzenie dla PHP pozwalające dowiązywać
funkcje z dowolnych bibliotek współdzielonych i wywoływać je.
%package fileinfo
Summary: libmagic bindings
Summary(pl.UTF-8): Wiązania do libmagic
Group: Libraries
URL: https://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 < 4:5.3
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: https://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 < 0.12
%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: https://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: https://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: https://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: https://www.php.net/manual/en/book.gmp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: gmp >= 4.2
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 iconv
Summary: iconv extension module for PHP
Summary(pl.UTF-8): Moduł iconv dla PHP
Group: Libraries
URL: https://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 intl
Summary: Internationalization extension (ICU wrapper)
Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
Group: Libraries
URL: https://www.php.net/intl
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(intl) = %{intlver}
Obsoletes: php-intl < 4:5.3.28-7
Obsoletes: php-pecl-intl < %{intlver}
%description intl
Internationalization extension (further is referred as Intl) is a
wrapper for ICU library, enabling PHP programmers to perform
UCA-conformant collation and date/time/number/currency formatting in