]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - compat-libmpc/compat-libmpc.nm
kernel: Drop ld.so placeholder files
[people/stevee/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
c5facb1d 8release = 2
132b6366
SS
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
c5facb1d 31 export LD_LIBRARY_PATH = %{DIR_APP}/src/.libs
132b6366
SS
32 export EGREP = egrep
33
34 configure_options += \
35 --disable-static \
36 --enable-shared
37
38 test
39 make check
40 end
41
42 install
43 # Only install libraries.
44 mkdir -pv %{BUILDROOT}%{libdir}
45 install -m 644 src/.libs/libmpc.so.2.0.0 %{BUILDROOT}%{libdir}
46 ln -svf libmpc.so.2.0.0 %{BUILDROOT}%{libdir}/libmpc.so.2
47 end
48end
49
50packages
51 package %{name}
52 provides
53 mpc = %{thisver}
54 end
55
56 obsoletes
57 mpc-compat
58 end
59
60 conflicts
61 mpc <= %{thisver}
62 end
63 end
64
65 package %{name}-debuginfo
66 template DEBUGINFO
67 end
68end