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