|
From: Paul H. <pg...@us...> - 2006-04-18 11:01:28
|
Update of /cvsroot/pptpclient/specs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10326 Added Files: php4-pcntl-gtk.spec Removed Files: php-gtk-pcntl.spec Log Message: Rename package to php4-pcntl-gtk to match renamed underlying php package Remove buildroot unconditionally in %clean and %install Honour %{optflags} Define %__id_u macro in a more portable way Add %{?dist} tag for distribution-specific build identification Specify libdir for configure (pacify rpmlint a bit) Remove explicit library dependencies that rpm will pick up automatically --- NEW FILE: php4-pcntl-gtk.spec --- %define private_suffix 4-pcntl %{!?__id_u: %define __id_u %([ -x /bin/id ]&&echo /bin/id||([ -x /usr/bin/id ]&&echo /usr/bin/id||echo /bin/true)) -u} Summary: GTK+ bindings for applications built using php%{private_suffix} Name: php%{private_suffix}-gtk Version: 1.0.2 Release: 2%{?dist} Source: php-gtk-%{version}.tar.gz License: LGPL Group: Development/Languages URL: http://gtk.php.net/ Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) BuildRequires: php%{private_suffix}-devel >= 4.3.0, automake, autoconf BuildRequires: gtk+-devel >= 1.2.6, libglade-devel, glib-devel, libxml-devel, zlib-devel Requires: php%{private_suffix} >= 4.0.5, gtk+ >= 1.2.6 %define private_php_dir %{_libdir}/php%{private_suffix} %description PHP-GTK is an extension for PHP programming language that implements language bindings for the GTK+ toolkit. It provides an object-oriented interface to GTK+ classes and functions and greatly simplifies writing client side cross-platform GUI applications. This version is built against the minimal PHP version with process control (php%{private_suffix}) and requires that package to be installed too. %prep %setup -q -n php_gtk-%{version} %build export CFLAGS="%{optflags}" PATH=$PATH:%{private_php_dir}/bin ./buildconf PATH=$PATH:%{private_php_dir}/bin ./configure \ --libdir=%{private_php_dir}/lib \ --with-php-config=%{private_php_dir}/bin/php-config %{__make} %install %{__rm} -rf %{buildroot} %{__mkdir} -p %{buildroot}%{private_php_dir} %{__make} INSTALL_ROOT=%{buildroot} install %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,0755) %{private_php_dir}/lib %doc AUTHORS ChangeLog COPYING.LIB NEWS README TODO %changelog * Thu Apr 13 2006 Paul Howarth <pa...@ci...> 1.0.2-2 - Rename package to php4-pcntl-gtk to match renamed underlying php package - Remove buildroot unconditionally in %%clean and %%install - Honour %%{optflags} - Define %%__id_u macro in a more portable way - Add %%{?dist} tag for distribution-specific build identification - Specify libdir for configure (pacify rpmlint a bit) - Remove explicit library dependencies that rpm will pick up automatically * Mon Jul 18 2005 Paul Howarth <pa...@ci...> 1.0.2-1 - Update to 1.0.2 - Ensure all directories are owned properly - Tarball directory stupidly named php_gtk instead of php-gtk * Mon Apr 11 2005 Paul Howarth <pa...@ci...> 1.0.1-3 - Add build requirement of autoconf * Thu Sep 30 2004 Paul Howarth <pa...@ci...> 1.0.1-2 - Do not do parallel make on SMP boxen; Makefile does not support parallel builds properly * Wed Aug 11 2004 Paul Howarth <pa...@ci...> 1.0.1-1 - Update to 1.0.1 - Build now works with automake 1.8.3 and does not require buildconf/aclocal/buildconf routine, but does require PHP >= 4.3.0 * Tue Jul 20 2004 Paul Howarth <pa...@ci...> 1.0.0-1 - Rebuild against php-pcntl 4.3.8 * Sat Jun 19 2004 James Cameron <jam...@hp...> - rpm build on debian * Wed Jun 16 2004 Paul Howarth <pa...@ci...> 1.0.0-0.1 - Don't disable anything in configure, makes the package more generally useful. * Tue Jun 15 2004 Paul Howarth <pa...@ci...> 1.0.0-0 - Initial RPM build. --- php-gtk-pcntl.spec DELETED --- |