Hello community,

here is the log from the commit of package python-qt4.2262 for 
openSUSE:13.1:Update checked in at 2013-11-28 18:05:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/python-qt4.2262 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.python-qt4.2262.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qt4.2262"

Changes:
--------
New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:13.1:Update/.python-qt4.2262.new/python-qt4.changes      
2013-11-28 18:05:57.000000000 +0100
@@ -0,0 +1,544 @@
+-------------------------------------------------------------------
+Fri Nov 15 06:06:14 UTC 2013 - jos...@mulloy.me
+
+- Fixed missing phonon support (bnc#848953)
+  * Patched configure.py so that it properly detects phonon 
+
+-------------------------------------------------------------------
+Wed Sep 11 06:51:06 UTC 2013 - tittiatc...@gmail.com
+
+- Build issues are resolved with the Python KDE bindings.
+  Python-sip is upgraded again to 4.15.1
+
+-------------------------------------------------------------------
+Fri Aug 30 18:33:52 UTC 2013 - tittiatc...@gmail.com
+
+- Revert back to 4.10.2 due to the downgrade of python-sip
+
+-------------------------------------------------------------------
+Tue Aug 27 03:37:03 UTC 2013 - ter...@gmail.com
+
+- Update to 4.10.3. This is a minor bug fix release. 
+
+-------------------------------------------------------------------
+Thu Jun 27 02:46:28 UTC 2013 - ter...@gmail.com
+
+- Update to 4.10.2
+  * Bug fixes.
+- Update to 4.10.1
+  * Added support for QtCore.pyqtSetPickleProtocol() and
+    QtCore.pyqtPickleProtocol() to set and get the protocol used to pickle
+    Python objects when serialising them for Qt.
+  * Added support for the --resource-suffix option to pyuic4.
+  * Added a new build system (configure-ng.py) which will be compatible with
+    SIP v5 and will eventually support cross-compilation.
+  * Added support for Qt v5.0.2.
+  * Bug fixes.
+- remove disable-rpaths.diff
+
+-------------------------------------------------------------------
+Mon Apr 15 09:00:28 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+-------------------------------------------------------------------
+Mon Mar  4 03:27:24 UTC 2013 - m...@suse.com
+
+- Update to 4.10
+  * The focus of this release is on support for the final release of Qt v5.0.
+- Update disable-rpaths.diff
+
+-------------------------------------------------------------------
+Sun Dec  9 14:07:17 UTC 2012 - lbeltr...@kde.org
+
+- Update to 4.9.6:
+  - Added the missing constBits() and constScanLine() methods to QImage.
+  - A QPoint can now be specified whenever a QPointF is expected.
+  - Added support for Qt v4.8.4.
+  - Added support for Qt v5.0-rc1 (QtCore, QtGui, QtHelp, QtNetwork, QtSql,
+    QtSvg, QtWebKit and QtXml only).
+  - Added the --no-deprecated option to configure.py.
+  - SIP v4.14.2 is now required.
+
+-------------------------------------------------------------------
+Mon Oct  1 05:48:14 UTC 2012 - ei...@heavensinferno.net
+
+- Update to the latest upstream version:
+  - Added support for Qt v4.8.3.
+  - Added support for Qt v5-beta1 (QtCore, QtGui, QtHelp, QtNetwork, QtSql,
+    QtSvg, QtWebKit and QtXml only).
+  - Implemented __str__ and __unicode__ for QChar.
+  - Added the missing QPointF operator*(qreal, QPointF).
+  - Added the customcompleter.py example.
+  - SIP v4.14 is now required.
+
+-------------------------------------------------------------------
+Thu Jul  5 09:39:46 UTC 2012 - dmuel...@suse.com
+
+- update to version 4.9.4:
+  * bug fixes
+- require the sip api version it was built against (bnc#768499)
+
+-------------------------------------------------------------------
+Fri Jun 22 03:07:29 UTC 2012 - m...@suse.com
+
+- Update to version 4.9.2
+  * Added support for Qt v4.8.2.
+  * Added support for Qt v5-alpha (QtCore and QtGui only).
+  * Added support for Python v3.3.
+  * bool(QPyNullVariant(...)) now returns False rather than True to mimic the 
behaviour of None.
+  * Exposed the pyqtBoundSignal type object in the QtCore module.
+  * Added the signal attribute to pyqtBoundSignal containing the signature 
that would be returned by SIGNAL().
+  * Added the optional package argument to uic.loadUi() to properly handle 
relative imports.
+  * pyuic4 now supports themed icons.
+  * Added the spreadsheet example from Hans-Peter Jansen.
+
+-------------------------------------------------------------------
+Mon Jun  4 08:36:27 UTC 2012 - idon...@suse.com
+
+- Update license 
+
+-------------------------------------------------------------------
+Mon May 28 03:34:49 UTC 2012 - m...@suse.com
+
+- Fix files list 
+  * Added pyqtconfig.py back
+
+-------------------------------------------------------------------
+Fri May 25 08:47:18 UTC 2012 - toddrme2...@gmail.com
+
+- Update to version 4.9.1
+  * Bugfixes
+- Spec file cleanups
+- Fixed licenses
+
+-------------------------------------------------------------------
+Sun Dec 25 13:45:11 UTC 2011 - idon...@suse.com
+
+- Update to version 4.9
+  * Fixed %PickleCode for QByteArray for Python v3.
+  * Completed the support for QPainter.drawPixmapFragments().
+  * pyuic4 now makes sure that a module implementing a resource file is only
+    imported once.
+  * Fixed a regression in the handling of translated strings by pyuic4.
+  * QDBusArgument now handles QStringList explicitly so that it can be used 
with
+    QString v2 API.
+  * Renamed QDBusArgument.write() to add().
+  * Changed QDBusArgument.write() to use a QMetaType.Type to specify the 
integer
+    sub-type to be consistent with beginArray() and beginMap().
+  * Implemented QDBusArgument.write().
+  * DBus dicts are now demarshalled to Python dicts.
+  * Added support for demarshalling DBus basic types, variants and arrays.
+  * QDBusObjectPath, QDBusSignal and QDBusVariant instances are now 
demarshalled
+    automatically.
+  * DBus structures are now demarshalled to tuples.
+  * Added the missing cornerWidget() and setCornerWidget() methods to QMenuBar.
+- See include ChangeLog for complete change list.
+
+-------------------------------------------------------------------
+Fri Nov 25 11:00:27 UTC 2011 - cgiboude...@gmx.com
+
+- Use %make_install
+
+-------------------------------------------------------------------
+Mon Nov 21 17:52:12 UTC 2011 - cgiboude...@gmx.com
+
+- Update to 4.8.6, see 
http://riverbankcomputing.com/static/Downloads/PyQt4/ChangeLog
+- Spec cleanup
+
+
+-------------------------------------------------------------------
+Tue Oct 18 16:40:00 UTC 2011 - jdmul...@gmail.com
+
+- Added phonon-devel to BuildRequires in python-qt4.spec
+  * Adds phonon support to python-qt4 which is required by programs like 
OpenLP.org
+
+-------------------------------------------------------------------
+Tue Aug 30 12:47:14 UTC 2011 - idon...@suse.com
+
+- Remove check for obsolete openSUSE versions.
+
+-------------------------------------------------------------------
+Mon Aug 29 18:41:49 UTC 2011 - ter...@gmail.com
+
+- Add python-qt4-utils package to avoid conflicts between python2 
+  and python3 versions
+
+-------------------------------------------------------------------
+Mon Aug 22 11:11:58 UTC 2011 - idon...@novell.com
+
+- Unbreak -debuginfo package creation 
+
+-------------------------------------------------------------------
+Tue Aug 16 00:59:00 UTC 2011 - ter...@gmail.com
+
+- update to 4.8.5
+  -This is a minor bug fix release. 
+
+-------------------------------------------------------------------
+Tue May  3 19:21:44 UTC 2011 - gre...@suse.de
+
+- fix for x86-64 issue to enable the package to properly build.
+
+-------------------------------------------------------------------
+Mon May  2 18:56:41 CEST 2011 - dmuel...@suse.de
+
+- update to 4.8.4:
+ * Added support for Qt v4.7.2.
+ * Added limited support for setEventFilter() and filterEvent() to 
QAbstractEventDispatcher.
+ * pyrcc4 will now compress by default to match the behaviour of rcc.
+ * Removed QTouchEventSequence as its C++ API makes it impossible to be used 
from Python.
+
+-------------------------------------------------------------------
+Fri Feb 11 10:31:22 UTC 2011 - co...@novell.com
+
+- refresh patches
+
+-------------------------------------------------------------------
++++ 347 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.python-qt4.2262.new/python-qt4.changes
New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:13.1:Update/.python-qt4.2262.new/python3-qt4.changes     
2013-11-28 18:05:57.000000000 +0100
@@ -0,0 +1,177 @@
+-------------------------------------------------------------------
+Fri Nov 15 06:06:14 UTC 2013 - jos...@mulloy.me
+
+- Fixed missing phonon support (bnc#848953)
+  * Patched configure.py so that it properly detects phonon
+
+-------------------------------------------------------------------
+Wed Sep 11 06:52:00 UTC 2013 - tittiatc...@gmail.com
+
+- Build issues are resolved with the Python KDE bindings. 
+  Python-sip is upgraded again to 4.15.1
+
+-------------------------------------------------------------------
+Fri Aug 30 18:34:27 UTC 2013 - tittiatc...@gmail.com
+
+- Revert back to 4.10.2 due to the downgrade of python-sip
+
+-------------------------------------------------------------------
+Tue Aug 27 03:37:35 UTC 2013 - ter...@gmail.com
+
+- Update to 4.10.3. This is a minor bug fix release. 
+
+-------------------------------------------------------------------
+Thu Jun 27 02:48:46 UTC 2013 - ter...@gmail.com
+
+- Update to 4.10.2
+  * Bug fixes.
+- Update to 4.10.1
+  * Added support for QtCore.pyqtSetPickleProtocol() and
+    QtCore.pyqtPickleProtocol() to set and get the protocol used to pickle
+    Python objects when serialising them for Qt.
+  * Added support for the --resource-suffix option to pyuic4.
+  * Added a new build system (configure-ng.py) which will be compatible with
+    SIP v5 and will eventually support cross-compilation.
+  * Added support for Qt v5.0.2.
+  * Bug fixes. 
+
+-------------------------------------------------------------------
+Mon Apr 15 09:00:49 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+-------------------------------------------------------------------
+Mon Mar  4 03:27:59 UTC 2013 - m...@suse.com
+
+- Update to 4.10
+  * The focus of this release is on support for the final release of Qt v5.0. 
+- Update disable-rpaths.diff
+
+-------------------------------------------------------------------
+Sun Dec  9 14:08:20 UTC 2012 - lbeltr...@kde.org
+
+- Update to 4.9.6:
+  - Added the missing constBits() and constScanLine() methods to QImage.
+  - A QPoint can now be specified whenever a QPointF is expected.
+  - Added support for Qt v4.8.4.
+  - Added support for Qt v5.0-rc1 (QtCore, QtGui, QtHelp, QtNetwork, QtSql,
+    QtSvg, QtWebKit and QtXml only).
+  - Added the --no-deprecated option to configure.py.
+  - SIP v4.14.2 is now required.
+
+-------------------------------------------------------------------
+Thu Nov 22 14:18:55 UTC 2012 - toddrme2...@gmail.com
+
+- Removed openSUSE 11.4 spec file workarounds
+
+-------------------------------------------------------------------
+Mon Oct  1 05:49:09 UTC 2012 - ei...@heavensinferno.net
+
+- Updated to the latest upstream version:
+
+  - Added support for Qt v4.8.3.
+  - Added support for Qt v5-beta1 (QtCore, QtGui, QtHelp, QtNetwork, QtSql,
+    QtSvg, QtWebKit and QtXml only).
+  - Implemented __str__ and __unicode__ for QChar.
+  - Added the missing QPointF operator*(qreal, QPointF).
+  - Added the customcompleter.py example.
+  - SIP v4.14 is now required.
+
+-------------------------------------------------------------------
+Thu Jul  5 09:37:12 UTC 2012 - dmuel...@suse.com
+
+- require the sip version it built against (bnc#768499)
+- Update to version 4.9.4:
+  * bug fixes
+
+-------------------------------------------------------------------
+Fri Jun 22 03:08:34 UTC 2012 - m...@suse.com
+
+- Update to version 4.9.2
+  * Added support for Qt v4.8.2.
+  * Added support for Qt v5-alpha (QtCore and QtGui only).
+  * Added support for Python v3.3.
+  * bool(QPyNullVariant(...)) now returns False rather than True to mimic the 
behaviour of None.
+  * Exposed the pyqtBoundSignal type object in the QtCore module.
+  * Added the signal attribute to pyqtBoundSignal containing the signature 
that would be returned by SIGNAL().
+  * Added the optional package argument to uic.loadUi() to properly handle 
relative imports.
+  * pyuic4 now supports themed icons.
+  * Added the spreadsheet example from Hans-Peter Jansen.
+
+-------------------------------------------------------------------
+Mon Jun  4 08:36:33 UTC 2012 - idon...@suse.com
+
+- Update license 
+
+-------------------------------------------------------------------
+Fri May 25 08:47:18 UTC 2012 - toddrme2...@gmail.com
+
+- Update to version 4.9.1
+  * Bugfixes
+- Spec file cleanups
+- Fixed licenses
+
+-------------------------------------------------------------------
+Sun Dec 25 13:45:11 UTC 2011 - idon...@suse.com
+
+- Update to version 4.9
+  * Fixed %PickleCode for QByteArray for Python v3.
+  * Completed the support for QPainter.drawPixmapFragments().
+  * pyuic4 now makes sure that a module implementing a resource file is only
+    imported once.
+  * Fixed a regression in the handling of translated strings by pyuic4.
+  * QDBusArgument now handles QStringList explicitly so that it can be used 
with
+    QString v2 API.
+  * Renamed QDBusArgument.write() to add().
+  * Changed QDBusArgument.write() to use a QMetaType.Type to specify the 
integer
+    sub-type to be consistent with beginArray() and beginMap().
+  * Implemented QDBusArgument.write().
+  * DBus dicts are now demarshalled to Python dicts.
+  * Added support for demarshalling DBus basic types, variants and arrays.
+  * QDBusObjectPath, QDBusSignal and QDBusVariant instances are now 
demarshalled
+    automatically.
+  * DBus structures are now demarshalled to tuples.
+  * Added the missing cornerWidget() and setCornerWidget() methods to QMenuBar.
+- See include ChangeLog for complete change list.
+
+-------------------------------------------------------------------
+Fri Nov 25 11:00:31 UTC 2011 - cgiboude...@gmx.com
+
+- Use %make_install
+
+-------------------------------------------------------------------
+Mon Nov 21 17:52:18 UTC 2011 - cgiboude...@gmx.com
+
+- Update to 4.8.6, see 
http://riverbankcomputing.com/static/Downloads/PyQt4/ChangeLog
+- Define python3_sitearch for Opensuse < 12.1
+- Spec cleanup
+
+
+-------------------------------------------------------------------
+Tue Oct 18 16:40:00 UTC 2011 - jdmul...@gmail.com
+
+- Added phonon-devel to BuildRequires in python3-qt4.spec
+  * Adds phonon support to python3-qt4 which is required by programs like 
OpenLP.org
+
+-------------------------------------------------------------------
+Tue Aug 30 12:47:20 UTC 2011 - idon...@suse.com
+
+- Remove check for obsolete openSUSE versions.
+
+-------------------------------------------------------------------
+Mon Aug 29 18:41:49 UTC 2011 - ter...@gmail.com
+
+- Add python-qt4-utils package to avoid conflicts between python2 
+  and python3 versions
+
+-------------------------------------------------------------------
+Mon Aug 22 11:13:02 UTC 2011 - idon...@novell.com
+
+- Unbreak -debuginfo package creation  
+
+-------------------------------------------------------------------
+Tue Aug 16 00:59:00 UTC 2011 - ter...@gmail.com
+
+- update to 4.8.5
+  -This is a minor bug fix release. 
+- add python3-qt4.spec

New:
----
  PyQt-x11-gpl-4.10.3.tar.gz
  build-compare.diff
  fix-phonon.patch
  link-python.diff
  link-python3.diff
  python-qt4.changes
  python-qt4.spec
  python3-qt4.changes
  python3-qt4.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-qt4.spec ++++++
#
# spec file for package python-qt4
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python-qt4
Version:        4.10.3
Release:        0
Summary:        PyQt - python bindings for Qt 4
License:        SUSE-GPL-2.0-with-FLOSS-exception or GPL-3.0 or SUSE-NonFree
Group:          Development/Libraries/Python
%define rversion %{version}
Url:            http://www.riverbankcomputing.com/software/pyqt/intro
Source0:        
http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-%{rversion}/PyQt-x11-gpl-%{rversion}.tar.gz
Patch0:         link-python.diff
Patch2:         build-compare.diff
Patch3:         fix-phonon.patch
BuildRequires:  dbus-1-python-devel
BuildRequires:  fdupes
BuildRequires:  libQtWebKit-devel
BuildRequires:  libqt4-devel
BuildRequires:  phonon-devel
BuildRequires:  python-devel
BuildRequires:  python-sip-devel >= 4.15.1
%requires_ge    dbus-1-python
%requires_ge    libqt4-x11
%if 0%{?sles_version} == 10
Requires:       python-elementtree
%endif
%py_requires
%requires_python_sip_api
%if 0%{?suse_version} <= 1110
%{!?python_sitelib:  %global python_sitelib  %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif

%description
PyQt is a set of Python bindings for Trolltech's Qt application
framework and runs on all platforms supported by Qt including Windows,
MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt
v4; and the older PyQt v3 supports Qt v3 and earlier. The bindings are
implemented as a set of Python modules and contain over 300 classes and
nearly 6,000 functions and methods.

%package devel
Summary:        PyQt - devel part of python bindings for Qt 4
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
Requires:       libqt4-devel
Requires:       python-qt4-utils
Requires:       python-sip-devel

%description devel
PyQt is a set of Python bindings for Trolltech's Qt application
framework and runs on all platforms supported by Qt including Windows,
MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt
v4; and the older PyQt v3 supports Qt v3 and earlier. The bindings are
implemented as a set of Python modules and contain over 300 classes and
nearly 6,000 functions and methods.

This package contains all the developer tools you need to create your
own PyQt applications.

%package utils
Summary:        Common files for PyQt4 for python2 and python3
Group:          Development/Libraries/Python

%description utils
This package is needed to avoid conflicts between python-qt4 and
python3-qt4 packages. It contains files common to both of them i.e.
sip files used to generate bindings and utilities pylupdate4 and pyrcc4

%prep
%setup -q -n PyQt-x11-gpl-%{rversion}
%patch0 -p1
%patch2
%patch3 -p1

%build
export CXXFLAGS="%{optflags}"
export CFLAGS="%{optflags}"
python configure.py --confirm-license --qsci-api -u

make %{?_smp_mflags}

%install
%make_install INSTALL_ROOT=%{buildroot}
sed -i 's/The "doc" directory/The "doc" directory of package %{name}-devel/' 
README
DOCDIR=%{buildroot}%{_docdir}/%{name}-devel
mkdir -p $DOCDIR
cp -pr NEWS THANKS contrib doc examples $DOCDIR
 # create hardlinks for duplicate files
%fdupes -s $DOCDIR

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README
%{python_sitearch}/PyQt4/
%exclude %{python_sitearch}/PyQt4/pyqtconfig.py
%{python_sitelib}/dbus/mainloop/qt.so

%files devel
%defattr(-,root,root)
%{_bindir}/pyuic4
%{_datadir}/qt4/qsci/
%{_docdir}/python-qt4-devel
%{_libdir}/qt4/plugins/designer/libpyqt4.so
%{python_sitearch}/PyQt4/pyqtconfig.py

%files utils
%defattr(-,root,root)
%{_bindir}/pylupdate4
%{_bindir}/pyrcc4
%{_datadir}/sip/PyQt4

%changelog
++++++ python3-qt4.spec ++++++
#
# spec file for package python3-qt4
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-qt4
Version:        4.10.3
Release:        0
Summary:        PyQt - python bindings for Qt 4
License:        SUSE-GPL-2.0-with-FLOSS-exception or GPL-3.0 or SUSE-NonFree
Group:          Development/Libraries/Python
%define rversion %{version}
Url:            http://www.riverbankcomputing.com/software/pyqt/intro
Source0:        
http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-%{rversion}/PyQt-x11-gpl-%{rversion}.tar.gz
Patch0:         link-python3.diff
Patch2:         build-compare.diff
Patch3:         fix-phonon.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes
BuildRequires:  libQtWebKit-devel
BuildRequires:  libqt4-devel
BuildRequires:  phonon-devel
BuildRequires:  python3-sip-devel >= 4.15.1
%requires_ge    dbus-1-python
%requires_ge    libqt4-x11
Requires:       python(abi) = %{py3_ver}
%requires_python3_sip_api

%description
PyQt is a set of Python bindings for Trolltech's Qt application
framework and runs on all platforms supported by Qt including Windows,
MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt
v4; and the older PyQt v3 supports Qt v3 and earlier. The bindings are
implemented as a set of Python modules and contain over 300 classes and
nearly 6,000 functions and methods.

%package devel
Summary:        PyQt - devel part of python bindings for Qt 4
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
Requires:       libqt4-devel
Requires:       python-qt4-utils
Requires:       python3-sip-devel

%description devel
PyQt is a set of Python bindings for Trolltech's Qt application
framework and runs on all platforms supported by Qt including Windows,
MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt
v4; and the older PyQt v3 supports Qt v3 and earlier. The bindings are
implemented as a set of Python modules and contain over 300 classes and
nearly 6,000 functions and methods.

This package contains all the developer tools you need to create your
own PyQt applications.

%prep
%setup -q -n PyQt-x11-gpl-%{rversion}
%patch0 -p1
%patch2
%patch3 -p1

%build
export CXXFLAGS="%{optflags}"
export CFLAGS="%{optflags}"
python3 configure.py --confirm-license --qsci-api -u

make %{?_smp_mflags}

%install
%make_install INSTALL_ROOT=%{buildroot}
# pylupdate4 and pyrcc4 are in python-qt4-utils
rm %{buildroot}%{_bindir}/pylupdate4 %{buildroot}%{_bindir}/pyrcc4
rm -rf %{buildroot}%{_datadir}/sip/PyQt4
mv %{buildroot}%{_bindir}/pyuic4 %{buildroot}%{_bindir}/py3uic4
mv %{buildroot}%{_datadir}/qt4/qsci/api/python 
%{buildroot}%{_datadir}/qt4/qsci/api/python3
mv %{buildroot}%{_libdir}/qt4/plugins/designer/libpyqt4.so 
%{buildroot}%{_libdir}/qt4/plugins/designer/libpy3qt4.so
sed -i 's/The "doc" directory/The "doc" directory of package %{name}-devel/' 
README
DOCDIR=%{buildroot}%{_docdir}/%{name}-devel
mkdir -p $DOCDIR
cp -pr NEWS THANKS contrib doc examples $DOCDIR
 # create hardlinks for duplicate files
%fdupes -s $DOCDIR

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README
%{python3_sitearch}/PyQt4/
%exclude %{python3_sitearch}/PyQt4/pyqtconfig.py

%files devel
%defattr(-,root,root)
%{_bindir}/py3uic4
%{_datadir}/qt4/qsci/
%{_docdir}/python3-qt4-devel
%{_libdir}/qt4/plugins/designer/libpy3qt4.so
%{python3_sitearch}/PyQt4/pyqtconfig.py

%changelog
++++++ build-compare.diff ++++++
Index: pyuic/uic/__init__.py
===================================================================
--- pyuic/uic/__init__.py.orig  2011-01-23 11:08:28.000000000 +0100
+++ pyuic/uic/__init__.py       2013-07-09 23:40:52.000000000 -0400
@@ -47,8 +47,7 @@
 
 # Form implementation generated from reading ui file '%s'
 #
-# Created: %s
-#      by: PyQt4 UI code generator %s
+# Created by: PyQt4 UI code generator %s
 #
 # WARNING! All changes made in this file will be lost!
 
@@ -170,7 +169,7 @@
 
     indenter.indentwidth = indent
 
-    pyfile.write(_header % (uifname, ctime(), PYQT_VERSION_STR))
+    pyfile.write(_header % (uifname, PYQT_VERSION_STR))
 
     winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports, 
resource_suffix)
 
++++++ fix-phonon.patch ++++++
Index: PyQt-x11-gpl-4.10.3/configure.py
===================================================================
--- PyQt-x11-gpl-4.10.3.orig/configure.py
+++ PyQt-x11-gpl-4.10.3/configure.py
@@ -1278,6 +1278,8 @@ def compile_qt_program(name, mname, extr
     qt = [mname]
     if mname in ("QtAssistant", "QtHelp", "QtOpenGL", "QtWebKit"):
         qt.append("QtCore")
+    if mname in ("phonon"):
+        qt.append("QtGui")
 
     makefile = sipconfig.ProgramMakefile(sipcfg, console=1, qt=qt, warnings=0,
             opengl=opengl, debug=opts.debug, arch=sipcfg.arch,
++++++ link-python.diff ++++++
Index: PyQt-x11-gpl-4.8.3/configure.py
===================================================================
--- PyQt-x11-gpl-4.8.3.orig/configure.py        2011-01-23 11:08:20.000000000 
+0100
+++ PyQt-x11-gpl-4.8.3/configure.py     2011-02-11 11:31:07.548439367 +0100
@@ -1274,6 +1274,8 @@ def add_makefile_extras(makefile, extra_
     if extra_libs:
         makefile.extra_libs.extend(extra_libs)
 
+    for lib in os.popen("python-config --libs").read().split():
+        makefile.extra_libs.append(lib.replace('-l', ''))
 
 def check_vendorid():
     """See if the VendorID library and include file can be found.
++++++ link-python3.diff ++++++
Index: PyQt-x11-gpl-4.8.3/configure.py
===================================================================
--- PyQt-x11-gpl-4.8.3.orig/configure.py        2011-01-23 11:08:20.000000000 
+0100
+++ PyQt-x11-gpl-4.8.3/configure.py     2011-02-11 11:31:07.548439367 +0100
@@ -1274,6 +1274,8 @@ def add_makefile_extras(makefile, extra_
     if extra_libs:
         makefile.extra_libs.extend(extra_libs)
 
+    for lib in os.popen("python3-config --libs").read().split():
+        makefile.extra_libs.append(lib.replace('-l', ''))
 
 def check_vendorid():
     """See if the VendorID library and include file can be found.
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to