|
@@ -3,19 +3,14 @@
|
|
%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
|
%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
|
%global sip_ver %(sip -V 2>/dev/null | cut -d' ' -f1 | cut -d- -f1)
|
|
%global sip_ver %(sip -V 2>/dev/null | cut -d' ' -f1 | cut -d- -f1)
|
|
|
|
|
|
-# ugly hack for Qt4 version auto-detection -- inagaki
|
|
+# Qt4 version auto-detection -- inagaki
|
|
-%define _qt4_notfound %(eval "pkg-config --exists Qt"; echo $?)
|
|
+%define qtver %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo 4.6.1)
|
|
-%if %{_qt4_notfound}
|
|
|
|
-%define qtver 4.6.1
|
|
|
|
-%else
|
|
|
|
-%define qtver %(pkg-config --modversion QtCore)
|
|
|
|
-%endif
|
|
|
|
%define qt4qmake %{_libdir}/qt-%{qtver}/bin/qmake
|
|
%define qt4qmake %{_libdir}/qt-%{qtver}/bin/qmake
|
|
|
|
|
|
Summary: Python bindings for Qt4
|
|
Summary: Python bindings for Qt4
|
|
Name: PyQt4
|
|
Name: PyQt4
|
|
-Version: 4.7
|
|
+Version: 4.7.3
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
# GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
|
|
# GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
|
|
License: GPLv3 or GPLv2 with exceptions
|
|
License: GPLv3 or GPLv2 with exceptions
|
|
@@ -28,7 +23,7 @@ Patch2: PyQt-x11-gpl-4.5.2-QT_SHARED.patch
|
|
Patch4: PyQt-x11-gpl-4.5.1-pyuic_shebang.patch
|
|
Patch4: PyQt-x11-gpl-4.5.1-pyuic_shebang.patch
|
|
|
|
|
|
# Vine Patch
|
|
# Vine Patch
|
|
-Patch100: PyQt-x11-gpl-4.7-phononpath_vine.patch
|
|
+Patch100: PyQt-x11-gpl-4.7.3-phononpath_vine.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
#BuildRequires: chrpath
|
|
#BuildRequires: chrpath
|
|
@@ -127,6 +122,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 09 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+- updated Patch100
|
|
|
|
+
|
|
* Fri Feb 05 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7-2
|
|
* Fri Feb 05 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7-2
|
|
- updated Patch100 to build phonon module
|
|
- updated Patch100 to build phonon module
|
|
|
|
|