]>
Commit | Line | Data |
---|---|---|
7522e0a0 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
7522e0a0 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libmpc |
3712f5e1 MT |
7 | version = 1.0.3 |
8 | release = 1 | |
b1c97f06 MT |
9 | thisapp = mpc-%{version} |
10 | ||
802ea3af MT |
11 | groups = System/Libraries |
12 | url = http://www.multiprecision.org/ | |
13 | license = LGPLv2.1+ | |
14 | summary = Mpc is a C library for the arithmetic of complex numbers. | |
5ab091a5 | 15 | |
802ea3af | 16 | description |
b1c97f06 MT |
17 | Mpc is a C library for the arithmetic of complex numbers with |
18 | arbitrarily high precision and correct rounding of the result. | |
7522e0a0 | 19 | It is built upon and follows the same principles as Mpfr. |
802ea3af MT |
20 | end |
21 | ||
c01b4a93 | 22 | source_dl = http://www.multiprecision.org/mpc/download/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
b1c97f06 MT |
26 | gmp-devel >= 4.3.2 |
27 | mpfr-devel >= 2.4.2 | |
802ea3af MT |
28 | end |
29 | ||
b1c97f06 MT |
30 | configure_options += \ |
31 | --enable-shared \ | |
32 | --disable-static | |
33 | ||
802ea3af | 34 | test |
3712f5e1 | 35 | export LD_LIBRARY_PATH=$(pwd)/src/.libs |
b1c97f06 MT |
36 | make check |
37 | end | |
802ea3af MT |
38 | end |
39 | ||
40 | packages | |
41 | package %{name} | |
c01b4a93 | 42 | |
802ea3af MT |
43 | package %{name}-devel |
44 | template DEVEL | |
45 | end | |
1f9bc2f0 MT |
46 | |
47 | package %{name}-debuginfo | |
48 | template DEBUGINFO | |
49 | end | |
802ea3af | 50 | end |