]>
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 MT |
6 | name = pyQt |
7 | version = 4.8.1 | |
8 | release = 1 | |
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 | |
802ea3af MT |
20 | source_dl = |
21 | sources = PyQt-x11-gpl-%{version}.tar.gz | |
8b8ccb55 | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | gcc-c++ | |
26 | libXext-devel | |
27 | python-devel | |
28 | qt-devel | |
29 | sip-devel | |
30 | end | |
8b8ccb55 | 31 | |
802ea3af | 32 | DIR_APP = %{DIR_SRC}/PyQt-x11-gpl-%{version} |
fe1cf40d | 33 | |
802ea3af MT |
34 | build |
35 | python configure.py \ | |
36 | --assume-shared \ | |
37 | --confirm-license \ | |
38 | --verbose | |
fe1cf40d | 39 | |
802ea3af MT |
40 | make %{PARALLELISMFLAGS} |
41 | end | |
fe1cf40d | 42 | |
802ea3af MT |
43 | make_install_targets += \ |
44 | INSTALL_ROOT=%{BUILDROOT} | |
fe1cf40d | 45 | |
802ea3af MT |
46 | install_cmds |
47 | # Remove python3 port | |
48 | rm -rfv %{BUILDROOT}/usr/lib/python*/site-packages/PyQt4/uic/port_v3 | |
49 | end | |
50 | end | |
aa3b09af | 51 | |
802ea3af MT |
52 | packages |
53 | package %{name} | |
54 | requires | |
55 | sip | |
56 | end | |
57 | end | |
58 | ||
59 | package %{name}-devel | |
60 | template DEVEL | |
61 | ||
62 | files | |
63 | /usr/bin | |
64 | /usr/lib/python*/site-packages/PyQt4/pyqtconfig* | |
65 | /usr/lib/python*/site-packages/PyQt4/uic/pyuic.py* | |
66 | /usr/share/sip | |
67 | end | |
68 | end | |
69 | end |