]> git.ipfire.org Git - ipfire-3.x.git/blame - libmpc/libmpc.nm
libmpc: Update to 1.1.0
[ipfire-3.x.git] / libmpc / libmpc.nm
CommitLineData
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 6name = libmpc
26fb56b6 7version = 1.1.0
3712f5e1 8release = 1
b1c97f06
MT
9thisapp = mpc-%{version}
10
802ea3af
MT
11groups = System/Libraries
12url = http://www.multiprecision.org/
13license = LGPLv2.1+
14summary = Mpc is a C library for the arithmetic of complex numbers.
5ab091a5 15
802ea3af 16description
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
20end
21
26fb56b6 22source_dl = https://ftp.gnu.org/gnu/mpc/
802ea3af
MT
23
24build
25 requires
26fb56b6
MT
26 gmp-devel >= 5.0.0
27 mpfr-devel >= 3.0.0
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
38end
39
40packages
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 50end