]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - mpfr/mpfr.nm
Add a -debuginfo for every package that is not noarch.
[people/arne_f/ipfire-3.x.git] / mpfr / mpfr.nm
CommitLineData
a91543e1 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
a91543e1
MT
4###############################################################################
5
802ea3af 6name = mpfr
4598ee07 7version = 3.1.0
802ea3af
MT
8release = 1
9
10groups = System/Libraries
11url = http://www.mpfr.org/
12license = LGPLv2+ and GPLv2+ and GFDL
13summary = A C library for multiple-precision floating-point computations.
14
15description
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
a91543e1 21 library.
802ea3af
MT
22end
23
4598ee07 24source_dl = http://mpfr.loria.fr/mpfr-%{version}/
802ea3af
MT
25
26build
27 requires
4598ee07 28 gmp-devel>=4.3.2
802ea3af
MT
29 end
30
31 configure_options += \
32 --enable-thread-safe
33
34 test
35 make check
36 end
4598ee07
MT
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
802ea3af
MT
42end
43
44packages
45 package %{name}
1f9bc2f0 46
802ea3af
MT
47 package %{name}-devel
48 template DEVEL
49 end
4598ee07
MT
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
1f9bc2f0
MT
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
802ea3af 64end