]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - mpfr/mpfr.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / mpfr / mpfr.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = mpfr
7 version = 3.1.0
8 release = 1
9
10 groups = System/Libraries
11 url = http://www.mpfr.org/
12 license = LGPLv2+ and GPLv2+ and GFDL
13 summary = A C library for multiple-precision floating-point computations.
14
15 description
16 The MPFR library is a C library for multiple-precision floating-point
17 computations with correct rounding. The MPFR is efficient and
18 also has a well-defined semantics. It copies the good ideas from the
19 ANSI/IEEE-754 standard for double-precision floating-point arithmetic
20 (53-bit mantissa). MPFR is based on the GMP multiple-precision
21 library.
22 end
23
24 source_dl = http://mpfr.loria.fr/mpfr-%{version}/
25
26 build
27 requires
28 gmp-devel>=4.3.2
29 end
30
31 configure_options += \
32 --enable-thread-safe
33
34 test
35 make check
36 end
37
38 install_cmds
39 ln -svf libmpfr.so.4 %{BUILDROOT}/usr/lib/libmpfr.so.1
40 ln -svf libmpfr.so.4.1.0 %{BUILDROOT}/usr/lib/libmpfr.so.1.2.2
41 end
42 end
43
44 packages
45 package %{name}
46
47 package %{name}-devel
48 template DEVEL
49 end
50
51 package %{name}-compat
52 summary = Compat libraries of %{thisapp}.
53
54 provides = libmpfr.so.1
55
56 files
57 /usr/lib/libmpfr.so.1*
58 end
59 end
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64 end