1 Summary: PHP language bindings for GTK+ toolkit
2 Summary(pl): Modu³ PHP z wi±zaniami do GTK+
8 Source0: %{name}-%{version}.tar.gz
9 #Source0: http://gtk.php.net/do_download.php?download_file=%{name}-%{version}
10 URL: http://gtk.php.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: php-cgi
14 BuildRequires: php-devel
15 BuildRequires: php-pcre
16 BuildRequires: libglade-devel
17 BuildRequires: gtk+-devel
20 Provides: pear(GtkWindow)
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _sysconfdir /etc/php
26 PHP-GTK is a PHP extension that enables you to write client-side
27 cross-platform GUI applications. This is the first such extension of
28 this kind and one of the goals behind it was to prove that PHP is a
29 capable general-purpose scripting language that is suited for more
30 than just Web applications.
32 This extension will _not_ allow you to display GTK+ programs in a Web
33 browser, and cannot be used in the Web environment. It is intended for
34 creating standalone GUI applications.
37 PHP-GTK jest rozszerzeniem PHP które pozwala pisaæ klienckie przeno¶ne
38 aplikacje typu GUI. To jest pierwsze roszerzenie tego typu i jednym z
39 celów które przy¶wieca³y jego autorom by³o pokazanie ¿e PHP jest
40 jêzykiem skryptowym ogólnego zastosowania, który pasuje do czego¶
41 wiêcej ni¿ tylko aplikacje webowe.
43 To roszerzenie _nie_pozwoli_ Ci u¿ywaæ programów korzystaj±cych GTK+
44 przez przegl±darkê i nie mo¿e byæ u¿ywane w ¶rodowisku webowym. Jest
45 przeznaczone do tworzenia samodzielnych aplikacji GUI.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_libdir}/php
61 install modules/php_gtk.so $RPM_BUILD_ROOT%{_libdir}/php/gtk.so
64 rm -rf $RPM_BUILD_ROOT
67 %{_sbindir}/php-module-install install gtk %{_sysconfdir}/php.ini
70 if [ "$1" = "0" ]; then
71 %{_sbindir}/php-module-install remove gtk %{_sysconfdir}/php.ini
75 %defattr(644,root,root,755)
76 %doc ChangeLog AUTHORS TODO NEWS
77 %attr(755,root,root) %{_libdir}/php/*.so