]>
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} |
b48cd609 | 8 | release = 2 |
802ea3af | 9 | epoch = 1 |
13924a8c | 10 | |
c8f41310 | 11 | major_ver = 4 |
47f1e602 AM |
12 | minor_ver = 18 |
13 | rev_ver = 1 | |
c8f41310 | 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 | ||
47f1e602 AM |
27 | source_dl = https://sourceforge.net/projects/pyqt/files/sip/sip-%{major_ver}.%{minor_ver}.%{rev_ver}/ |
28 | sources = %{thisapp}.tar.gz | |
29 | ||
802ea3af MT |
30 | |
31 | build | |
32 | requires | |
33 | gcc-c++ | |
34 | python-devel | |
35 | end | |
36 | ||
37 | build | |
38 | python configure.py \ | |
39 | CFLAGS+="%{CFLAGS}" \ | |
b48cd609 MT |
40 | CXXFLAGS+="%{CXXFLAGS}" \ |
41 | LFLAGS+="%{LDFLAGS}" | |
802ea3af MT |
42 | |
43 | make %{PARALLELISMFLAGS} | |
44 | end | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
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 | 61 | end |