php-pecl-python.spec

Andrzej Mateja amateja at pimpek.one.pl
Mon Apr 27 18:09:21 CEST 2009


Cześć

	Nie budował się. Podbiłem wersję, naprawiłem i zbudowałem.

Pozdrawiam

Andrzej Mateja
amateja at pimpek.one.pl
-------------- next part --------------
Index: php-pecl-python.spec
===================================================================
RCS file: /cvsroot/SPECS/php-pecl-python.spec,v
retrieving revision 1.20
diff -u -r1.20 php-pecl-python.spec
--- php-pecl-python.spec	13 Feb 2007 08:06:40 -0000	1.20
+++ php-pecl-python.spec	27 Apr 2009 13:01:52 -0000
@@ -1,21 +1,19 @@
 # $Revision: 1.20 $, $Date: 2007/02/13 08:06:40 $
-# TODO
-# - doesn't build (can't find python)
 %define		_modname		python
 %define		_status			alpha
-Summary:	Embedded Python
-Summary(pl.UTF-8):	Python wbudowany w PHP
+Summary:	%{_modname} - embedded Python
+Summary(pl.UTF-8):	%{_modname} - Python wbudowany w PHP
 Name:		php-pecl-%{_modname}
-Version:	0.7.0
-Release:	1.1
-License:	PHP 2.02
+Version:	0.8.0
+Release:	1
+License:	MIT License
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5:	61554c04374a5fab83084e299284f255
+# Source0-md5:	bfe4236be15dc5095d1dfc6722f14c35
 URL:		http://pecl.php.net/package/python/
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
-BuildRequires:	python-devel
+BuildRequires:	python-devel < 1:2.6
 %{?requires_php_extension}
 Requires:	php-common >= 4:5.0.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,7 +41,8 @@
 %configure \
 	--with-%{_modname}
 
-%{__make} CPPFLAGS="-DHAVE_CONFIG_H -I%{_prefix}/X11R6/include/X11/"
+%{__make} \
+	CPPFLAGS="-DHAVE_CONFIG_H"
 
 %install
 rm -rf $RPM_BUILD_ROOT


More information about the pld-devel-pl mailing list