[PyQt] Makefile install path macros

Hans-Peter Jansen hpj at urpla.net
Mon Jul 6 20:44:30 BST 2009


Hi Phil,

I'm preparing sip/PyQt builds in openSUSEs build service:

http://download.opensuse.org/repositories/home:/frispete:/branches:/KDE:/Qt/

in order to split the packages into essential and -devel parts.
 
While at it, install the missing elements: doc and designer plugin. To 
fix the latter, I needed this make install invocation:

make DESTDIR=$RPM_BUILD_ROOT INSTALL_ROOT=$RPM_BUILD_ROOT install

Looks, like most elements use DESTDIR, but designer plugin uses 
INSTALL_ROOT, which is a bit arkward, isn't it?

I made the split as follows, could you please take a brief look, 
if that's okay: (would you split uic?)

python-sip-4.8.1-2.i586.rpm:
-rwxr-xr-x    1 root    root            66512 Jul  6 18:31 /usr/lib/python2.6/site-packages/sip.so
-rw-r--r--    1 root    root            84912 Jul  6 18:31 /usr/lib/python2.6/site-packages/sipconfig.py
drwxr-xr-x    2 root    root                0 Jul  6 18:31 /usr/share/doc/packages/python-sip
-rw-r--r--    1 root    root              186 Jul  6 18:31 /usr/share/doc/packages/python-sip/README

python-sip-devel-4.8.1-2.i586.rpm:
-rwxr-xr-x    1 root    root           256687 Jul  6 18:31 /usr/bin/sip
-rw-r--r--    1 root    root            43063 Jul  6 18:31 /usr/include/python2.6/sip.h
-rw-r--r--    1 root    root             3332 Jul  6 18:31 /usr/lib/python2.6/site-packages/sipdistutils.py
drwxr-xr-x    2 root    root                0 Jul  6 18:31 /usr/share/doc/packages/python-sip-devel
-rw-r--r--    1 root    root           146075 Jun 16 10:35 /usr/share/doc/packages/python-sip-devel/ChangeLog
-rw-r--r--    1 root    root             2732 Jun 16 10:35 /usr/share/doc/packages/python-sip-devel/LICENSE
-rw-r--r--    1 root    root            14041 Jun 16 10:35 /usr/share/doc/packages/python-sip-devel/NEWS
drwxr-xr-x    2 root    root                0 Jun 16 10:35 /usr/share/doc/packages/python-sip-devel/doc
drwxr-xr-x    2 root    root                0 Jun 16 10:35 /usr/share/doc/packages/python-sip-devel/doc/html
[...]
drwxr-xr-x    2 root    root                0 Jul  6 18:31 /usr/share/sip

