]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - sip/sip.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x into samba4
[people/amarx/ipfire-3.x.git] / sip / sip.nm
CommitLineData
13924a8c 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
13924a8c
MT
4###############################################################################
5
802ea3af 6name = sip
c8f41310 7version = %{major_ver}.%{minor_ver}.%{rev_ver}
802ea3af
MT
8release = 1
9epoch = 1
13924a8c 10
c8f41310 11major_ver = 4
47f1e602
AM
12minor_ver = 18
13rev_ver = 1
c8f41310 14
802ea3af
MT
15groups = Development/Tools
16url = http://www.riverbankcomputing.com/software/sip/intro
17license = GPLv2 or GPLv3
18summary = SIP - Python/C++ Bindings Generator.
13924a8c 19
802ea3af 20description
13924a8c
MT
21 SIP is a tool for generating bindings for C++ classes so that they can be \
22 accessed as normal Python classes. SIP takes many of its ideas from SWIG but, \
23 because it is specifically designed for C++ and Python, is able to generate \
24 tighter bindings. SIP is so called because it is a small SWIG.
802ea3af
MT
25end
26
47f1e602
AM
27source_dl = https://sourceforge.net/projects/pyqt/files/sip/sip-%{major_ver}.%{minor_ver}.%{rev_ver}/
28sources = %{thisapp}.tar.gz
29
802ea3af
MT
30
31build
32 requires
33 gcc-c++
34 python-devel
35 end
36
37 build
38 python configure.py \
39 CFLAGS+="%{CFLAGS}" \
40 CXXFLAGS+="%{CXXFLAGS}"
41
42 make %{PARALLELISMFLAGS}
43 end
44end
45
46packages
47 package %{name}
48 end
1f9bc2f0 49
802ea3af
MT
50 package %{name}-devel
51 template DEVEL
1f9bc2f0 52
802ea3af 53 files += /usr/bin/sip
1f9bc2f0 54
802ea3af
MT
55 requires = sip
56 end
1f9bc2f0
MT
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
802ea3af 61end