2 %define _apache2 %(if rpm -q apache-devel | grep -Eq '\-2\.[0-9]+\.' 2> /dev/null ; then echo 1; else echo 0; fi)
5 %define _without_recode 1
10 # _with_oracle - with oracle support
11 # _with_oci8 - with oci8 support
12 # _with_java - with Java support
13 # _with_libcpdf - with libcpdf support
14 # _with_openssl - with OpenSSL support
15 # _with_wddx - with WDDX support
16 # _with_xslt - with XSLT support
17 # _without_imap - without IMAP support
18 # _without_ldap - without LDAP support
19 # _without_odbc - without ODBC support
20 # _without_snmp - without SNMP support
21 # _without_sablot - without sablot support
22 # _without_recode - without recode support
23 # _without_mm - without mm support
24 Summary: The PHP HTML-embedded scripting language for use with Apache
25 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
26 Summary(pl): Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
32 License: The PHP license (see "LICENSE" file included in distribution)
33 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.gz
37 Source4: http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
38 Source5: %{name}-module-install
39 Source6: %{name}-xml_fix
40 Patch0: %{name}-shared.patch
41 Patch1: %{name}-pldlogo.patch
42 Patch2: %{name}-mysql-socket.patch
43 Patch3: %{name}-mail.patch
44 Patch4: %{name}-link-libs.patch
45 Patch5: %{name}-am_ac_lt.patch
46 Patch6: %{name}-fastcgi.patch
47 Patch7: %{name}-ac250.patch
48 Patch8: %{name}-mailsecurity2.patch
49 Patch9: %{name}-oracle9.patch
50 Patch10: %{name}-no_%{name}_pcre_in_SAPI_c.patch
51 Patch11: %{name}-libpq_fs_h_path.patch
52 Patch12: %{name}-apache2.patch
53 Patch13: %{name}-pdflib4.0.2.patch
55 URL: http://www.php.net/
56 BuildRequires: apache(EAPI)-devel
57 BuildRequires: autoconf >= 1.4
58 BuildRequires: automake >= 1.4d
60 BuildRequires: bzip2-devel
61 BuildRequires: curl-devel
62 BuildRequires: cyrus-sasl-devel
63 BuildRequires: db3-devel >= 3.1.17
64 BuildRequires: expat-devel
66 BuildRequires: gmp-devel
67 BuildRequires: freetype-devel >= 2.0
68 BuildRequires: gd-devel >= 2.0.1
69 BuildRequires: gdbm-devel
70 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
71 # I think jdk is better for java
73 %{?_with_java:BuildRequires: kaffe-devel}
74 BuildRequires: libjpeg-devel
75 BuildRequires: libltdl-devel >= 1.4
76 BuildRequires: libmcrypt-devel >= 2.4.4
77 BuildRequires: libpng >= 1.0.8
78 BuildRequires: libtiff-devel
79 BuildRequires: libtool >= 1.4
80 BuildRequires: libxml2-devel >= 2.2.7
81 BuildRequires: mhash-devel
82 BuildRequires: ming-devel >= 0.1.0
83 %{!?_without_mm:BuildRequires: mm-devel >= 1.1.3}
84 BuildRequires: mysql-devel >= 3.23.32
85 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
86 BuildRequires: pam-devel
87 BuildRequires: pdflib-devel >= 4.0.0
89 BuildRequires: pkgconfig
90 BuildRequires: postgresql-devel
91 BuildRequires: postgresql-backend-devel >= 7.2
92 %{!?_without_recode:BuildRequires: recode-devel >= 3.5d-3}
93 BuildRequires: t1lib-devel
94 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
95 %{!?_without_odbc:BuildRequires: unixODBC-devel}
97 BuildRequires: zlib-devel >= 1.0.9
98 #BuildRequires: fastcgi-devkit
99 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
100 %{!?_without_openssl:BuildRequires: openssl-devel >= 0.9.6a}
102 %{?_with_libcpdf:BuildRequires: libcpdf-devel >= 2.00}
103 %{?_with_xslt:BuildRequires: sablotron-devel}
104 %{?_with_xslt:BuildRequires: expat-devel}
105 %{?_with_xslt:BuildRequires: w3c-libwww-devel}
106 # apache 1.3 vs apache 2.0
108 PreReq: apache(EAPI) >= 2.0.35
110 PreReq: apache(EAPI) < 2.0.0
111 PreReq: apache(EAPI) >= 1.3.9
114 PreReq: %{_sbindir}/apxs
115 PreReq: %{name}-common = %{version}
116 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118 Obsoletes: apache-mod_php
120 %define _sysconfdir /etc/php
121 %define extensionsdir %{_libdir}/php
122 %define peardir %{_datadir}/pear
125 PHP is an HTML-embedded scripting language. PHP attempts to make it
126 easy for developers to write dynamically generated web pages. PHP also
127 offers built-in database integration for several commercial and
128 non-commercial database management systems, so writing a
129 database-enabled web page with PHP is fairly simple. The most common
130 use of PHP coding is probably as a replacement for CGI scripts. The
131 mod_php module enables the Apache web server to understand and process
132 the embedded PHP language in web pages. This package contains PHP
133 version %{version}. If you use applications which specifically rely on
134 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
135 module contained in the phpfi package. If you're just starting with
136 PHP, you should install this package. You'll also need to install the
140 PHP est un langage de script embarque dans le HTM. PHP essaye de
141 rendre simple aux developpeurs d'ecrire des pages web generees
142 dynamiquement. PHP incorpore egalement une integration avec plusieurs
143 systemes de gestion de bases de donnees commerciaux et
144 non-connerciaux, qui rent facile la creation de pages web liees avec
145 des bases de donnees. L'utilisation la plus commune de PHP est
146 probablement en remplacement de scripts CGI. Le module mod_php permet
147 au serveur web apache de comprendre et de traiter le langage PHP
148 integre dans des pages web. Ce package contient PHP version
149 %{version}. Si vous utilisez des applications qui utilisent
150 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
151 dans le package mod_php. Si vous debutez avec PHP, vous devriez
152 installer ce package. Vous aurez egalement besoin d'installer le
156 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
157 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
158 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
159 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
160 zosta³a z jêzyków: C, Java i Perl.
163 Summary: PHP as CGI program
164 Summary(pl): PHP jako program CGI
166 PreReq: %{name}-common = %{version}
171 %description cgi -l pl
172 PHP jako program CGI.
175 Summary: Common files nneded by both apache module and CGI
176 Summary(pl): Wspólne pliki dla modu³u apacha i programu CGI
180 Common files needed by both apache module and CGI.
182 %description common -l pl
183 Wspólne pliki dla modu³u apacha i programu CGI.
186 Summary: MySQL database module for PHP
187 Summary(pl): Modu³ bazy danych MySQL dla PHP
189 Requires(post): %{name}-common = %{version}
190 Requires(preun): %{name}-common = %{version}
193 This is a dynamic shared object (DSO) for Apache that will add MySQL
194 database support to PHP. If you need back-end support for MySQL, you
195 should install this package in addition to the main %{name} package.
197 %description mysql -l pl
198 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
201 Summary: libPDF module for PHP
202 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
204 Requires(post): %{name}-common = %{version}
205 Requires(preun): %{name}-common = %{version}
209 This is a dynamic shared object (DSO) for Apache that will add PDF
212 %description pdf -l pl
213 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
217 Summary: PostgreSQL database module for PHP
218 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
220 Requires(post): %{name}-common = %{version}
221 Requires(preun): %{name}-common = %{version}
224 This is a dynamic shared object (DSO) for Apache that will add
225 PostgreSQL database support to PHP. If you need back-end support for
226 PostgreSQL, you should install this package in addition to the main
229 %description pgsql -l pl
230 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
233 Summary: Oracle 8 database module for PHP
234 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
236 Requires(post): %{name}-common = %{version}
237 Requires(preun): %{name}-common = %{version}
241 This is a dynamic shared object (DSO) for Apache that will add Oracle
242 8 database support to PHP. If you need back-end support for Oracle 8,
243 you should install this package in addition to the main %{name}
246 %description oci8 -l pl
247 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 8.
250 Summary: Oracle 7 database module for PHP
251 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
253 Requires(post): %{name}-common = %{version}
254 Requires(preun): %{name}-common = %{version}
258 This is a dynamic shared object (DSO) for Apache that will add Oracle
259 7 database support to PHP. If you need back-end support for Oracle 7,
260 you should install this package in addition to the main %{name}
263 %description oracle -l pl
264 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
267 Summary: GD extension module for PHP
268 Summary: Modu³ GD dla PHP
270 Requires(post): %{name}-common = %{version}
271 Requires(preun): %{name}-common = %{version}
274 This is a dynamic shared object (DSO) for Apache that will add GD
275 support to PHP. You should install this package in addition to the
276 main %{name} package if you want to create and manipulate images with
279 %description gd -l pl
280 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
281 obrazków z poziomu PHP.
284 Summary: Java extension module for PHP
285 Summary(pl): Modu³ Javy dla PHP
287 Requires(post): %{name}-common = %{version}
288 Requires(preun): %{name}-common = %{version}
291 This is a dynamic shared object (DSO) for Apache that will add JAVA
292 support to PHP. This extension provides a simple and effective means
293 for creating and invoking methods on Java objects from PHP.
295 %description java -l pl
296 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
297 obiektów Javy z poziomu PHP.
300 Summary: XML extension module for PHP
301 Summary(pl): Modu³ XML dla PHP
303 Requires(post): %{name}-common = %{version}
304 Requires(preun): %{name}-common = %{version}
307 This is a dynamic shared object (DSO) for Apache that will add XML
308 support to PHP. This extension lets you create XML parsers and then
309 define handlers for different XML events. If you want to be able to
310 parse XML documents you should install this package in addition to the
311 main %{name} package.
313 %description xml -l pl
314 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
315 zwi±zanych z tymi plikami.
318 Summary: DBA extension module for PHP
319 Summary(pl): Modu³ DBA dla PHP
321 Requires(post): %{name}-common = %{version}
322 Requires(preun): %{name}-common = %{version}
325 This is a dynamic shared object (DSO) for Apache that will add
326 flat-file databases (DBA) support to PHP.
328 %description dba -l pl
329 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
330 wsparcie dla baz danych DBA.
333 Summary: ODBC extension module for PHP
334 Summary(pl): Modu³ ODBC dla PHP
336 Requires(post): %{name}-common = %{version}
337 Requires(preun): %{name}-common = %{version}
340 This is a dynamic shared object (DSO) for Apache that will add ODBC
343 %description odbc -l pl
344 Modu³ PHP ze wsparciem dla ODBC.
347 Summary: Calendar extension module for PHP
348 Summary(pl): Modu³ funkcji kalendarza dla PHP
350 Requires(post): %{name}-common = %{version}
351 Requires(preun): %{name}-common = %{version}
353 %description calendar
354 This is a dynamic shared object (DSO) for Apache that will add
355 calendar support to PHP.
357 %description calendar -l pl
358 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
359 wsparcie dla kalendarza.
362 Summary: DBase extension module for PHP
363 Summary(pl): Modu³ DBase dla PHP
365 Requires(post): %{name}-common = %{version}
366 Requires(preun): %{name}-common = %{version}
369 This is a dynamic shared object (DSO) for Apache that will add DBase
372 %description dbase -l pl
373 Modu³ PHP ze wsparciem dla DBase.
376 Summary: FilePro extension module for PHP
377 Summary(pl): Modu³ FilePro dla PHP
379 Requires(post): %{name}-common = %{version}
380 Requires(preun): %{name}-common = %{version}
383 This is a dynamic shared object (DSO) for Apache that will add FilePro
386 %description filepro -l pl
387 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
388 wsparcie dla FilePro.
391 Summary: POSIX extension module for PHP
392 Summary(pl): Modu³ POSIX dla PHP
394 Requires(post): %{name}-common = %{version}
395 Requires(preun): %{name}-common = %{version}
398 This is a dynamic shared object (DSO) for Apache that will add POSIX
399 functions support to PHP.
401 %description posix -l pl
402 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
405 Summary: PCRE extension module for PHP
406 Summary(pl): Modu³ PCRE dla PHP
408 Requires(post): %{name}-common = %{version}
409 Requires(preun): %{name}-common = %{version}
412 This is a dynamic shared object (DSO) for Apache that will add Perl
413 Compatible Regular Expression support to PHP.
415 %description pcre -l pl
416 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
417 (Perl Compatible Regular Expressions)
420 Summary: SysV sem extension module for PHP
421 Summary(pl): Modu³ SysV sem dla PHP
423 Requires(post): %{name}-common = %{version}
424 Requires(preun): %{name}-common = %{version}
427 This is a dynamic shared object (DSO) for Apache that will add SysV
428 semafores support to PHP.
430 %description sysvsem -l pl
431 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
434 Summary: SysV shm extension module for PHP
435 Summary(pl): Modu³ SysV shm dla PHP
437 Requires(post): %{name}-common = %{version}
438 Requires(preun): %{name}-common = %{version}
441 This is a dynamic shared object (DSO) for Apache that will add SysV
442 Shared Memory support to PHP.
444 %description sysvshm -l pl
445 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
448 Summary: NIS (yp) extension module for PHP
449 Summary(pl): Modu³ NIS (yp) dla PHP
451 Requires(post): %{name}-common = %{version}
452 Requires(preun): %{name}-common = %{version}
455 This is a dynamic shared object (DSO) for Apache that will add NIS
456 (Yellow Pages) support to PHP.
458 %description yp -l pl
459 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
460 wsparcie dla NIS (Yellow Pages).
463 Summary: bcmath extension module for PHP
464 Summary(pl): Modu³ bcmath dla PHP
466 Requires(post): %{name}-common = %{version}
467 Requires(preun): %{name}-common = %{version}
470 This is a dynamic shared object (DSO) for Apache that will add bc
471 style precision math functions support to PHP.
473 %description bcmath -l pl
474 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
475 matematycznych takich jak w programie bc.
478 Summary: FTP extension module for PHP
479 Summary(pl): Modu³ FTP dla PHP
481 Requires(post): %{name}-common = %{version}
482 Requires(preun): %{name}-common = %{version}
485 This is a dynamic shared object (DSO) for Apache that will add FTP
488 %description ftp -l pl
489 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
492 Summary: Zlib extension module for PHP
493 Summary(pl): Modu³ zlib dla PHP
495 Requires(post): %{name}-common = %{version}
496 Requires(preun): %{name}-common = %{version}
499 This is a dynamic shared object (DSO) for Apache that will add
500 compression (zlib) support to PHP.
502 %description zlib -l pl
503 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
506 Summary: Bzip2 extension module for PHP
507 Summary(pl): Modu³ bzip2 dla PHP
509 Requires(post): %{name}-common = %{version}
510 Requires(preun): %{name}-common = %{version}
513 This is a dynamic shared object (DSO) for Apache that will add
514 compression (bzip2) support to PHP.
516 %description bzip2 -l pl
517 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê bzip2).
520 Summary: exif extension module for PHP
521 Summary(pl): Modu³ exif dla PHP
523 Requires(post): %{name}-common = %{version}
524 Requires(preun): %{name}-common = %{version}
527 This is a dynamic shared object (DSO) for Apache that will add exif
530 %description exif -l pl
531 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
534 Summary: recode extension module for PHP
535 Summary(pl): Modu³ recode dla PHP
537 Requires(post): %{name}-common = %{version}
538 Requires(preun): %{name}-common = %{version}
539 Requires: recode >= 3.5d-3
542 This is a dynamic shared object (DSO) for Apache that will add recode
545 %description recode -l pl
546 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
550 Summary: session extension module for PHP
551 Summary(pl): Modu³ session dla PHP
553 Requires(post): %{name}-common = %{version}
554 Requires(preun): %{name}-common = %{version}
557 This is a dynamic shared object (DSO) for Apache that will add session
560 %description session -l pl
561 Modu³ PHP dodaj±cy obs³ugê sesji.
564 Summary: gettext extension module for PHP
565 Summary(pl): Modu³ gettext dla PHP
567 Requires(post): %{name}-common = %{version}
568 Requires(preun): %{name}-common = %{version}
571 This is a dynamic shared object (DSO) for Apache that will add gettext
574 %description gettext -l pl
575 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
578 Summary: SNMP extension module for PHP
579 Summary(pl): Modu³ SNMP dla PHP
581 Requires(post): %{name}-common = %{version}
582 Requires(preun): %{name}-common = %{version}
585 This is a dynamic shared object (DSO) for Apache that will add SNMP
588 %description snmp -l pl
589 Modu³ PHP dodaj±cy obs³ugê SNMP.
592 Summary: IMAP extension module for PHP
593 Summary(pl): Modu³ IMAP dla PHP
595 Requires(post): %{name}-common = %{version}
596 Requires(preun): %{name}-common = %{version}
599 This is a dynamic shared object (DSO) for Apache that will add IMAP
602 %description imap -l pl
603 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
606 Summary: LDAP extension module for PHP
607 Summary(pl): Modu³ LDAP dla PHP
609 Requires(post): %{name}-common = %{version}
610 Requires(preun): %{name}-common = %{version}
613 This is a dynamic shared object (DSO) for Apache that will add LDAP
616 %description ldap -l pl
617 Modu³ PHP dodaj±cy obs³ugê LDAP.
620 Summary: sockets extension module for PHP
621 Summary(pl): Modu³ socket dla PHP
623 Requires(post): %{name}-common = %{version}
624 Requires(preun): %{name}-common = %{version}
627 This is a dynamic shared object (DSO) for Apache that will add sockets
630 %description sockets -l pl
631 Modu³ PHP dodaj±cy obs³ugê gniazdek.
634 Summary: mcrypt extension module for PHP
635 Summary(pl): Modu³ mcrypt dla PHP
637 Requires(post): %{name}-common = %{version}
638 Requires(preun): %{name}-common = %{version}
641 This is a dynamic shared object (DSO) for Apache that will add mcrypt
644 %description mcrypt -l pl
645 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
648 Summary: mhash extension module for PHP
649 Summary(pl): Modu³ mhash dla PHP
651 Requires(post): %{name}-common = %{version}
652 Requires(preun): %{name}-common = %{version}
655 This is a dynamic shared object (DSO) for Apache that will add mhash
658 %description mhash -l pl
659 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
662 Summary: Online manual for PHP
663 Summary(pl): Dokumentacja dla PHP
664 Group: Networking/Daemons
665 Obsoletes: php-manual
668 Comprehensive documentation for PHP, viewable through your web server,
671 %description doc -l pl
672 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
676 Summary: PEAR - PHP Extension and Application Repository
677 Summary(pl): PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
678 Group: Development/Languages/PHP
679 Requires: %{name}-cgi = %{version}
680 Requires: %{name}-xml = %{version}
683 PEAR - PHP Extension and Application Repository.
685 %description pear -l pl
686 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
687 Repozytorium Aplikacji.
690 Summary: DOM XML module
691 Summary(pl): Modu³ DOM XML
692 Group: Development/Languages/PHP
697 %description domxml -l pl
701 Summary: Files for PHP modules development
702 Summary(pl): Pliki do kompilacji modu³ów PHP
703 Group: Development/Languages/PHP
704 Requires: %{name}-common = %{version}
707 Files for PHP modules development.
709 %description devel -l pl
710 Pliki potrzebne do kompilacji modu³ów PHP.
713 Summary: curl extension module for PHP
714 Summary(pl): Modu³ curl dla PHP
718 This is a dynamic shared object (DSO) for Apache that will add curl
721 %description curl -l pl
722 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
725 Summary: xslt extension module for PHP
726 Summary(pl): Modu³ xslt dla PHP
728 Requires(post): %{name}-common = %{version}
729 Requires(preun): %{name}-common = %{version}
732 This is a dynamic shared object (DSO) for Apache that will add xslt
735 %description xslt -l pl
736 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
739 Summary: wddx extension module for PHP
740 Summary(pl): Modu³ wddx dla PHP
742 Requires(post): %{name}-common = %{version}
743 Requires(preun): %{name}-common = %{version}
746 This is a dynamic shared object (DSO) for Apache that will add wddx
749 %description wddx -l pl
750 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
753 Summary: ming extension module for PHP
754 Summary(pl): Modu³ ming dla PHP
756 Requires(post): %{name}-common = %{version}
757 Requires(preun): %{name}-common = %{version}
760 This is a dynamic shared object (DSO) for Apache that will add ming
761 (Flash - .swf files) support to PHP.
763 %description ming -l pl
764 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
768 Summary: cpdf extension module for PHP
769 Summary(pl): Modu³ cpdf dla PHP
771 Requires(post): %{name}-common = %{version}
772 Requires(preun): %{name}-common = %{version}
775 This is a dynamic shared object (DSO) for Apache that will add libcpdf
778 %description libcpdf -l pl
779 Modu³ PHP dodaj±cy obs³ugê libcpdf.
782 Summary: iconv extension module for PHP
783 Summary(pl): Modu³ iconv dla PHP
785 Requires(post): %{name}-common = %{version}
786 Requires(preun): %{name}-common = %{version}
789 This is a dynamic shared object (DSO) for Apache that will add iconv
792 %description iconv -l pl
793 Modu³ PHP dodaj±cy obs³ugê iconv.
796 Summary: gmp extension module for PHP
797 Summary(pl): Modu³ gmp dla PHP
799 Requires(post): %{name}-common = %{version}
800 Requires(preun): %{name}-common = %{version}
803 This is a dynamic shared object (DSO) for Apache that will add
804 arbitrary length number support with GNU MP library to PHP.
806 %description gmp -l pl
807 Modu³ PHP umorzliwiaj±cy korzystanie z biblioteki gmp.
810 Summary: Shared Memory Operations extension module for PHP
811 Summary(pl): Modu³ shmop dla PHP
813 Requires(post): %{name}-common = %{version}
814 Requires(preun): %{name}-common = %{version}
817 This is a dynamic shared object (DSO) for Apache that will add
818 Shared Memory Operations support to PHP.
820 %description shmop -l pl
821 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
841 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
844 CFLAGS="%{rpmcflags} -DEAPI -I%{_prefix}/X11R6/include"; export CFLAGS
845 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
847 libtoolize --copy --force
850 #for i in cgi fastcgi apxs ; do
851 for i in cgi apxs ; do
853 `[ $i = cgi ] && echo --enable-discard-path` \
854 `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
856 `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
858 `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
860 --with-config-file-path=%{_sysconfdir} \
861 --with-exec-dir=%{_bindir} \
862 --%{!?debug:dis}%{?debug:en}able-debug \
863 --enable-bcmath=shared \
864 --enable-calendar=shared \
865 --enable-dba=shared \
866 --enable-exif=shared \
867 --enable-ftp=shared \
868 --enable-gd-native-ttf \
869 --enable-magic-quotes \
870 --enable-posix=shared \
873 --enable-shmop=shared \
874 --enable-sysvsem=shared \
875 --enable-sysvshm=shared \
876 --enable-track-vars \
879 --enable-sockets=shared \
881 --enable-ucd-snmp-hack \
882 --enable-xml=shared \
883 --with-expat-dir=/usr \
884 %{?_with_xslt:--enable-xslt=shared} \
886 %{?_with_libcpdf:--with-cpdflib=shared} \
887 --with-ctype=shared \
891 --with-dbase=shared \
892 --with-iconv=shared \
894 --with-dom-xslt=shared \
895 --with-filepro=shared \
896 --with-freetype-dir=shared \
897 --with-gettext=shared \
902 %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
903 %{?_with_java:--with-java} \
904 --with-jpeg-dir=shared \
905 %{!?_without_ldap:--with-ldap=shared} \
906 --with-mcrypt=shared \
907 --with-mysql=shared,%{_prefix} \
908 --with-mysql-sock=/var/lib/mysql/mysql.sock \
909 --with-mhash=shared \
911 %{!?_without_mm:--with-mm} \
912 %{!?_without_openssl:--with-openssl} \
913 %{?_with_oracle:--with-oracle=shared} \
914 %{?_with_oci8:--with-oci8=shared} \
915 --with-pear=%{peardir} \
916 --with-pcre-regex=shared \
917 --with-pdflib=shared \
918 --with-pgsql=shared,%{_prefix} \
919 --with-png-dir=shared \
920 %{!?_without_recode:--with-recode=shared} \
922 %{!?_without_sablot:--with-sablot=/usr/lib} \
923 %{!?_without_snmp:--with-snmp=shared} \
924 --with-t1lib=shared \
925 %{!?_without_odbc:--with-unixODBC=shared} \
926 %{?_with_wddx:--enable-wddx=shared} \
928 --with-zlib-dir=shared \
930 %{?_with_xslt:--with-xslt-sablot=shared}
933 # TODO --with-pspell=/usr,shared (pspell missing)
934 # --with-qtdom=shared
936 rm -f ext/xml/libs.mk
937 install %{SOURCE6} ext/xml/libs.mk
940 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
942 # Kill -rpath from php binary and libphp4.so
943 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
944 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
945 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
947 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
948 rm libphp4.la ; %{__make} libphp4.la
951 rm -rf $RPM_BUILD_ROOT
952 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
953 $RPM_BUILD_ROOT/home/httpd/icons \
954 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
955 $RPM_BUILD_ROOT/var/run/php
958 INSTALL_ROOT=$RPM_BUILD_ROOT \
959 INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
961 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
964 #install .libs/*.so $RPM_BUILD_ROOT%{_pkglibdir}
965 #install modules/*.so $RPM_BUILD_ROOT%{_pkglibdir}/php
967 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
968 install %{SOURCE3} php4.gif $RPM_BUILD_ROOT/home/httpd/icons
969 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
973 gzip -9nf CODING_STANDARDS CREDITS \
974 EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
975 Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
978 rm -rf $RPM_BUILD_ROOT
981 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
982 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
983 /etc/httpd/httpd.conf
984 if [ -f /var/lock/subsys/httpd ]; then
985 /etc/rc.d/init.d/httpd restart 1>&2
989 if [ "$1" = "0" ]; then
990 %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
992 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
993 /etc/httpd/httpd.conf
994 if [ -f /var/lock/subsys/httpd ]; then
995 /etc/rc.d/init.d/httpd restart 1>&2
999 %post common -p /sbin/ldconfig
1000 %postun common -p /sbin/ldconfig
1003 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1006 if [ "$1" = "0" ]; then
1007 %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1011 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1014 if [ "$1" = "0" ]; then
1015 %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1019 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1022 if [ "$1" = "0" ]; then
1023 %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1027 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1030 if [ "$1" = "0" ]; then
1031 %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1035 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1038 if [ "$1" = "0" ]; then
1039 %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1043 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1046 if [ "$1" = "0" ]; then
1047 %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1051 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1054 if [ "$1" = "0" ]; then
1055 %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1059 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1062 if [ "$1" = "0" ]; then
1063 %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1067 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1070 if [ "$1" = "0" ]; then
1071 %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1074 %if %{?_without_imap:0}%{!?_without_imap:1}
1076 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1079 if [ "$1" = "0" ]; then
1080 %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1084 %if %{?_with_java:1}%{!?_with_java:0}
1086 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1089 if [ "$1" = "0" ]; then
1090 %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1094 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1096 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1099 if [ "$1" = "0" ]; then
1100 %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1105 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1108 if [ "$1" = "0" ]; then
1109 %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1113 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1116 if [ "$1" = "0" ]; then
1117 %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1121 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1124 if [ "$1" = "0" ]; then
1125 %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1129 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1132 if [ "$1" = "0" ]; then
1133 %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1137 if [ "$1" = "0" ]; then
1138 %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1142 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1144 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1146 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1149 if [ "$1" = "0" ]; then
1150 %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1154 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1156 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1159 if [ "$1" = "0" ]; then
1160 %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1164 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1166 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1169 if [ "$1" = "0" ]; then
1170 %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1175 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1178 if [ "$1" = "0" ]; then
1179 %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1183 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1186 if [ "$1" = "0" ]; then
1187 %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1191 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1194 if [ "$1" = "0" ]; then
1195 %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1198 %if %{?_without_recode:0}%{!?_without_recode:1}
1200 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1203 if [ "$1" = "0" ]; then
1204 %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1209 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1212 if [ "$1" = "0" ]; then
1213 %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1216 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1218 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1221 if [ "$1" = "0" ]; then
1222 %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1227 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1230 if [ "$1" = "0" ]; then
1231 %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1235 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1238 if [ "$1" = "0" ]; then
1239 %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1243 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1246 if [ "$1" = "0" ]; then
1247 %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1251 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1254 if [ "$1" = "0" ]; then
1255 %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1259 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1262 if [ "$1" = "0" ]; then
1263 %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1267 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1270 if [ "$1" = "0" ]; then
1271 %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1275 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1278 if [ "$1" = "0" ]; then
1279 %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1283 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1286 if [ "$1" = "0" ]; then
1287 %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1291 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1294 if [ "$1" = "0" ]; then
1295 %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1298 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1300 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1303 if [ "$1" = "0" ]; then
1304 %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1308 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1310 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1313 if [ "$1" = "0" ]; then
1314 %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1318 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1320 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1323 if [ "$1" = "0" ]; then
1324 %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1329 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1332 if [ "$1" = "0" ]; then
1333 %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1337 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1340 if [ "$1" = "0" ]; then
1341 %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1345 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1348 if [ "$1" = "0" ]; then
1349 %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_bindir}/php
1361 %defattr(644,root,root,755)
1362 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1363 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz
1364 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1367 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1368 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1371 %attr(755,root,root) %{_sbindir}/*
1372 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1373 %dir %{extensionsdir}
1376 %defattr(644,root,root,755)
1378 %{_libdir}/php/build
1379 %attr(755,root,root) %{_bindir}/phpextdist
1380 %attr(755,root,root) %{_bindir}/phpize
1381 %attr(755,root,root) %{_bindir}/php-config
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{extensionsdir}/domxml.so
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_bindir}/pear
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{extensionsdir}/mysql.so
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{extensionsdir}/pgsql.so
1404 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{extensionsdir}/oracle.so
1410 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{extensionsdir}/oci8.so
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{extensionsdir}/gd.so
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{extensionsdir}/xml.so
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{extensionsdir}/dba.so
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{extensionsdir}/dbase.so
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{extensionsdir}/filepro.so
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{extensionsdir}/pcre.so
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{extensionsdir}/posix.so
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1449 %defattr(644,root,root,755)
1450 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{extensionsdir}/yp.so
1457 %defattr(644,root,root,755)
1458 %attr(755,root,root) %{extensionsdir}/calendar.so
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{extensionsdir}/bcmath.so
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{extensionsdir}/ftp.so
1469 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{extensionsdir}/zlib.so
1473 %defattr(644,root,root,755)
1474 %attr(755,root,root) %{extensionsdir}/bz2.so
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{extensionsdir}/exif.so
1480 %if %{?_without_recode:0}%{!?_without_recode:1}
1482 %defattr(644,root,root,755)
1483 %attr(755,root,root) %{extensionsdir}/recode.so
1487 #%defattr(644,root,root,755)
1488 #%attr(755,root,root) %{extensionsdir}/session.so
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{extensionsdir}/gettext.so
1494 %if %{?_without_imap:0}%{!?_without_imap:1}
1496 %defattr(644,root,root,755)
1497 %attr(755,root,root) %{extensionsdir}/imap.so
1500 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{extensionsdir}/snmp.so
1506 %if %{?_with_java:1}%{!?_with_java:0}
1508 %defattr(644,root,root,755)
1509 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1512 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{extensionsdir}/ldap.so
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) %{extensionsdir}/sockets.so
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1527 %defattr(644,root,root,755)
1528 %attr(755,root,root) %{extensionsdir}/mhash.so
1530 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1532 %defattr(644,root,root,755)
1533 %attr(755,root,root) %{extensionsdir}/odbc.so
1537 %defattr(644,root,root,755)
1541 %defattr(644,root,root,755)
1542 %attr(755,root,root) %{extensionsdir}/curl.so
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{extensionsdir}/ming.so
1548 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) %{extensionsdir}/xslt.so
1554 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1556 %defattr(644,root,root,755)
1557 %attr(755,root,root) %{extensionsdir}/wddx.so
1560 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1562 %defattr(644,root,root,755)
1563 %attr(755,root,root) %{extensionsdir}/cpdf.so
1567 %defattr(644,root,root,755)
1568 %attr(755,root,root) %{extensionsdir}/iconv.so
1571 %defattr(644,root,root,755)
1572 %attr(755,root,root) %{extensionsdir}/gmp.so
1575 %defattr(644,root,root,755)
1576 %attr(755,root,root) %{extensionsdir}/shmop.so