]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - sip/sip.nm
Merge remote-tracking branch 'stevee/openvswitch-systemd'
[people/amarx/ipfire-3.x.git] / sip / sip.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = sip
7 version = %{major_ver}.%{minor_ver}.%{rev_ver}
8 release = 1
9 epoch = 1
10
11 major_ver = 4
12 minor_ver = 13
13 rev_ver = 2
14
15 groups = Development/Tools
16 url = http://www.riverbankcomputing.com/software/sip/intro
17 license = GPLv2 or GPLv3
18 summary = SIP - Python/C++ Bindings Generator.
19
20 description
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.
25 end
26
27 source_dl = http://www.riverbankcomputing.com/static/Downloads/sip%{major_ver}/
28
29 build
30 requires
31 gcc-c++
32 python-devel
33 end
34
35 build
36 python configure.py \
37 CFLAGS+="%{CFLAGS}" \
38 CXXFLAGS+="%{CXXFLAGS}"
39
40 make %{PARALLELISMFLAGS}
41 end
42 end
43
44 packages
45 package %{name}
46 end
47
48 package %{name}-devel
49 template DEVEL
50
51 files += /usr/bin/sip
52
53 requires = sip
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end