]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - compat-libmpc/compat-libmpc.nm
pdns: Update to version 3.4.7
[people/amarx/ipfire-3.x.git] / compat-libmpc / compat-libmpc.nm
CommitLineData
132b6366
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-libmpc
7version = 0.9
8release = 1
9
10thisapp = mpc-%{version}
11
12groups = System/Libraries
13url = http://www.multiprecision.org/
14license = LGPLv2.1+
15summary = Mpc is a C library for the arithmetic of complex numbers.
16
17description
18 Mpc is a C library for the arithmetic of complex numbers with
19 arbitrarily high precision and correct rounding of the result.
20 It is built upon and follows the same principles as Mpfr.
21end
22
23source_dl = http://www.multiprecision.org/mpc/download/
24
25build
26 requires
27 gmp-devel >= 4.3.2
28 mpfr-devel >= 2.4.2
29 end
30
31 export EGREP = egrep
32
33 configure_options += \
34 --disable-static \
35 --enable-shared
36
37 test
38 make check
39 end
40
41 install
42 # Only install libraries.
43 mkdir -pv %{BUILDROOT}%{libdir}
44 install -m 644 src/.libs/libmpc.so.2.0.0 %{BUILDROOT}%{libdir}
45 ln -svf libmpc.so.2.0.0 %{BUILDROOT}%{libdir}/libmpc.so.2
46 end
47end
48
49packages
50 package %{name}
51 provides
52 mpc = %{thisver}
53 end
54
55 obsoletes
56 mpc-compat
57 end
58
59 conflicts
60 mpc <= %{thisver}
61 end
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67end