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