]>
Commit | Line | Data |
---|---|---|
fe1cf40d | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
fe1cf40d MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = pyQt |
f3a78370 | 7 | version = 4.8.6 |
cc99ea7f | 8 | release = 2 |
802ea3af | 9 | epoch = 0 |
fe1cf40d | 10 | |
802ea3af MT |
11 | groups = Development/Languages |
12 | url = http://www.riverbankcomputing.com/software/pyqt/ | |
13 | license = GPLv3 or GPLv2 with exceptions | |
14 | summary = Python bindings for Qt4. | |
fe1cf40d | 15 | |
802ea3af | 16 | description |
fe1cf40d | 17 | Python bindings for Qt4 |
802ea3af | 18 | end |
fe1cf40d | 19 | |
f3a78370 | 20 | source_dl = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/ |
802ea3af | 21 | sources = PyQt-x11-gpl-%{version}.tar.gz |
8b8ccb55 | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | gcc-c++ | |
2de87f7b | 26 | libX11-devel |
802ea3af MT |
27 | libXext-devel |
28 | python-devel | |
29 | qt-devel | |
f3a78370 | 30 | sip-devel>=4.13 |
802ea3af | 31 | end |
8b8ccb55 | 32 | |
802ea3af | 33 | DIR_APP = %{DIR_SRC}/PyQt-x11-gpl-%{version} |
fe1cf40d | 34 | |
802ea3af MT |
35 | build |
36 | python configure.py \ | |
37 | --assume-shared \ | |
38 | --confirm-license \ | |
39 | --verbose | |
fe1cf40d | 40 | |
802ea3af MT |
41 | make %{PARALLELISMFLAGS} |
42 | end | |
fe1cf40d | 43 | |
802ea3af MT |
44 | make_install_targets += \ |
45 | INSTALL_ROOT=%{BUILDROOT} | |
fe1cf40d | 46 | |
802ea3af MT |
47 | install_cmds |
48 | # Remove python3 port | |
49 | rm -rfv %{BUILDROOT}/usr/lib/python*/site-packages/PyQt4/uic/port_v3 | |
50 | end | |
51 | end | |
aa3b09af | 52 | |
802ea3af MT |
53 | packages |
54 | package %{name} | |
55 | requires | |
56 | sip | |
57 | end | |
58 | end | |
59 | ||
60 | package %{name}-devel | |
61 | template DEVEL | |
62 | ||
63 | files | |
64 | /usr/bin | |
65 | /usr/lib/python*/site-packages/PyQt4/pyqtconfig* | |
66 | /usr/lib/python*/site-packages/PyQt4/uic/pyuic.py* | |
67 | /usr/share/sip | |
68 | end | |
69 | end | |
70 | end |