]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - compat-mpfr/compat-mpfr.nm
libuecc: New package
[people/ms/ipfire-3.x.git] / compat-mpfr / compat-mpfr.nm
CommitLineData
ee1f8b9c
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-mpfr
7version = 2.4.2
8release = 1
9
10thisapp = mpfr-%{version}
11
12groups = System/Libraries
13url = http://www.mpfr.org/
14license = LGPLv2+ and GPLv2+ and GFDL
15summary = A C library for multiple-precision floating-point computations.
16
17description
18 The MPFR library is a C library for multiple-precision floating-point
19 computations with correct rounding. The MPFR is efficient and
20 also has a well-defined semantics. It copies the good ideas from the
21 ANSI/IEEE-754 standard for double-precision floating-point arithmetic
22 (53-bit mantissa). MPFR is based on the GMP multiple-precision
23 library.
24end
25
26source_dl = http://ftp.gnu.org/gnu/mpfr/
27
28build
29 requires
30 gmp-devel >= 4.3.2
31 gmp-devel < 6.0.0
32 end
33
34 configure_options += \
35 --enable-thread-safe \
36 --disable-assert
37
38 test
39 export LD_LIBRARY_PATH=$(pwd)/.libs
40 make check
41 end
42
43 install
44 # Only install libraries.
45 mkdir -pv %{BUILDROOT}%{libdir}
46 install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}
47 ln -svf libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}/libmpfr.so.1
48 end
49end
50
51packages
52 package %{name}
53 provides
54 mpfr = %{thisver}
55 end
56
57 obsoletes
58 mpfr-compat
59 end
60
61 conflicts
62 mpfr <= %{thisver}
63 end
64 end
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
69end