############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = pyQt version = 4.8.1 release = 1 epoch = 0 groups = Development/Languages url = http://www.riverbankcomputing.com/software/pyqt/ license = GPLv3 or GPLv2 with exceptions summary = Python bindings for Qt4. description Python bindings for Qt4 end source_dl = sources = PyQt-x11-gpl-%{version}.tar.gz build requires gcc-c++ libXext-devel python-devel qt-devel sip-devel end DIR_APP = %{DIR_SRC}/PyQt-x11-gpl-%{version} build python configure.py \ --assume-shared \ --confirm-license \ --verbose make %{PARALLELISMFLAGS} end make_install_targets += \ INSTALL_ROOT=%{BUILDROOT} install_cmds # Remove python3 port rm -rfv %{BUILDROOT}/usr/lib/python*/site-packages/PyQt4/uic/port_v3 end end packages package %{name} requires sip end end package %{name}-devel template DEVEL files /usr/bin /usr/lib/python*/site-packages/PyQt4/pyqtconfig* /usr/lib/python*/site-packages/PyQt4/uic/pyuic.py* /usr/share/sip end end end