1 Summary: The PHP HTML-embedded scripting language for use with Apache.
2 Summary(pl): Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache.
7 Group(pl): X11/Programowanie/Biblioteki
11 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.gz
15 BuildRequires: apache-devel
16 BuildRequires: zlib-devel
17 BuildRoot: /tmp/%{name}-%{version}-root
20 PHP is an HTML-embedded scripting language. PHP attempts to make it easy
21 for developers to write dynamically generated web pages. PHP also offers
22 built-in database integration for several commercial and non-commercial
23 database management systems, so writing a database-enabled web page with
24 PHP is fairly simple. The most common use of PHP coding is probably as a
25 replacement for CGI scripts. The mod_php module enables the Apache web
26 server to understand and process the embedded PHP language in web pages.
27 This package contains PHP. If you use applications which specifically rely
28 on PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
29 module contained in the phpfi package. If you're just starting with PHP,
30 you should install this package. You'll also need to install the Apache
34 PHP jest jêzykiem skryptowym
40 libtoolize --copy --force
45 --with-apxs=%{_sbindir}/apxs \
46 --with-config-file-path=%{_sysconfdir}/httpd \
48 --with-exec-dir=%{_bindir} \
51 --enable-magic-quotes \
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_libdir}/apache,%{_sysconfdir}/httpd,/home/httpd/html/icons/}
62 install .libs/*.so $RPM_BUILD_ROOT%{_libdir}/apache
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/php.ini
64 install %{SOURCE3} $RPM_BUILD_ROOT/home/httpd/html/icons/
66 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/apache/*.so
69 gzip -9nf CODING_STANDARDS CREDITS FAQ*
72 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc {CODING_STANDARDS,CREDITS,FAQ*}.gz
79 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd/*
80 %attr(755,root,root) %{_libdir}/apache/libphp4.so