]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pyQt/pyQt.nm
Merge remote-tracking branch 'stevee/selinux-policy-utils'
[people/arne_f/ipfire-3.x.git] / 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 6name = pyQt
f3a78370 7version = 4.8.6
cc99ea7f 8release = 2
802ea3af 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
f3a78370 20source_dl = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/
802ea3af 21sources = PyQt-x11-gpl-%{version}.tar.gz
8b8ccb55 22
802ea3af
MT
23build
24 requires
25 gcc-c++
2de87f7b 26 libX11-devel
802ea3af
MT
27 libXext-devel
28 python-devel
29 qt-devel
f3a78370 30 sip-devel>=4.13
802ea3af 31 end
8b8ccb55 32
802ea3af 33 DIR_APP = %{DIR_SRC}/PyQt-x11-gpl-%{version}
fe1cf40d 34
802ea3af
MT
35 build
36 python configure.py \
37 --assume-shared \
38 --confirm-license \
39 --verbose
fe1cf40d 40
802ea3af
MT
41 make %{PARALLELISMFLAGS}
42 end
fe1cf40d 43
802ea3af
MT
44 make_install_targets += \
45 INSTALL_ROOT=%{BUILDROOT}
fe1cf40d 46
802ea3af
MT
47 install_cmds
48 # Remove python3 port
49 rm -rfv %{BUILDROOT}/usr/lib/python*/site-packages/PyQt4/uic/port_v3
50 end
51end
aa3b09af 52
802ea3af
MT
53packages
54 package %{name}
55 requires
56 sip
57 end
58 end
1f9bc2f0 59
802ea3af
MT
60 package %{name}-devel
61 template DEVEL
1f9bc2f0 62
802ea3af
MT
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
1f9bc2f0
MT
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
802ea3af 74end