# - better place for %{py_sitedir}/dbus{,/mainloop} dirs ?
%define module PyQt4
-%define sipver 2:4.8.1
+%define sipver 2:4.8.2
Summary: Python bindings for the Qt4 toolkit
Summary(pl.UTF-8): Dowiązania do toolkitu Qt4 dla Pythona
Name: python-%{module}
-Version: 4.5.1
-Release: 2
+Version: 4.5.4
+Release: 1
License: GPL v2
Group: Libraries/Python
Source0: http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-%{version}.tar.gz
-# Source0-md5: 80e877799ae8fb82f137c43fda18bff5
+# Source0-md5: b721266d14c450dd7045025e042819ec
Patch0: %{name}-dbuspath.patch
Patch1: %{name}-64bit.patch
-Patch2: %{name}-configure.patch
URL: http://www.riverbankcomputing.com/software/pyqt/
BuildRequires: QtAssistant-devel
BuildRequires: QtDesigner-devel
%setup -q -n PyQt-x11-gpl-%{version}
%{__sed} -i 's,pyuic.py,pyuic.pyc,' configure.py
# small hack to build for shared libs - symbol QT_SHARED not defined anymore?
-%{__sed} -i 's/qt_shared = lines\[8\]/qt_shared = "y"/' configure.py
+%{__sed} -i 's/qt_shared = lines\[.*\]/qt_shared = "y"/' configure.py
%patch0 -p1
%patch1 -p1
-%patch2 -p0
%build
echo 'yes' | python configure.py \