]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pyQt/pyQt.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/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.8.6
8 release = 2
9 epoch = 0
10
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.
15
16 description
17 Python bindings for Qt4
18 end
19
20 source_dl = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/
21 sources = PyQt-x11-gpl-%{version}.tar.gz
22
23 build
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
51 end
52
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
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74 end