]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pyQt/pyQt.nm
Change file layout of the makefiles.
[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.1
8 release = 1
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 =
21 sources = PyQt-x11-gpl-%{version}.tar.gz
22
23 build
24 requires
25 gcc-c++
26 libXext-devel
27 python-devel
28 qt-devel
29 sip-devel
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 /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