]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/pyQt/pyQt.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / pyQt / pyQt.nm
CommitLineData
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
6name = pyQt
7version = 4.8.1
8release = 1
9epoch = 0
fe1cf40d 10
802ea3af
MT
11groups = Development/Languages
12url = http://www.riverbankcomputing.com/software/pyqt/
13license = GPLv3 or GPLv2 with exceptions
14summary = Python bindings for Qt4.
fe1cf40d 15
802ea3af 16description
fe1cf40d 17 Python bindings for Qt4
802ea3af 18end
fe1cf40d 19
802ea3af
MT
20source_dl =
21sources = PyQt-x11-gpl-%{version}.tar.gz
8b8ccb55 22
802ea3af
MT
23build
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
50end
aa3b09af 51
802ea3af
MT
52packages
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
69end