]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame_incremental - pyQt/pyQt.nm
Merge remote-tracking branch 'stevee/selinux-policy-utils'
[people/arne_f/ipfire-3.x.git] / pyQt / pyQt.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = pyQt
7version = 4.8.6
8release = 2
9epoch = 0
10
11groups = Development/Languages
12url = http://www.riverbankcomputing.com/software/pyqt/
13license = GPLv3 or GPLv2 with exceptions
14summary = Python bindings for Qt4.
15
16description
17 Python bindings for Qt4
18end
19
20source_dl = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/
21sources = PyQt-x11-gpl-%{version}.tar.gz
22
23build
24 requires
25 gcc-c++
26 libX11-devel
27 libXext-devel
28 python-devel
29 qt-devel
30 sip-devel>=4.13
31 end
32
33 DIR_APP = %{DIR_SRC}/PyQt-x11-gpl-%{version}
34
35 build
36 python configure.py \
37 --assume-shared \
38 --confirm-license \
39 --verbose
40
41 make %{PARALLELISMFLAGS}
42 end
43
44 make_install_targets += \
45 INSTALL_ROOT=%{BUILDROOT}
46
47 install_cmds
48 # Remove python3 port
49 rm -rfv %{BUILDROOT}/usr/lib/python*/site-packages/PyQt4/uic/port_v3
50 end
51end
52
53packages
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
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74end