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