]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - compat-libmpc/compat-libmpc.nm
pyliblzma: Drop package
[people/amarx/ipfire-3.x.git] / compat-libmpc / compat-libmpc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-libmpc
7 version = 0.9
8 release = 1
9
10 thisapp = mpc-%{version}
11
12 groups = System/Libraries
13 url = http://www.multiprecision.org/
14 license = LGPLv2.1+
15 summary = Mpc is a C library for the arithmetic of complex numbers.
16
17 description
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.
21 end
22
23 source_dl = http://www.multiprecision.org/mpc/download/
24
25 build
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
47 end
48
49 packages
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
67 end