SPECS: python-PyQt4.spec - snap 20060221

charles charles at pld-linux.org
Wed Feb 22 07:19:28 CET 2006


Author: charles                      Date: Wed Feb 22 06:19:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- snap 20060221

---- Files affected:
SPECS:
   python-PyQt4.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/python-PyQt4.spec
diff -u SPECS/python-PyQt4.spec:1.3 SPECS/python-PyQt4.spec:1.4
--- SPECS/python-PyQt4.spec:1.3	Sun Feb 19 02:31:57 2006
+++ SPECS/python-PyQt4.spec	Wed Feb 22 07:19:23 2006
@@ -1,16 +1,17 @@
 # $Revision$, $Date$
 %define		module	PyQt4
-%define		_snap	20060216
+%define		snap	20060221
+%define		sipver	2:4.4-0.%{snap}
 
 Summary:	Python bindings for the Qt4 toolkit
 Summary(pl):	Dowiązania do toolkitu Qt4 dla Pythona
 Name:		python-%{module}
 Version:	4.0
-Release:	0.%{_snap}.1
+Release:	0.%{snap}.1
 License:	GPL v2
 Group:		Libraries/Python
-Source0:	http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/%{module}-gpl-snapshot-%{_snap}.tar.gz
-# Source0-md5:	2b4fd9f51f5d16c462c02d4f2cc095ea
+Source0:	http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/%{module}-gpl-snapshot-%{snap}.tar.gz
+# Source0-md5:	a4bdf1046c4ae686c7769fa3cfd0445f
 URL:		http://www.riverbankcomputing.co.uk/pyqt/index.php
 BuildRequires:	QtAssistant-devel
 BuildRequires:	QtGui-devel
@@ -19,13 +20,14 @@
 BuildRequires:	QtSql-devel
 BuildRequires:	QtSvg-devel
 BuildRequires:	QtXml-devel
-BuildRequires:	python-sip-devel >= 4.4
+BuildRequires:	python-sip-devel >= %{sipver}
 BuildRequires:	qt4-build
 BuildRequires:	qt4-qmake
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	sed >= 4.0
 %pyrequires_eq	python-libs
+Requires:	python-sip >= %{sipver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_noautoreqdep	libGL.so.1 libGLU.so.1
@@ -69,17 +71,17 @@
 Przykładowy kod demonstrujący jak używać PyQt4.
 
 %prep
-%setup -q -n %{module}-gpl-snapshot-%{_snap}
+%setup -q -n %{module}-gpl-snapshot-%{snap}
 %{__sed} -i 's,pyuic.py,pyuic.pyc,' configure.py
 
 %build
-export QMAKESPEC="%{_datadir}/qt4/mkspecs/default"
 echo 'yes' | python configure.py \
 	-c -j 3 \
 	-b %{_bindir} \
 	-d %{py_sitedir} \
-	-q %{_prefix} \
-	-v %{_sipfilesdir}
+	-q "%{_libdir}/qt4" \
+	-v %{_sipfilesdir} \
+	LIBDIR_QT="%{_libdir}"
 
 %{__make}
 
@@ -123,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/02/22 06:19:23  charles
+- snap 20060221
+
 Revision 1.3  2006/02/19 01:31:57  charles
 - s/pyuic.py/pyuic.pyc/ (called from pyuic4 wrapper)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-PyQt4.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list