Summary: PHP language bindings for GTK+ toolkit
Summary(pl): Modu³ PHP z wi±zaniami do GTK+
Name: php-gtk
-Version: 0.0.4
+Version: 0.5.2
Release: 1
License: GPL
Group: Libraries
-Group(de): Libraries
-Group(es): Bibliotecas
-Group(fr): Librairies
-Group(pl): Biblioteki
-Group(pt_BR): Bibliotecas
-Group(ru): âÉÂÌÉÏÔÅËÉ
-Group(uk): â¦Â̦ÏÔÅËÉ
-Source0: %{name}-%{version}.tar.gz
+Source0: http://gtk.php.net/distributions/%{name}-%{version}.tar.gz
+#Source0: http://gtk.php.net/do_download.php?download_file=%{name}-%{version}
URL: http://gtk.php.net/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
+mv php_gtk_new.m4 php_gtk.m4
%build
phpize
-aclocal
-%configure
+%{__aclocal}
+%{__autoconf}
+%configure
%{__make}
install modules/php_gtk.so $RPM_BUILD_ROOT%{_libdir}/php/gtk.so
-gzip -9nf ChangeLog AUTHORS TODO NEWS
+%clean
+rm -rf $RPM_BUILD_ROOT
%post
%{_sbindir}/php-module-install install gtk %{_sysconfdir}/php.ini
%{_sbindir}/php-module-install remove gtk %{_sysconfdir}/php.ini
fi
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc ChangeLog AUTHORS TODO NEWS
%attr(755,root,root) %{_libdir}/php/*.so