python-qt4-4.5.1-2.i586.rpm 
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4
-rwxr-xr-x    1 root    root             5780 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/Qt.so
-rwxr-xr-x    1 root    root            18988 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtAssistant.so
-rwxr-xr-x    1 root    root          1765136 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtCore.so
-rwxr-xr-x    1 root    root           369684 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtDesigner.so
-rwxr-xr-x    1 root    root          7972400 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtGui.so
-rwxr-xr-x    1 root    root           127172 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtHelp.so
-rwxr-xr-x    1 root    root           548808 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtNetwork.so
-rwxr-xr-x    1 root    root           152988 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtOpenGL.so
-rwxr-xr-x    1 root    root           163000 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtScript.so
-rwxr-xr-x    1 root    root            19484 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtScriptTools.so
-rwxr-xr-x    1 root    root           310404 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtSql.so
-rwxr-xr-x    1 root    root           116552 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtSvg.so
-rwxr-xr-x    1 root    root            23240 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtTest.so
-rwxr-xr-x    1 root    root           228460 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtWebKit.so
-rwxr-xr-x    1 root    root           262956 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtXml.so
-rwxr-xr-x    1 root    root           132072 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/QtXmlPatterns.so
-rw-r--r--    1 root    root             1619 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/__init__.py
-rw-r--r--    1 root    root            13289 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/pyqtconfig.py
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler
-rw-r--r--    1 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/__init__.py
-rw-r--r--    1 root    root             2479 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/compiler.py
-rw-r--r--    1 root    root              788 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/indenter.py
-rw-r--r--    1 root    root              420 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/misc.py
-rw-r--r--    1 root    root             1067 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/proxy_type.py
-rw-r--r--    1 root    root             3672 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/qobjectcreator.py
-rw-r--r--    1 root    root            11009 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/qtproxies.py
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Loader
-rw-r--r--    1 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Loader/__init__.py
-rw-r--r--    1 root    root              858 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Loader/loader.py
-rw-r--r--    1 root    root             2043 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/Loader/qobjectcreator.py
-rw-r--r--    1 root    root             3270 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py
-rw-r--r--    1 root    root             2899 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/driver.py
-rw-r--r--    1 root    root              215 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/exceptions.py
-rw-r--r--    1 root    root             3086 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/icon_cache.py
-rw-r--r--    1 root    root             2766 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/objcreator.py
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2
-rw-r--r--    1 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/__init__.py
-rw-r--r--    1 root    root               49 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/encode_utf8.py
-rw-r--r--    1 root    root              533 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/invoke.py
-rw-r--r--    1 root    root              521 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/load_plugin.py
-rw-r--r--    1 root    root              109 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/proxy_base.py
-rw-r--r--    1 root    root              124 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/string_io.py
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3
-rw-r--r--    1 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3/__init__.py
-rw-r--r--    1 root    root              106 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3/encode_utf8.py
-rw-r--r--    1 root    root              541 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3/invoke.py
-rw-r--r--    1 root    root              523 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3/load_plugin.py
-rw-r--r--    1 root    root              101 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3/proxy_base.py
-rw-r--r--    1 root    root               54 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/port_v3/string_io.py
-rw-r--r--    1 root    root            11649 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/properties.py
-rw-r--r--    1 root    root             1549 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/pyuic.py
-rw-r--r--    1 root    root            25311 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins
-rw-r--r--    1 root    root              778 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/phonon.py
-rw-r--r--    1 root    root              733 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qaxcontainer.py
-rw-r--r--    1 root    root              729 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qscintilla.py
-rw-r--r--    1 root    root              728 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qtwebkit.py
-rw-r--r--    1 root    root              946 Jul  6 21:23 /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qwt.py
-rwxr-xr-x    1 root    root            18728 Jul  6 21:23 /usr/lib/python2.6/site-packages/dbus/mainloop/qt.so
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/share/doc/packages/python-qt4
-rw-r--r--    1 root    root             1773 Jul  6 21:23 /usr/share/doc/packages/python-qt4/README

python-qt4-devel-4.5.1-2.i586.rpm:
-rwxr-xr-x    1 root    root           210035 Jul  6 21:23 /usr/bin/pylupdate4
-rwxr-xr-x    1 root    root            64474 Jul  6 21:23 /usr/bin/pyrcc4
-rwxr-xr-x    1 root    root               93 Jul  6 21:23 /usr/bin/pyuic4
-rwxr-xr-x    1 root    root            30768 Jul  6 21:23 /usr/lib/qt4/plugins/designer/libpythonplugin.so
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/share/doc/packages/python-qt4-devel
-rw-r--r--    1 root    root           196864 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/ChangeLog
-rw-r--r--    1 root    root             8214 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/NEWS
-rw-r--r--    1 root    root              365 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/THANKS
drwxr-xr-x    2 root    root                0 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/contrib
[...]
drwxr-xr-x    2 root    root                0 Jun 16 10:38 /usr/share/doc/packages/python-qt4-devel/doc
drwxr-xr-x    2 root    root                0 Jun 16 10:39 /usr/share/doc/packages/python-qt4-devel/doc/html
[...]
-rw-r--r--    1 root    root           122461 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/doc/pyqt4ref.html
-rw-r--r--    1 root    root            70292 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/doc/pyqt4ref.txt
drwxr-xr-x    2 root    root                0 Jun 16 10:37 /usr/share/doc/packages/python-qt4-devel/examples
[...]
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/share/sip
drwxr-xr-x    2 root    root                0 Jul  6 21:23 /usr/share/sip/PyQt4
[...]


Pete


More information about the PyQt mailing list