]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = sip |
c8f41310 | 7 | version = %{major_ver}.%{minor_ver}.%{rev_ver} |
802ea3af MT |
8 | release = 1 |
9 | epoch = 1 | |
13924a8c | 10 | |
c8f41310 SS |
11 | major_ver = 4 |
12 | minor_ver = 13 | |
13 | rev_ver = 2 | |
14 | ||
802ea3af MT |
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. | |
13924a8c | 19 | |
802ea3af | 20 | description |
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 |
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 | |
1f9bc2f0 | 47 | |
802ea3af MT |
48 | package %{name}-devel |
49 | template DEVEL | |
1f9bc2f0 | 50 | |
802ea3af | 51 | files += /usr/bin/sip |
1f9bc2f0 | 52 | |
802ea3af MT |
53 | requires = sip |
54 | end | |
1f9bc2f0 MT |
55 | |
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
802ea3af | 59 | end |