]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libmpc/libmpc.nm
systemd: Remove udev rules for "predictable" network device names
[people/ms/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
b1c97f06
MT
7version = 1.0
8release = 1
9thisapp = mpc-%{version}
10
11compat_version = 0.9
7522e0a0 12
802ea3af
MT
13groups = System/Libraries
14url = http://www.multiprecision.org/
15license = LGPLv2.1+
16summary = Mpc is a C library for the arithmetic of complex numbers.
5ab091a5 17
802ea3af 18description
b1c97f06
MT
19 Mpc is a C library for the arithmetic of complex numbers with
20 arbitrarily high precision and correct rounding of the result.
7522e0a0 21 It is built upon and follows the same principles as Mpfr.
802ea3af
MT
22end
23
c01b4a93 24source_dl = http://www.multiprecision.org/mpc/download/
b1c97f06 25sources += mpc-%{compat_version}.tar.gz
802ea3af
MT
26
27build
28 requires
b1c97f06
MT
29 gmp-devel >= 4.3.2
30 mpfr-devel >= 2.4.2
802ea3af
MT
31 end
32
b1c97f06
MT
33 configure_options += \
34 --enable-shared \
35 --disable-static
36
37 build_cmds
38 cd %{DIR_SRC}/mpc-%{compat_version}
39 EGREP=egrep ./configure \
40 %{configure_options}
41
42 make %{PARALLELISMFLAGS}
43 end
802ea3af
MT
44
45 test
b1c97f06 46 export LD_LIBRARY_PATH=$(pwd)/src/.libs
802ea3af 47 make check
b1c97f06
MT
48
49 cd %{DIR_SRC}/mpc-%{compat_version}
50 export LD_LIBRARY_PATH=$(pwd)/src/.libs
51 make check
52 end
53
54 install_cmds
55 cd %{DIR_SRC}/mpc-%{compat_version}
56 install -m 644 src/.libs/libmpc.so.2.0.0 %{BUILDROOT}%{libdir}
57 ln -svf libmpc.so.2.0.0 %{BUILDROOT}%{libdir}/libmpc.so.2
802ea3af
MT
58 end
59end
60
61packages
62 package %{name}
c01b4a93 63
802ea3af
MT
64 package %{name}-devel
65 template DEVEL
66 end
1f9bc2f0 67
b1c97f06
MT
68 package %{name}-compat
69 summary = Compat libraries of %{thisapp}.
70
71 files
72 %{libdir}/libmpc.so.2*
73 end
74 end
75
1f9bc2f0
MT
76 package %{name}-debuginfo
77 template DEBUGINFO
78 end
802ea3af 79end